Script issue with SFC

B

Brett Johnson1

Hello!I am working on getting some scripts working to do a lot of remote troubleshooting done for me and I am running into an error when trying to run the command in powershell: cmd /c 'sfc /scannow > out' get-content out -Encoding Unicode | where { $_ } # singlespaceThe idea is that it should run the system file checker silent for the end user but give an output to me, however I am running into the issue of: Windows Resource Protection could not start the repair service.I have gone ahead and confirmed that the machine can update, on the machine it's self I can run this but not remotely. Th

Continue reading...
 
Back
Top Bottom