|
原帖由 uiojkmm 于 2011-1-21 03:58 发表 
求楼主的批处理,我也想用到我的封装系统里
:: 清除开始菜单里的常用程序列表(由slore大大提供)
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /f
:: 给系统盘打封条(本人在注册表里一条一条找出来的)
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders" /v "shell:SystemDriveRootFolder" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders" /v "shell:Windows" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders" /v "shell:System" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders" /v "shell:ProgramFiles" /t REG_DWORD /d 1 /f
pause
=======================
后来注意到了,系统封装以后会自动清除常用列表及最近的文档记录,
至于运行记录,倒没注意到系统会不会自动清理 |
|