|
回复 #11 lxl1638 的帖子
可以的,下面是 winbuilder 上的一段脚本,加载 software 配置单元,删除下面相应的键值,如要显示关机按钮,删除 noclose 值
#________/ Explorer Policies \_______________________________
#RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","","0"
// Removes the Shutdown menu from the Start menu.
RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoClose","1"
// Removes the Documents menu from the Start menu.
RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoRecentDocsMenu","1"
RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoRecentDocsHistory","1"
// Removes the System Panel menu from the Start menu.
#RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSetFolders","1"
#RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSetTaskbar","1"
// Removes Help from the Start menu
RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSMHelp","1"
// NoShellSearchButton
RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoFind","1"
//ClassicShell
RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","ClassicShell","1"
//no controlpanel
#RegWrite,"HKLM",0x4,"WB-software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoControlPanel","1"
[ 本帖最后由 lqcai 于 2009-7-5 12:42 编辑 ] |
|