备份注册表文件(键和子键) [英] Back Up Registry files(keys and subkeys)

查看:99
本文介绍了备份注册表文件(键和子键)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想拍摄图片或从reg文件备份请帮助

谢谢

解决方案

这是一篇关于创建备份的文章:将注册表部分导入/导出为XML [ ^ ]


从看起来有些P /经由RegSaveKeyEx和RegRestoreKey调用是必需的。



RegSaveKeyEx就是保存所述文档的追寻指定的键及其所有子键和值到指定格式的注册表文件,其格式可能是标准格式最新格式未压缩的格式

http://msdn.microsoft.com/en-us/library/ms724917(v = vs.85).aspx [ ^ ]



作为替代方案,您可以通过System.Diagnostics.Process类使用reg.exe。



http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true [ ^ ]



Alan


i want to take image or make backup from reg files please help
thanks

解决方案

Here is an article on creating a backup: Import/Export registry sections as XML[^]


From a persual of the documentation it looks like some P/Invoking via RegSaveKeyEx and RegRestoreKey will be required.

RegSaveKeyEx is said to Save the specified key and all of its subkeys and values to a registry file, in the specified format where the format may be "the standard format", "the latest format" or "the not compressed format".
http://msdn.microsoft.com/en-us/library/ms724917(v=vs.85).aspx[^]

As an alternative you could use reg.exe via the System.Diagnostics.Process class.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true[^]

Alan


这篇关于备份注册表文件(键和子键)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆