Re: how to undo incorrect CACLS command?
- From: "Pegasus [MVP]" <news@xxxxxxxxxxxxx>
- Date: Sun, 3 May 2009 17:04:46 +0200
"james" <nospam@xxxxxxxxxx> wrote in message
news:e5zw6j$yJHA.2324@xxxxxxxxxxxxxxxxxxxxxxx
On a windowXP home PC, I first used cacls to view the C:\windows\temp
folder and got:
BUILTIN\Administrators:F
BUILTIN\Administrators:(OI)(CI)(IO)F
NT AUTHORITY\SYSTEM:F
NT AUTHORITY\SYSTEM:(IO)(CI)(IO)F
BUILTIN\Administrators:F
CREATOR OWNER:(IO)(CI)(IO)F
NT AUTHORITY\NETWORK SERVICE: (OI)(CI)(special access:)
DELETE
SYNCHRONIZE
FILE_READ_DATA
Then I screwed it up by entering the command "cacls temp /G userXXX:F"
without the /E parameter.
How do I restore C:\windows\temp to its original ACL? I have since
downloaded an util (SCESP4I.EXE) from microsoft that turns on the
security tab in xp home. What I'm having trouble is mapping the text ACL
output from cacls into gui based ACL. If someone could walk me thru the
re-creation of just the first 2 ACLs (administrators) that would be great.
Also, why is there a duplicate line BUILTIN\Administrators:F and do I need
to re-create that?
Try this - it's all you need for the %temp% directory:
cacls c:\Windows\temp /e /t /g everyone:F
.
- References:
- how to undo incorrect CACLS command?
- From: james
- how to undo incorrect CACLS command?
- Prev by Date: how to undo incorrect CACLS command?
- Next by Date: Re: Explorer.exe not loading at startup
- Previous by thread: how to undo incorrect CACLS command?
- Next by thread: Re: Explorer.exe not loading at startup
- Index(es):
Relevant Pages
|