Virtual Windows XP
From Wiki.cyring.fr
(Difference between revisions)
(Page créée avec « <syntaxhighlight lang="bash" line start="1"> qemu-img convert -f vpc -O raw "Virtual Windows XP.vhd" v2WinXP.img mount -o loop,offset=32256 v2WinXP.img /mnt mkdir ~/tmp/co... ») |
|||
Line 21: | Line 21: | ||
ed Service | ed Service | ||
atapi | atapi | ||
+ | cd .. | ||
+ | nk secondary_ide_channel | ||
+ | cd secondary_ide_channel | ||
+ | nv 1 ClassGUID | ||
+ | ed ClassGUID | ||
+ | {4D36E96A-E325-11CE-BFC1-08002BE10318} | ||
+ | nv 1 Service | ||
+ | ed Service | ||
+ | atapi | ||
+ | cd .. | ||
+ | q | ||
+ | y | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 09:15, 3 November 2012
qemu-img convert -f vpc -O raw "Virtual Windows XP.vhd" v2WinXP.img
mount -o loop,offset=32256 v2WinXP.img /mnt
mkdir ~/tmp/config
cp /mnt/WINDOWS/system32/config/* ~/tmp/config/
chntpw -e ~/tmp/config/system
nk CurrentControlSet cd CurrentControlSet nk Control cd Control nk CriticalDeviceDatabase cd CriticalDeviceDatabase nk primary_ide_channel cd primary_ide_channel nv 1 ClassGUID ed ClassGUID {4D36E96A-E325-11CE-BFC1-08002BE10318} nv 1 Service ed Service atapi cd .. nk secondary_ide_channel cd secondary_ide_channel nv 1 ClassGUID ed ClassGUID {4D36E96A-E325-11CE-BFC1-08002BE10318} nv 1 Service ed Service atapi cd .. q y