复制代码
- @reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDrives /t reg_dword /d 16
- gpupdate /force
复制代码
- @echo off
- reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDrives /f
- gpupdate /force
复制代码
- echo Y|@reg add
- "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v
- NoDrives /t reg_dword /d 123456
- gpupdate /force
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |