takeown /F “C:\System Volume Information” /A /R /D Y
takeown /F “C:\System Volume Information\DFSR” /A /R /D Y
icacls “C:\System Volume Information” /grant:r “BUILTIN\Administrators”:F /T /C /Q
icacls “C:\System Volume Information\DFSR” /grant:r “BUILTIN\Administrators”:F /T /C /Q
Stop-Service -Name DFSR -Force
Remove-Item -Path “C:\System Volume Information\DFSR” -Recurse -Force
Start-Service -Name DFSR

發佈留言