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
swiftie

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
logicearth

Windows 10 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
swiftie

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
logicearth

Windows 10 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
Thread Forum
Implications of deleting or changing the name of a user account
I am put in charge of five computers in same workgroup (no domain). Now, different computers have different users. I'd like to standardize the user names and passwords. What I have in mind is having on each computer two administrator accounts and one user account. I have two options: I can delete...
General Discussion
Deleting a 2nd User account & its safety in not deleting anything else
Hoping this is the right place to ask my question and that the title is OK. I was asked to create a 2nd user account with 'Administration privileges'. Having done so I no longer need it. In trying to delete it I got a pop up window asking me if I wanted to save some of my files (My Documents etc.)...
General Discussion
Unknown user showing in user accounts - possibly compromised?
Hi all, Hoping someone might be able to help. Recently, a few strange things have happened with the PC, which first started when I found I couldn't use the Backup & Recovery software in Windows 7. Whenever I clicked on one of the buttons with a shield, nothing would happen at all. I've looked...
System Security
IE 9 is Now Deleting Stored User Names On Exit
Hi, My IE 9 has suddenly decided to delete my stored User Names. I'm guessing the change is due to a download update? Looking at Internet Options\Browsing History On Exit it seems that if you check delete Temporary Files, History and Cookies you now also delete saved user names and passwords....
Browsers & Mail
Deleting and creating user profile problem
Windows 7 professional 64bit OS Dell Vostro 230 4Gb of memory While troubleshooting an issue with Firefox I gave up and decided to remove the Windows user profile and recreate it. After deleting it the user profile and then attempting to log back in I noticed that the account was set up as...
General Discussion
Deleting a User ID
I need some help in deleting a user id for signing in to gmail. When I first set it up, I said yes to IE's, "Do you want IE to remember this info....." Now that user id is no longer used, and it is a real pain because it starts with the same letter as a currently used ID, and when that letter is...
Browsers & Mail


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 01:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App