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