- @echo off
- set "regpath=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
- reg add "%regpath%" /v DisallowCpl /t REG_DWORD /d 1 /f
- reg add "%regpath%\DisallowCpl" /v 1 /t REG_SZ /d "Microsoft.Fonts" /f
- gpupdate /force
- pause
- exit
复制代码
|