daily pastebin goal
60%
SHARE
TWEET

VHD_set_parent.bat

a guest Sep 6th, 2016 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo VHD Parent Resetter created by Wolfgang Unger and modified by ZiroKyl http://9b.asoiu.com/?p=2793
  2.  
  3. REM #########################
  4. REM Variables
  5. REM #########################
  6. set VHD_Drive=%~d0
  7. set VHD_Parent=VHD\PROJECTOR_PC.VHD
  8. set VHD_ParentGUID={e3ccf963-9152-11e2-ad48-829adb767c32}
  9. REM #########################
  10.  
  11. bcdedit /default %VHD_ParentGUID%
  12.  
  13. bcdedit /set %VHD_ParentGUID% device   vhd=[%VHD_Drive%]\%VHD_Parent%
  14. bcdedit /set %VHD_ParentGUID% osdevice vhd=[%VHD_Drive%]\%VHD_Parent%
  15.  
  16. echo Done.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top