Script i can send to others to run SFC /Scannow and save results

  1.    06 Mar 2018 #1

    Script i can send to others to run SFC /Scannow and save results

    I often have to walk people through this over the phone. You would think it isn't that hard but many people today have never even seen a CMD box. I would like to come up with a script that would:
    open a cmd window as admin
    run SFC /scannow
    and finally create the list of problems and repairs to send me. The below works for that.
    findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >%USERPROFILE%\Desktop\SendTechsfcdetails.txt

    I could probably even automate the end using 'ipmnote' but if they can't handle emailing me the results...
    This is really for Users who can only run things by clicking an icon of which i have a few
    I have tried a few utilities that i have used before for running a batch as admin but they dont seem to work for sfc /scannow.
      My ComputerSystem Spec

  2.    07 Mar 2018 #2

    Hi, you could use Autohotkey to create a script including
    Run *RunAs cmd.exe /c sfc /scannow

    Launching the ahk file gives a UAC prompt and the scan starts.

    You can compile the ahk with 1 rt click to produce an exe file.
      My ComputerSystem Spec


Related Threads
Hi there any decent programmers out there who can generate a script for me that does the following : 1) Get my IP address 2) send an email say every 30 mins (or user settable) to a FIXED email address - or even a text to a mobile phone. ...
Solved SFC /Scannow Results in Performance & Maintenance
Have i problems in my OS? 71364
I ran a scan for Windows 10 system command prompt and commands with SFC / scannow . After the scan results are in the file cbs.log , which I put here . I am green with these issues and I would like to ask for help in verifying the errors that were...
SFC /SCANNOW results in General Support
Finally in this build 10049, I can run SFC /SCANNOW completely. I've extracted just the SR results from cbs.log showing repairs, but one did not fix. Has something to do with powershell. I've rebooted and rerun 3 times, the recommended. Any...
Solved SFC Scannow Results in General Support
Has anyone else run "sfc /scannow" on their system? I am receiving integrity errors but they don't seem to logged or I can't find them in the usual place.
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:39.
Find Us