|
原帖由 lxl1638 于 2009-7-10 18:07 发表
... 整个SYSTEM32\Config\SystemUserProFile目录有可能可以精简删除。 ...
我不认为精简删除整个SYSTEM32\Config\SystemUserProFile目录是个好主意,因为这样会跟主流标准脱轨。反正它占很小的体积,应该予以保留,你只需要决定是否用它作为UserShellFolder。另外,设定UserShellFolder也可以在此进行:HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\UserShellFolder
原帖由 neo4026 于 2009-7-10 19:56 发表
向老大请教两个问题:
1.桌面上如何加入IE图标?
2.桌面上的"我的文档"如何删除?(用PE 1.x的方法失灵)
请指点
#________/ Remove Desktop Icons \___________________________
#XP GUIDS:
#Network Places: {208D2C60-3AEA-1069-A2D7-08002B30309D}
#My Computer: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
#My Documents: {450D8FBA-AD25-11D0-98A8-0800361B1103}
#Internet Explorer: {871C5380-42A0-1069-A2EA-08002B30309D}
#Recycle Bin: {645FF040-5081-101B-9F08-00AA002F954E}
#VISTA GUIDS
#Network: {F02C1A0D-BE21-4350-88B0-7367FC96EF3C}
#USER PROFILE: {59031a47-3f72-44a7-89c5-5595fe6b30ee}
#Control Panel: {5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}
#Homegroup icon: {B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}
#Libraries: {031E4825-7B94-4dc3-B131-E946B44C8DD5}
#Public Folder: {4336a54d-038b-4685-ab02-99bb52d3fb8b}
#________/ Remove Desktop Icons \___________________________
// Remove User Profile in both
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{59031a47-3f72-44a7-89c5-5595fe6b30ee}","1"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{59031a47-3f72-44a7-89c5-5595fe6b30ee}","1"
// Remove UserLibraries in both
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{031E4825-7B94-4dc3-B131-E946B44C8DD5}","1"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{031E4825-7B94-4dc3-B131-E946B44C8DD5}","1"
// Remove Other Users folder in both
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}","1"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}","1"
// Network stays on in both
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}","0"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}","0"
# Remove Control Panel in win6
If,NotExistDir,"%BootSRC%\Windows\System32\DriverStore\FileRepository\adpahci.inf_x86_neutral_b082e95ec9f8c3f9",RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}","1"
If,NotExistDir,"%BootSRC%\Windows\System32\DriverStore\FileRepository\adpahci.inf_x86_neutral_b082e95ec9f8c3f9",RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}","1"
// Computer stays on in both
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{20D04FE0-3AEA-1069-A2D8-08002B30309D}","0"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{20D04FE0-3AEA-1069-A2D8-08002B30309D}","0"
// Remove Internet Explorer in both
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{871C5380-42A0-1069-A2EA-08002B30309D}","1"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{871C5380-42A0-1069-A2EA-08002B30309D}","1"
// Enable Trash in win7pe
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoRecycleFiles","0"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{645FF040-5081-101B-9F08-00AA002F954E}","0"
RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{645FF040-5081-101B-9F08-00AA002F954E}","0"
// Disable Trash in win6pe
If,NotExistDir,"%BootSRC%\Windows\System32\DriverStore\FileRepository\adpahci.inf_x86_neutral_b082e95ec9f8c3f9",RegWrite,RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoRecycleFiles","1"
If,NotExistDir,"%BootSRC%\Windows\System32\DriverStore\FileRepository\adpahci.inf_x86_neutral_b082e95ec9f8c3f9",RegWrite,RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{645FF040-5081-101B-9F08-00AA002F954E}","1"
If,NotExistDir,"%BootSRC%\Windows\System32\DriverStore\FileRepository\adpahci.inf_x86_neutral_b082e95ec9f8c3f9",RegWrite,RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{645FF040-5081-101B-9F08-00AA002F954E}","1"
#
# Start Menu Style for Win6 only (NoSimpleStartMenu=1 -> ClassicStartMenu; =0 -> NewStartPanel)
If,%pScrollBox9%,Equal,NewStartPanel,RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSimpleStartMenu","0"
If,%pScrollBox9%,Equal,ClassicStartMenu,RegWrite,"HKLM",0x4,"Tmp_default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSimpleStartMenu","1"
[ 本帖最后由 khauyeung 于 2009-7-10 20:21 编辑 ] |
|