change vista/win7 boot drive

bootsect.exe /nt60 all /force
mbrfix.exe /drive 0 fixmbr /vista /yes
xcopy %systemroot%\Boot\PCAT\* D:\Boot\ /K /Y /R /H /E /I
move D:\Boot\bootmgr D:\bootmgr
bcdedit /set {bootmgr} device boot
bcdedit /export D:\Boot\BCD
exit