reg文件:- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
- "AllowProtectedRenames"=dword:00000001
- "PendingFileRenameOperations"=hex(7):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,\
- 73,00,79,00,73,00,64,00,6d,00,2e,00,63,00,70,00,6c,00,00,00,21,00,5c,00,3f,\
- 00,3f,00,5c,00,43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,\
- 5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,79,00,73,\
- 00,64,00,6d,00,2e,00,63,00,70,00,6c,00,00,00,00,00
复制代码 导入后:
[attach]7374[/attach]
直接复制出来:
\??\C:\sysdm.cpl
!\??\C:\WINDOWS\system32\sysdm.cpl
我自己写的:
Reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v AllowProtectedRenames /t REG_DWORD /d 00000001 /f
Reg add "HKLM\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /t REG_MULTI_SZ /d "C:\sysdm.cpl!\??\C:\WINDOWS\system32\sysdm.cpl" /f
第二条说我参数错误。不知道该如何写才对呢。 |