prevent user deleting desktop icons
- From: "Ben" <ben@xxxxxxxx>
- Date: 14 Jul 2006 08:33:47 -0700
Put this as a user logon script..
@echo off
Rem *** Prevents Users from Renaming & Deleting System Desktop Icons
***
Rem Checks for the Existence of Subinacl.exe
if exist %windir%\Subinacl.exe GOTO SetPermissions
GOTO EOF
:SetPermissions
Rem Prevent Deleting Icons My Computer, IE and so on..
subinacl.exe /subkeyreg
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons"
/GRANT=Northside\%UserName%=AQCEYLWO
Rem Prevent Renaming Icons My Computer, IE and so on..
subinacl.exe /subkeyreg
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}"
/GRANT=Northside\%UserName%=AQCEYLWO
subinacl.exe /subkeyreg
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
/GRANT=Northside\%UserName%=AQCEYLWO
subinacl.exe /subkeyreg
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}"
/GRANT=Northside\%UserName%=AQCEYLWO
subinacl.exe /subkeyreg
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}"
/GRANT=Northside\%UserName%=F
subinacl.exe /subkeyreg
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}"
/GRANT=Northside\%UserName%=R
:EOF
cls
exit
.
- Prev by Date: Re: Service Identify and DCOM ACL's
- Next by Date: Re: What can my browser expose over network?
- Previous by thread: Service Identify and DCOM ACL's
- Next by thread: what does it mean: a threat in "System Volume Information"?
- Index(es):
Relevant Pages
|
Loading