无忧启动论坛

标题: [求助]win 7 PE中如何添加snapman.sys驱动? [打印本页]

作者: fxyq    时间: 2010-10-22 11:58
标题: [求助]win 7 PE中如何添加snapman.sys驱动?
win 7 PE中如何添加snapman.sys驱动,以支持Acronis增量备份还原工具?
我一直搞不定,请大大们指点一二……
谢谢!
作者: 玄天    时间: 2010-10-22 21:54

  1. Windows Registry Editor Version 5.00

  2. [HKEY_LOCAL_MACHINE\00-SYSTEM]

  3. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001]

  4. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\services]

  5. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\services\snapman]
  6. "ErrorControl"=dword:00000001
  7. "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  8.   52,00,49,00,56,00,45,00,52,00,53,00,5c,00,73,00,6e,00,61,00,70,00,6d,00,61,\
  9.   00,6e,00,2e,00,73,00,79,00,73,00,00,00
  10. "Start"=dword:00000000
  11. "Type"=dword:00000001
  12. "DisplayName"="Acronis Snapshots Manager"

  13. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\Control]

  14. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\Control\Class]

  15. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}]
  16. "Class"="DiskDrive"
  17. "ClassDesc"="@%SystemRoot%\\System32\\StorProp.dll,-17000"
  18. @="@%SystemRoot%\\System32\\StorProp.dll,-17000"
  19. "IconPath"=hex(7):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  20.   74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,\
  21.   00,6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,\
  22.   2d,00,33,00,32,00,00,00,00,00
  23. "Installer32"="StorProp.Dll,DiskClassInstaller"
  24. "NoInstallClass"="1"
  25. "SilentInstall"="1"
  26. "UpperFilters"=hex(7):50,00,61,00,72,00,74,00,4d,00,67,00,72,00,00,00,73,00,6e,\
  27.   00,61,00,70,00,6d,00,61,00,6e,00,00,00,00,00

  28. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties]
  29. "DeviceType"=dword:00000007
  30. "DeviceCharacteristics"=dword:00000100

  31. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}]
  32. "Class"="Volume"
  33. "ClassDesc"="@%SystemRoot%\\System32\\SysClass.Dll,-3007"
  34. @="@%SystemRoot%\\System32\\SysClass.Dll,-3007"
  35. "IconPath"=hex(7):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  36.   74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,5c,\
  37.   00,69,00,6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,\
  38.   2c,00,2d,00,33,00,32,00,00,00,00,00
  39. "Installer32"="SysClass.dll,VolumeClassInstaller"
  40. "EnumPropPages32"="StorProp.Dll,VolumePropPageProvider"
  41. "SilentInstall"="1"
  42. "NoInstallClass"="1"
  43. "LowerFilters"=hex(7):66,00,76,00,65,00,76,00,6f,00,6c,00,00,00,00,00
  44. "UpperFilters"=hex(7):73,00,6e,00,61,00,70,00,6d,00,61,00,6e,00,00,00,00,00

  45. [HKEY_LOCAL_MACHINE\00-SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}\Properties]
复制代码

明白了?
作者: 6669913    时间: 2010-10-24 09:55
玄天老大,这些注册表项你是怎么得到的,比较注册表???
作者: fxyq    时间: 2010-10-24 21:58
谢谢玄天老大!这两天外出,反馈晚了……
现在测试了下:
将snapman.sys复制到system32\drivers目录,导入上述注册表,仍不行……



好像是还要启动相应服务才行吧?
作者: 玄天    时间: 2010-10-24 22:54
原帖由 6669913 于 2010-10-24 09:55 发表
玄天老大,这些注册表项你是怎么得到的,比较注册表???

确实如此~~~~~~~~~~~~~~~~~~~~~~~~~~
作者: 玄天    时间: 2010-10-24 22:56
标题: 回复 #4 fxyq 的帖子
System32 文件夹还需要:
ntmsapia.dll
作者: spadek    时间: 2010-10-25 08:43
这个照着PE版插件做就行了。inf转换为REG导入。

[SetupReg.AddReg]
0x7, "ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}", "UpperFilters", "PartMgr", "snapman"
0x7, "ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}", "UpperFilters", "snapman"
0x4, "ControlSet001\Services\snapman", "ErrorControl", 1
0x1, "ControlSet001\Services\snapman", "ImagePath", "system32\DRIVERS\snapman.sys"
0x4, "ControlSet001\Services\snapman", "Start", 0
0x4, "ControlSet001\Services\snapman", "Type", 1
作者: fxyq    时间: 2010-10-25 20:29
原帖由 玄天 于 2010-10-24 22:56 发表
System32 文件夹还需要:
ntmsapia.dll


请将ntmsapia.dll传一份,谢谢!
作者: spadek    时间: 2010-10-26 08:39
标题: 回复 #8 fxyq 的帖子
MS不需要,水老的WIN7没有,也可以启动snapman服务。
作者: fxyq    时间: 2010-10-26 08:51
原帖由 info 于 2010-10-25 08:43 发表
这个照着PE版插件做就行了。inf转换为REG导入。

[SetupReg.AddReg]
0x7, "ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}", "UpperFilters", "PartMgr", "snapman"
0x7, "ControlSe ...

请info老大帮我将inf转换为REG一下,谢谢!我找的转换工具转换时出现错误提示,不能全部转换……
作者: spadek    时间: 2010-10-26 10:44
是有某些项不能转换的,自己添加就行啦。

附件是ABR的REG。

发现转换的有错误,最好核对下。

abr.rar (5.36 KB, 下载次数: 110)

[ 本帖最后由 info 于 2010-10-26 12:10 编辑 ]
作者: fxyq    时间: 2010-10-26 11:56
原帖由 info 于 2010-10-26 10:44 发表
是有某些项不能转换的,自己添加就行啦。

附件是ABR的REG。

102976

谢谢热心的老大……
作者: zhczf    时间: 2013-4-8 18:32
过来了解一下了, 多谢各位的分享经验
作者: weiwxsir    时间: 2013-5-14 10:57
过来学习一下




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3