Remove the TrustedInstaller or Authenticated Users or System users fro


  1. Posts : 307
    Windows 10
       #1

    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 Computer


  2. Posts : 3,257
    Windows 10 Pro
       #2

    balubeto said:
    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 Computer


  3. Posts : 307
    Windows 10
    Thread Starter
       #3

    Mystere said:
    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 Computer


  4. Posts : 307
    Windows 10
    Thread Starter
       #4

    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 Computer


  5. Posts : 7,254
    Windows 10 Pro 64-bit
       #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 Computers


 

  Related Discussions
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 21:56.
Find Us




Windows 10 Forums