Windows 10: Best series of built-in Windows tests to run regularly?

Page 1 of 2 12 LastLast

  1. Posts : 172
    Microsoft Windows 10 Pro 64-bit
       08 Dec 2017 #1

    Best series of built-in Windows tests to run regularly?


    What would be the best (safest and most effective) series of built-in Windows tests to run regularly (say, weekly or monthly) to ensure that Windows has no corruption or errors?

    Would the following series of Command Prompt tasks (in the order listed) be a good series of tests? Or should there be more (or less) tests, or a different order in which to run them?

    sfc /scannow

    dism /Online /NoRestart /Cleanup-Image /CheckHealth

    dism /Online /NoRestart /Cleanup-Image /ScanHealth

    dism /Online /NoRestart /Cleanup-Image /RestoreHealth
      My ComputerSystem Spec

  2.    08 Dec 2017 #2

    The sfc (System File Checker) command can be used to verify and replace important corrupted Windows system files.

    System File Checker is a very useful tool to use when you suspect issues with protected Windows files, like many DLL files.

    You will use dism /Online /NoRestart /Cleanup-Image /RestoreHealth command when Sfc tool fails to repair corrupted Windows system files.
      My ComputerSystem Spec


  3. Posts : 172
    Microsoft Windows 10 Pro 64-bit
    Thread Starter
       08 Dec 2017 #3

    FreeBooter said: View Post
    The sfc (System File Checker) command can be used to verify and replace important corrupted Windows system files.

    System File Checker is a very useful tool to use when you suspect issues with protected Windows files, like many DLL files.

    You will use dism /Online /NoRestart /Cleanup-Image /RestoreHealth command when Sfc tool fails to repair corrupted Windows system files.
    So it would be best to run just sfc /scannow on a regular basis, and only use CheckHealth, ScanHealth, or RestoreHealth if that found errors and failed to repair them?

    Also (I forgot to ask in the OP), how often (if ever) would it be advisable to run CHKDSK? Would running it weekly or monthly be a good idea, or could it have risks?
      My ComputerSystem Spec

  4.    09 Dec 2017 #4

    In addition to these 4 commands, which OP has posted, I use regularly also:

    cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:6553
    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
    Dism.exe /Online /Cleanup-Image /StartComponentCleanup

    which are more about cleaning up the system.
      My ComputerSystem Spec

  5.    09 Dec 2017 #5

    If you run disk cleanup it runs the DISM commands to cleanup WinSxS anyway.

    You can see it if you look at task manager - the TIWorker job is running.

    You could run the /resetbase but considering there is a new version of Windows every 6 months there isn't much point really.
      My ComputerSystem Spec

  6.    09 Dec 2017 #6

    Good Day All

    i'm on a ship so the DISM "online" part would not seem to be effective (no internet) or is it? i have the iso on disk
    but that just might put me back, before i made my changes to my custom settings (edwins dark them w/ice baby icons) and such. i am on 1709

    is a total wipe out of HD reset custom stuff and then re-image required to have some sort of baseline established?

    DME
      My ComputerSystem Spec


  7. Posts : 20,975
    windows 10 professional version 1607 build 14393.969 64 bit
       09 Dec 2017 #7

    The norestart is not needed:
    DISM Global Options for Command-Line Syntax

    Sometimes the restorehealth had malfunctioned.
    checkhealth and scanhealth are not needed if you have a working restorehealth.
    sfc /scannow is regularly ran however it is likely not needed if you have a working dism restorehealth

    Use DISM to Repair Windows 10 Image Performance Maintenance Tutorials

    If you are on a ship and don't have internet access you can always perfom an in place upgrade repair with the latest windows 10 iso:
    Repair Install Windows 10 with an In-place Upgrade Installation Upgrade Tutorials

    For chkdsk you can run chkdsk /scan weekly and run chkdsk /x /f /r quarterly.

    So the above commands will check
    1) the integrity of the operating system
    2) the drive file system

    Plan:
    1) sfc /scannow or dism /online /cleanup-image /restorehealth
    2) chkdsk /scan
    3) windows defender updates
      My ComputerSystem Spec


  8. Posts : 172
    Microsoft Windows 10 Pro 64-bit
    Thread Starter
       10 Dec 2017 #8

    Ivan Petrov said: View Post
    In addition to these 4 commands, which OP has posted, I use regularly also:

    cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:6553
    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
    Dism.exe /Online /Cleanup-Image /StartComponentCleanup

    which are more about cleaning up the system.
    Do these help with preventing and/or eliminating corruption? Also, does running any of them create a risk of accidentally deleting something that shouldn't be deleted?

    lx07 said: View Post
    If you run disk cleanup it runs the DISM commands to cleanup WinSxS anyway.

    You can see it if you look at task manager - the TIWorker job is running.
    I never run Disk Cleanup. Would it be advisable to run it every month or so? I'm nervous to run it, because I'm afraid of accidentally deleting something that shouldn't be deleted.

    zbook said: View Post
    The norestart is not needed:
    DISM Global Options for Command-Line Syntax
    But while it isn't necessary, it also won't harm anything, correct?
    Sometimes the restorehealth had malfunctioned.
    checkhealth and scanhealth are not needed if you have a working restorehealth.
    Does this mean that running RestoreHealth is risky? (You mentioned that it sometimes malfunctions.) Also, I thought that CheckHealth was just to check to see whether anything is wrong, ScanHealth was a more intensive and thorough way to also just scan for problems, and RestoreHealth can actually fix any problems that CheckHealth or ScanHealth find (and only needs to be run if one of them finds a problem). Would it be best to first run CheckHealth, then ScanHealth, then only run RestoreHealth if one of them finds a problem?
    sfc /scannow is regularly ran however it is likely not needed if you have a working dism restorehealth
    Do you mean that scannow is automatically run by Windows on a regular basis?

    Also, I thought that scannow was less intensive than RestoreHealth (ie, it would be a good program to run first, and RestoreHealth is more of a last option.) Is this incorrect?
    For chkdsk you can run chkdsk /scan weekly and run chkdsk /x /f /r quarterly.
    If I recall right, chkdsk /scan runs CHKDSK without needing to restart or dismount the hard drive (unlike chkdsk /x /r /f). Is this correct?

    Also, are there any possible risks to running either command with the type of frequency that you recommended?
    So the above commands will check
    1) the integrity of the operating system
    2) the drive file system

    Plan:
    1) sfc /scannow or dism /online /cleanup-image /restorehealth
    2) chkdsk /scan
    3) windows defender updates
    I see that you wrote "sfc /scannow or dism /online /cleanup-image /restorehealth", rather than recommending running both of them. Would it be better to run scannow (to check for problems), and only run RestoreHealth is any were found?
      My ComputerSystem Spec


  9. Posts : 20,975
    windows 10 professional version 1607 build 14393.969 64 bit
       10 Dec 2017 #9

    There are many DISM commands.
    The restorehealth has always been a command that works or it does not work to fix the OS.
    In the threads I have everyone run both sfc /scannow followed by dism /online /cleanup-image /restorehealth.
    This is done to correct any problems with the OS with scannow and if there were integrity violations to fix with restorehealth.
    Running restorehealth on its own does not provide information as to whether it found and fixed OS problems. It always displays the message that it did something or failed.
    In addition it is useful to see whether there is an option to use the restorehealth command. If it was not run you would never know about the errors preventing its use.
    I've never seen any harm in running scannow or restorehealth. The file sizes for the CBS and DISM logs will grow though and reduce disk space.
    Scanhealth is run only if restorehealth fails to troubleshoot its failure.
    chkdsk /scan can be run without locking the drive or rebooting. It does not provide the deeper scan. So you can find problems running the deeper scan that were missed running chkdsk /scan. If there were problems found running chkdsk /scan it will prompt you to run chkdsk /spotfix for the next boot. I'll do that and then I'll also do a chkdsk /x /f /r when I have the option to scan for 3 hours. That's the time that it typically takes for my 750 GB HD.
    On a SSD drive there is no benefit for the /r switch but I type it anyway.
    For the maintenance of the computers I regularly run without worry: sfc /scannow, dism /online /cleanup-image /scanhealth, chkdsk /scan or chkdsk /x /f /r.
    One more thing that makes life a little simpler is that you can paste multiple commands into administrative command prompt at the same time without making a .bat command.
    For example you can copy and paste:
    sfc /scannow
    chkdsk /scan
    dism /online /cleanup-image /restorehealth
    and have it do all 3 scans in sequence.
      My ComputerSystem Spec


  10. Posts : 172
    Microsoft Windows 10 Pro 64-bit
    Thread Starter
       11 Dec 2017 #10

    zbook said: View Post
    I'll do that and then I'll also do a chkdsk /x /f /r when I have the option to scan for 3 hours. That's the time that it typically takes for my 750 GB HD.
    Is there any significance to the order of the three letters? I've always run it as chkdsk /f /r /x.

    One more thing that makes life a little simpler is that you can paste multiple commands into administrative command prompt at the same time without making a .bat command.
    For example you can copy and paste:
    sfc /scannow
    chkdsk /scan
    dism /online /cleanup-image /restorehealth
    and have it do all 3 scans in sequence.
    Would it be a good idea to run that whole sequence (those three commands pasted together) weekly? Also, wouldn't pasting them in the order below (with chkdsk as the last command) be better than the one quoted above?

    sfc /scannow
    dism /online /cleanup-image /restorehealth
    chkdsk /scan
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Security tests for Refurbished ThinkPad with Windows 10 Pro in AntiVirus, Firewalls and System Security
What tests or checks should I run before using to be sure it isn't compromised? I bought it through a well-known seller and will pick it up on Saturday.
Hello! I have a laptop running Windows 10 that is on and online 24/7. I would like to restart this PC automatically on a regular basis, for example every Friday night at 2 AM Is this possible somehow, either with Windows itself or with a...
Even after replacing Live Mail 2011 with 2012, I find that it still crashes on and off with the message "something unexpected has happened and Windows Live Mail must close". If I reboot, it works fine, but I don't want to have to reboot every...
Hi Guys, When I first installed windows 10 pro. I used Microsoft's create install media tool and saved to USB. Now as we are regularly getting cumulative updates from Microsoft does the install media get updated as well? I mean if I re create the...
windows 10 crashes regularly in General Support
Ever sense I got a an update on or about 10/12 my laptop has been crashing. I will crash while nothing is running. I will crash ever time I attempt to look at the event log. I have updated all drivers. I want to get this posted before it crashes...
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 02:57.
Find Us