Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Deleting unknown user from ACL


28 Nov 2012   #1

Windows 7 Ultimate x64
 
 
Deleting unknown user from ACL

Warning: I thought I'd asked this already...

After transferring some HPFS USB drives from my old PC to the new PC, I've ended up with an unknown user in many of my files. It will be OldPC/Steve, but it manifests itself as S-1-5-21-713417444-3787200217-3968111754-1006 as demonstrated by cacls:

E:\>cacls tracefinal.txt /s
E:\tracefinal.txt "DA;;FA;;;BA)(A;;FA;;;SY)(A;;FA;;;S-1-5-21-713417444-3787200217-3968111754-1006)(A;;0x1200a9;;;BU)"

I can write a script to display the SDDL string for all my files, and to replace the SDDL string with the unknown user excluded, and leave it running for a few weeks (there are millions of files) but is there a better approach?

My System SpecsSystem Spec
.

28 Nov 2012   #2

Windows 8.1 Pro (x64)
 
 

Use the option "Replace all child object permissions with inheritable permissions from this object" when changing the permissions on the root folder.
My System SpecsSystem Spec
28 Nov 2012   #3

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by logicearth View Post
Use the option "Replace all child object permissions with inheritable permissions from this object" when changing the permissions on the root folder.
The particular file that I was referring to does not inherit its' permissions from its' parent folder (the reasons for this are lost in time).

I suspect this will be the case for all such files that I find, as I've used the suggested options when tidying up directories across the four affected USB files.
My System SpecsSystem Spec
.


28 Nov 2012   #4

Windows 8.1 Pro (x64)
 
 

That is what the option is for, it replaces the current permissions of the child regardless if it inherits from the parent with inheritable permissions from the parent. It is the option you want to use.
My System SpecsSystem Spec
Reply

 Deleting unknown user from ACL




Thread Tools



Similar help and support threads for2: Deleting unknown user from ACL
Thread Forum
Solved Unknown User Account Installation & Setup
IE 9 is Now Deleting Stored User Names On Exit Browsers & Mail
Solved Deleting and creating user profile problem General Discussion
Solved Deleting windows built in User Accounts General Discussion
Deleting a User ID Browsers & Mail
Unknown session (Other user) General Discussion
Unknown User Account System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:24 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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