ABOUT

Tuesday, September 10, 2024

September 10, 2024. How to maintain Desktop Microsoft Windows 10 OS

How to maintain Desktop Microsoft Windows 10 OS



We can use both Command Prompt and PowerShell to maintain Windows 10


SYSTEM FILE CHECKER


Use the System File Checker tool to repair missing or corrupted system files. support.microsoft.com (https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e#:~:text=sfc%20%2Fscannow,For%20example%2C%20C%3A%5CWindows)
#1 DISM.exe /Online /Cleanup-Image /RestoreHealth
#2 sfc /scannow
If repairement needed:
DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess Note: replace the C:\RepairSource\Windows (it may look like C:\F:\Windows ? My note.) placeholder with the location of your repair source. For more information about using the DISM tool to repair Windows, reference Repair a Windows Image.
Some programmers recommend the reverse order of these two commands: first "sfc /scannow" and then "DISM.exe /Online /Cleanup-Image /RestoreHealth".
Some programmers have also recommended to use the entire range of DISM programs for a thorough repair:
#1 Dism /Online /Cleanup-Image /ScanHealth
#2 Dism /Online /Cleanup-Image /CheckHealth
#3 Dism /Online /Cleanup-Image /RestoreHealth
Read more: Microsoft Community. Does running just sfc in Windows 10 or 11 cause issues? Does running just sfc in Windows 10 or 11 cause issues? answers.microsoft.com



CHECK DISC COMMAND


chkdsk C: /f /r


For only PowerShell how to maintain Windows 10 (this PowerShell commands are similar to "sfc /scannow" and "DISM")


#1 C:\Windows\system32>Repair-WindowsImage -Online -CheckHealth
#2 C:\Windows\system32>Repair-WindowsImage -Online -ScanHealth
#3 C:\Windows\system32>Repair-WindowsImage -Online -RestoreHealth





No comments:

Post a Comment

Dub Pistols feat. Rhoda Dakar - Stand Together (live at Freedom Sounds F...

Dec 18, 2024 Was listening music