Fix (backup) errors related to missing Volume Shadow Copy System Writer

A quick note. To fix (backup) errors related to a missing vss System writer, I use the following script to (re)set the file permissions on the winsxs folder in %SYSTEMDRIVE%\Windows. Run it with administrative privileges.

vssadmin list writers
pause
takeown /F %WINDIR%\winsxs\*.* /A /R
icacls %WINDIR%\winsxs\*.* /grant “NT Service\trustedinstaller:(F)”
icacls %WINDIR%\winsxs\filemaps\*.* /grant “NT AUTHORITY\SYSTEM:(RX)”
icacls %WINDIR%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX)
vssadmin list writers
pause

 

Advertisements

About Yuri de Jager
Technology Addict

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: