Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

VHD_set_parent.bat

a guest Sep 6th, 2016 85 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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