Share via


How to replace files under winsxs folder?

Under some circumstances, especially debugging software installation (using windows installer) related issue, you might want to replace some binary under winsxs folder, usually admin account does not have permission to winsxs folder, run following command under an elevated commandline window will enable the admin user has permission to manipulate the winsxs directory.

Takeown /f %WINDIR%\windows\winsxs /R