手机
当前位置:查字典教程网 >软件教程 >其他软件工具 >QEMU/KVM查看虚拟机系统注册表的方法
QEMU/KVM查看虚拟机系统注册表的方法
摘要:libguestfs-tools套件提供了一个基于QEMU的磁盘映像去查找这个磁盘映像中安装的Windows操作系统的具体注册表信息,甚至是...

libguestfs-tools套件提供了一个基于QEMU的磁盘映像去查找这个磁盘映像中安装的Windows操作系统的具体注册表信息,甚至是进行改动(当然不安全,目前可能不成熟,可能损坏映像文件)。

这个套件目前我只在centos和redhat的虚拟化环境中找到了,具体安装方法很简单:

yum install libguestfs libguestfs-tools libguestfs-winsupport

安装完成之后,使用virt-win-reg既可以对已经安装操作系统的虚拟机映像文件进行注册表的读取操作,不过要注意的是目前只推荐在虚拟机停止状态下获取注册表的信息,如果在启动模式下获取注册表或者修改注册表信息都可能导致虚拟机映像文件损坏。

具体使用方法如下:

virt-win-reg win9-clone 'HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionUninstall'

其中win9-clone是虚拟机的名字,可以通过libvirt的virsh list –all命令查询得出,不过一定确保虚拟机已经是停止的状态,否则可能造成磁盘损坏。

上面的命令最终执行的结果如下:

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall]</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallAddressBook]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallBranding]

"QuietUninstallString"=hex(1):52,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,20,00,49,00,65,00,64,00,6b,00,43,00,53,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,42,00,72,00,61,00,6e,00,64,00,43,00,6c,00,65,00,61,00,6e,00,49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,53,00,74,00,75,00,62,00,73,00,00,00

"RequiresIESysFile"=hex(1):31,00,30,00,30,00,2e,00,30,00,00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallConnection Manager]

"SystemComponent"=dword:00000001</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallDXM_Runtime]</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallDirectAnimation]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallDirectDrawEx]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallFontcore]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallICW]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallIE40]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallIE4Data]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallIE5BAKEX]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallIEData]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallMPlayer2]</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallMobileOptionPack]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallNetMeeting]

"RequiresIESysFile"=hex(1):34,00,2e,00,37,00,31,00,00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallOutlookExpress]

@=hex(1):00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallPCHealth]

"QuietUninstallString"=hex(1):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,73,00,65,00,74,00,75,00,70,00,61,00,70,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,48,00,69,00,6e,00,66,00,53,00,65,00,63,00,74,00,69,00,6f,00,6e,00,20,00,44,00,65,00,66,00,61,00,75,00,6c,00,74,00,55,00,6e,00,69,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,20,00,31,00,33,00,32,00,20,00,43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,49,00,4e,00,46,00,5c,00,50,00,43,00,48,00,65,00,61,00,6c,00,74,00,68,00,2e,00,69,00,6e,00,66,00,00,00

"UninstallString"=hex(1):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,73,00,65,00,74,00,75,00,70,00,61,00,70,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,48,00,69,00,6e,00,66,00,53,00,65,00,63,00,74,00,69,00,6f,00,6e,00,20,00,44,00,65,00,66,00,61,00,75,00,6c,00,74,00,55,00,6e,00,69,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,20,00,31,00,33,00,32,00,20,00,43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,49,00,4e,00,46,00,5c,00,50,00,43,00,48,00,65,00,61,00,6c,00,74,00,68,00,2e,00,69,00,6e,00,66,00,00,00</p> <p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallSchedulingAgent]

@=hex(1):00,00

该命令的其他用法可以使用man virt-win-reg获取相关帮助信息,用法还是很多的哦

【QEMU/KVM查看虚拟机系统注册表的方法】相关文章:

有道云笔记之表格使用方法

火车头采集列表页缩略图图文方法

搜狗手机输入法图文使用方法介绍

UG怎么建立基准平面? UG设计基准平面的方法

itunes提示发生未知错误50的原因及解决方法

ug怎么画锥形螺纹? ug锥形螺纹模型的制作方法

Unity3D脚本中文字符乱码的解决方案

Ninedns主机管理系统在Win2003服务器上的图文安装方法

同花顺 模拟炒股软件的使用方法

电脑没有开启VT海马玩模拟器vt检测失败的解决方法

精品推荐
分类导航