About file ownership

Forums General General Discussion About file ownership

Viewing 1 reply thread
  • Author
    • #43600


      After accidentaly (foolishly) taking ownership of entire system 32 folder, instead of just one file (dont ask…), I have found out that I am not certain how to return ownership to system. Any help is appreciated.


    • #48161

      hey, maybe you can use the script created by JonusC to restore the permissions of all system files.
      Topic: TrustedInstaller Restore v1.0

      It looks like that the icacls command the script is using doesn’t support setting permissions recursive. To get around that use the for loop for the commandline:

      for /F %i in ('dir /s /b') do @icacls "%i" -Parameters

      Hope this helps you a bit!

Viewing 1 reply thread
  • You must be logged in to reply to this topic.