Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > Users group can't run attrib.exe or subst.exe

Reply
Thread Tools Display Modes

Users group can't run attrib.exe or subst.exe

 
 
Keith Hill [MVP]
Guest
Posts: n/a

 
      09-27-2007
For some reason, my Vista Enterprise system has reset permissions on a
number of EXEs in the windows system32 dir and now I have to elevate to
execute
attrib.exe and subst.exe. The following EXEs are affected:

C:\Windows\System32\at.exe
C:\Windows\System32\attrib.exe
C:\Windows\System32\cacls.exe
C:\Windows\System32\debug.exe
C:\Windows\System32\DRWATSON.EXE
C:\Windows\System32\edlin.exe
C:\Windows\System32\eventcreate.exe
C:\Windows\System32\ftp.exe
C:\Windows\System32\net.exe
C:\Windows\System32\net1.exe
C:\Windows\System32\netsh.exe
C:\Windows\System32\reg.exe
C:\Windows\System32\regedt32.exe
C:\Windows\System32\regsvr32.exe
C:\Windows\System32\runas.exe
C:\Windows\System32\sc.exe
C:\Windows\System32\subst.exe
C:\Windows\System32\telnet.exe

Their ACLs are:

AccessToString : NT AUTHORITY\INTERACTIVE Allow ReadAndExecute, Synchronize
NT AUTHORITY\SYSTEM Allow FullControl
BUILTIN\Administrators Allow FullControl

And they should be:

AccessToString : NT AUTHORITY\SYSTEM Allow ReadAndExecute, Synchronize
BUILTIN\Administrators Allow ReadAndExecute, Synchronize
BUILTIN\Users Allow ReadAndExecute, Synchronize
NT SERVICE\TrustedInstaller Allow FullControl

What's annoying the hell out of me is that:

1) I can't add TrustedInstallers back to the ACLs list - it says it doesn't
exist
2) I add back Users with ReadAndExecute and a few days later that entry has
been stripped out (again)

Anybody have any idea what is going on? I suspect either Group Policy or
System File Protection but I'm not sure how to find out if that is what is
causing this.

--
Keith






 
Reply With Quote
 
 
 
 
Darrell Gorter[MSFT]
Guest
Posts: n/a

 
      09-28-2007
Hello Keith,
|> 1) I can't add TrustedInstallers back to the ACLs list - it says it
doesn't
|> exist
There isn't an easy way if any way to add the TrustedInstaller ACL back to
files

|> 2) I add back Users with ReadAndExecute and a few days later that entry
has
|> been stripped out (again)
|>
|> Anybody have any idea what is going on? I suspect either Group Policy or
|> System File Protection but I'm not sure how to find out if that is what
is
|> causing this.

System file protection would not strip the ACL from the file. It could be
Group Policy, it could be a security template that is being pushed out by
an administrator
You can check the SFC entries by examining this log file:
At the command prompt, type the following command, and then press ENTER:
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt


Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
|> From: "Keith Hill [MVP]" <_no_spam_I>
|> Subject: Users group can't run attrib.exe or subst.exe
|> Date: Wed, 26 Sep 2007 18:53:51 -0600
|> Lines: 1
|> Message-ID: <7CF30A86-854B-4F06-965D->
|> MIME-Version: 1.0
|> Content-Type: text/plain;
|> format=flowed;
|> charset="iso-8859-1";
|> reply-type=original
|> Content-Transfer-Encoding: 7bit
|> X-Priority: 3
|> X-MSMail-Priority: Normal
|> Importance: Normal
|> X-Newsreader: Microsoft Windows Live Mail 12.0.1184
|> X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1184
|> X-MS-CommunityGroup-MessageCategory:
{E4FCE0A9-75B4-4168-BFF9-16C22D8747EC}
|> X-MS-CommunityGroup-PostID: {7CF30A86-854B-4F06-965D-7CF28F87FBFE}
|> Newsgroups:
microsoft.public.windows.vista.administration_acco unts_passwords
|> NNTP-Posting-Host: cosiapat1.net.americas.agilent.com 192.25.240.225
|> Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP02.phx.gbl
|> Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.administration_acco unts_passwords:5701
|> X-Tomcat-NG:
microsoft.public.windows.vista.administration_acco unts_passwords
|>
|> For some reason, my Vista Enterprise system has reset permissions on a
|> number of EXEs in the windows system32 dir and now I have to elevate to
|> execute
|> attrib.exe and subst.exe. The following EXEs are affected:
|>
|> C:\Windows\System32\at.exe
|> C:\Windows\System32\attrib.exe
|> C:\Windows\System32\cacls.exe
|> C:\Windows\System32\debug.exe
|> C:\Windows\System32\DRWATSON.EXE
|> C:\Windows\System32\edlin.exe
|> C:\Windows\System32\eventcreate.exe
|> C:\Windows\System32\ftp.exe
|> C:\Windows\System32\net.exe
|> C:\Windows\System32\net1.exe
|> C:\Windows\System32\netsh.exe
|> C:\Windows\System32\reg.exe
|> C:\Windows\System32\regedt32.exe
|> C:\Windows\System32\regsvr32.exe
|> C:\Windows\System32\runas.exe
|> C:\Windows\System32\sc.exe
|> C:\Windows\System32\subst.exe
|> C:\Windows\System32\telnet.exe
|>
|> Their ACLs are:
|>
|> AccessToString : NT AUTHORITY\INTERACTIVE Allow ReadAndExecute,
Synchronize
|> NT AUTHORITY\SYSTEM Allow FullControl
|> BUILTIN\Administrators Allow FullControl
|>
|> And they should be:
|>
|> AccessToString : NT AUTHORITY\SYSTEM Allow ReadAndExecute, Synchronize
|> BUILTIN\Administrators Allow ReadAndExecute,
Synchronize
|> BUILTIN\Users Allow ReadAndExecute, Synchronize
|> NT SERVICE\TrustedInstaller Allow FullControl
|>
|> What's annoying the hell out of me is that:
|>
|> 1) I can't add TrustedInstallers back to the ACLs list - it says it
doesn't
|> exist
|> 2) I add back Users with ReadAndExecute and a few days later that entry
has
|> been stripped out (again)
|>
|> Anybody have any idea what is going on? I suspect either Group Policy or
|> System File Protection but I'm not sure how to find out if that is what
is
|> causing this.
|>
|> --
|> Keith
|>
|>
|>
|>
|>
|>
|>

 
Reply With Quote
 
Keith Hill [MVP]
Guest
Posts: n/a

 
      09-28-2007
""Darrell Gorter[MSFT]"" <> wrote in message
news:...
> System file protection would not strip the ACL from the file. It could be
> Group Policy, it could be a security template that is being pushed out by
> an administrator
> You can check the SFC entries by examining this log file:
> At the command prompt, type the following command, and then press ENTER:
> findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt


It finds nothing. Further info is that since posting my original post, the
perms have been reset again but the last modified dates on both the CBS log
files haven't been updated since before I reset the perms.

--
Keith

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable Power Users group in Vista? abbphan Windows Vista Administration 0 11-13-2007 04:42 PM
Permissions on SUBST.EXE, ATTRIB.EXE, et al getting reset Keith Hill Windows Vista Security 1 09-28-2007 12:42 AM
Unable to use Schtasks command to schedule task for users group Umer Y Windows Vista General Discussion 0 09-27-2007 03:31 PM
Users can't run subst.exe or attrib.exe ?? Keith Hill [MVP] Windows Vista File Management 0 09-26-2007 11:51 PM
attrib AN spudWA@gmail.com Windows Vista General Discussion 17 05-02-2007 01:36 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59