Jump to content


LeX

Restore TrustedInstaller as Owner of a File using cmd

Recommended Posts

hi all,

i have an interesting problem, may be here someone can help me :)

need to Restore TrustedInstaller as Owner of a File using command line (folders in c:\Windows\winsxs)

there're a toons of sites how to do it manually in windows (like here), but can't find how to do it in cmd (cause this should be in a script)

 

commands like

takeown /s localhost /u "NT Service/TrustedInstaller" /f "%windir%\winsxs\Catalogs"

asks for trustedinstaller password, which generates randomly

 

 

thanks in advance

Share this post


Link to post
Share on other sites

hi all,

i have an interesting problem, may be here someone can help me :)

need to Restore TrustedInstaller as Owner of a File using command line (folders in c:\Windows\winsxs)

there're a toons of sites how to do it manually in windows (like here), but can't find how to do it in cmd (cause this should be in a script)

 

commands like

takeown /s localhost /u "NT Service/TrustedInstaller" /f "%windir%\winsxs\Catalogs"

asks for trustedinstaller password, which generates randomly

 

 

thanks in advance

 

 

up

Share this post


Link to post
Share on other sites

hi all,

i have an interesting problem, may be here someone can help me smile.gif

need to Restore TrustedInstaller as Owner of a File using command line (folders in c:\Windows\winsxs)

there're a toons of sites how to do it manually in windows (like here), but can't find how to do it in cmd (cause this should be in a script)

 

commands like

takeown /s localhost /u "NT Service/TrustedInstaller" /f "%windir%\winsxs\Catalogs"

asks for trustedinstaller password, which generates randomly

 

 

thanks in advance

How to get the password? Or is there any way to change/disable it?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.