Blog Code Forum

Virtual Windows XP

From Wiki.cyring.fr

Revision as of 10:21, 3 November 2012 by Cyril (Talk | contribs)
Jump to: navigation, search
  1. qemu-img convert -f vpc -O raw "Virtual Windows XP.vhd" v2WinXP.img
  2. sudo mount -o loop,offset=32256 v2WinXP.img /mnt
  3. cp ~/tmp/WXP/X86/VIOSER.SYS /mnt/WINDOWS/system32/drivers/
  4. mkdir ~/tmp/config
  5. cp /mnt/WINDOWS/system32/config/* ~/tmp/config/
  6. chntpw -e ~/tmp/config/system

nk CurrentControlSet
cd CurrentControlSet
nk Control
cd Control
nk pci#ven_1af4&dev_1001&subsys_00000000
nk pci#ven_1af4&dev_1001&subsys_00020000
nk pci#ven_1af4&dev_1001&subsys_00021af4
 
cd pci#ven_1af4&dev_1001&subsys_00000000
nv 1 ClassGUID
ed ClassGUID
{4D36E97B-E325-11CE-BFC1-08002BE10318}
nv 1 Service
ed Service
viostor
cd ..
 
cd pci#ven_1af4&dev_1001&subsys_00020000
nv 1 ClassGUID
ed ClassGUID
{4D36E97B-E325-11CE-BFC1-08002BE10318}
nv 1 Service
ed Service
viostor
cd ..
 
cd pci#ven_1af4&dev_1001&subsys_00021af4
nv 1 ClassGUID
ed ClassGUID
{4D36E97B-E325-11CE-BFC1-08002BE10318}
nv 1 Service
ed Service
viostor
cd ..
cd ..
cd ..
nk Services
cd Services
nk viostor
cd viostor
 
nv 4 Type
ed Type
00000001
 
nv 4 Start
ed Start
00000000
 
nv 1 Group
ed Group
SCSI miniport
 
nv 4 ErrorControl
ed ErrorControl
00000001
 
nv 1 ImagePath
ed ImagePath
system32\drivers\viostor.sys
 
nv 4 Tag
ed Tag
00000021
 
 
nk Parameters
nk Enum
 
cd Parameters
nv 4 BusType
ed BusType
00000001
 
q
y
  1. cp ~/tmp/config/system /mnt/WINDOWS/system32/config/
  2. sudo umount /mnt
Personal tools