1.    23 Jan 2016 #1
    Join Date : Jun 2015
    Posts : 278
    Windows 10

    Remove the TrustedInstaller or Authenticated Users or System users fro


    Hi

    I have Windows 10 v1511 Enterprise 64 bit.

    From the Command Prompt, run as administrator, how should I do to remove any TrustedInstaller or Authenticated Users or System users from the ACLs of an entire directory structure also contains files and links (this must not involve the ACLs of their destination)?

    Thanks

    Bye
      My ComputerSystem Spec
  2.    23 Jan 2016 #2
    Join Date : Sep 2014
    Nashville, TN
    Posts : 3,143
    Windows 10 Pro

    Quote Originally Posted by balubeto View Post
    Hi

    I have Windows 10 v1511 Enterprise 64 bit.

    From the Command Prompt, run as administrator, how should I do to remove any TrustedInstaller or Authenticated Users or System users from the ACLs of an entire directory structure also contains files and links (this must not involve the ACLs of their destination)?
    I'm afraid I don't understand what you mean by "this must not involve the ACL's of their destination". Is this some kind of school coursework?
      My ComputerSystem Spec
  3.    24 Jan 2016 #3
    Join Date : Jun 2015
    Posts : 278
    Windows 10
    Thread Starter

    Quote Originally Posted by Mystere View Post
    I'm afraid I don't understand what you mean by "this must not involve the ACL's of their destination". Is this some kind of school coursework?
    I would remove the users mentioned above from the ACLs of the link and not from their target file.

    Thanks

    Bye
      My ComputerSystem Spec
  4.    27 Jan 2016 #4
    Join Date : Jun 2015
    Posts : 278
    Windows 10
    Thread Starter

    I think I found the best solution to remove a directory structure which also contains symbolic links and with ACLs managed by TrustedInstaller or Authenticated Users or System users:

    Code:
    takeown /F "<Directory_path>" /A /R /D Y /SKIPSL >nul 2>&1
    icacls "<Directory_path>" /reset
    icacls "<Directory_path>" /grant:r Administrators:(OI)(CI)F /inheritance:e /Q /C /T /L >nul 2>&1
    pushd "<Directory_path>" && ( rd /S /Q "<Directory_path>" 2>nul & popd )
    Instead, if I wanted to remove the users mentioned above one at a time, how should I do?

    Thanks

    Bye
      My ComputerSystem Spec
  5.    27 Jan 2016 #5

    TrustedInstaller is the built-in user account which Windows uses to install updates and Windows App so removing this will prevent you from installing Windows Store apps or having previously installed ones updated.
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
For Any BitDefenders Users, Please
Hello all, Thanks for previous help and advice. Brand new desktop of a month or so, Bought BitDefender for it, per a lot of advice on Forum. My old PC was wiped out by one of thosE RansomWare trojans (Crypto...?), so am very concerned...
AntiVirus, Firewalls and System Security
Cannot see/login into other users at Login or Switch Users
Hi all, My computer has three users on it (John, Lawrence, and Elizabeth). The problem right now is that John is the only one that can login to the computer. For Lawrence and Elizabeth, their users don't appear at the login screen (not even in...
User Accounts and Family Safety
Solved How to rename C:\ users
I bought a new Toshiba laptop running Windows 8.1.Recently, I upgraded to windows 10. :D But now I noticed that my user folder is named as it world. And the path is C:\Users\it world . :mad: please help me to change it to...
User Accounts and Family Safety
Cannot add new users
Hello all, I made the jump from 8.1 to Windows 10. All user accounts and setting seem to have carried over nicely. However, I would like to add an additional account. In Settings->Accounts->Family & other users, there is the button for Add a...
User Accounts and Family Safety
Multiple Users in 10 Pro
I have several 8.1 systems I want to upgrade to 10. A couple of them have multiple users in 8.1, Some standard accounts, some admin. I went ahead and upgraded a system that has only one account. all seems fine. However, as I I looking through...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 18:55.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums