[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
  1. @echo off
  2. cd /d "%~dp0"
  3. >tmp.reg (
  4.     for /f "skip=18 delims=" %%L in (%~snx0) do (
  5.         echo;%%L
  6.     )
  7. )
  8. echo on
  9. reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl /f
  10. regedit /s tmp.reg
  11. reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl /v 1 /t reg_sz /d "Microsoft.Fonts" /f
  12. del tmp.reg
  13. REM gpupdate /force
  14. exit
  15. Windows Registry Editor Version 5.00
  16. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
  17. "DisallowCpl"=dword:00000001
  18. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl]
  19. "1"="Microsoft.Fonts"
复制代码

TOP

返回列表