After providing tech support in a Linkshell last night, I figured I'd just make a thread in case anyone else is having issues. For any given computer problem there can be any number of causes. There are at least a few "general practice" things you can do to keep up on your PC's health (much like checking fluid levels in a car)
Windows System File Checker tool
This command has been built into Windows since XP-SP3. It can be run from the command prompt (preferably elevated). This will scan all critical Windows system components and compare the file signatures to those within the WinSxS (formerly i386) folder. If any of them are damaged, it will copy snapshots of the original file back to the system folder. If files cannot be repaired, it will create a log file showing all such files.
1.) Open a command prompt
- Start -> All Programs -> Accessories -> Command Prompt
OR - Start -> {start typing the name 'command prompt', and it should appear in a list. Click or hit enter}
OR - Start -> Run -> {type 'cmd', hit enter}
OR - Key Combo Win+R -> {type 'cmd', hit enter }
OR (Windows 8 and newer) - Right-Click the start button area, chose 'Command Prompt (Admin)'
2.) Type the command: sfc /scannow
3.) Enter
The tool will take time to perform the scan. You [i]can[i] do other things while this happens. When finished, if all is well it should say no errors were found. If it was able to repair a problem, it should say files were repaired. If it could NOT fix the problem, it will say that some files could not be repaired.
If it did find corruption, then you most likely found whatever cause of Windows instability has been plaguing you recently. Corrupted system files can cause all sorts of bad behaviour from crashes, to blue screens, to things just locking up. You can either attempt a system restore (followed by another SFC scan to be sure), take it to a professional, or try a manual repair (instructions below).
How to find those files:
You will need to parse the CBS log file. This is for advanced users only.
1.) Open a command prompt in the folder C:\Windows\Logs\CBS
- Browse to that folder in Explorer. Hold down shift, and right-click in empty space. Chose "Open Command Window Here" from the list.
OR - From the command prompt, type 'cd C:\windows\lots\cbs' and hit Enter.
2.) Type the following command: findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt
3.) Enter
This will parce the CBS.log file and put the results into a text file named sfcdetails.txt, inside that folder. You can open this with notepad, wordpad, word, etc. What you are looking for are lines that say something to the effect of "Cannot repair member file XYZ". This is the file you need to manually copy. Either find said file on a working computer, or try to download it off the web from a trusted source. You can copy it to the correct location and overwrite the old one. Reboot when finished and run SFC again to be sure everything is fixed.
Windows System File Checker tool
This command has been built into Windows since XP-SP3. It can be run from the command prompt (preferably elevated). This will scan all critical Windows system components and compare the file signatures to those within the WinSxS (formerly i386) folder. If any of them are damaged, it will copy snapshots of the original file back to the system folder. If files cannot be repaired, it will create a log file showing all such files.
1.) Open a command prompt
- Start -> All Programs -> Accessories -> Command Prompt
OR - Start -> {start typing the name 'command prompt', and it should appear in a list. Click or hit enter}
OR - Start -> Run -> {type 'cmd', hit enter}
OR - Key Combo Win+R -> {type 'cmd', hit enter }
OR (Windows 8 and newer) - Right-Click the start button area, chose 'Command Prompt (Admin)'
2.) Type the command: sfc /scannow
3.) Enter
The tool will take time to perform the scan. You [i]can[i] do other things while this happens. When finished, if all is well it should say no errors were found. If it was able to repair a problem, it should say files were repaired. If it could NOT fix the problem, it will say that some files could not be repaired.
If it did find corruption, then you most likely found whatever cause of Windows instability has been plaguing you recently. Corrupted system files can cause all sorts of bad behaviour from crashes, to blue screens, to things just locking up. You can either attempt a system restore (followed by another SFC scan to be sure), take it to a professional, or try a manual repair (instructions below).
How to find those files:
You will need to parse the CBS log file. This is for advanced users only.
1.) Open a command prompt in the folder C:\Windows\Logs\CBS
- Browse to that folder in Explorer. Hold down shift, and right-click in empty space. Chose "Open Command Window Here" from the list.
OR - From the command prompt, type 'cd C:\windows\lots\cbs' and hit Enter.
2.) Type the following command: findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt
3.) Enter
This will parce the CBS.log file and put the results into a text file named sfcdetails.txt, inside that folder. You can open this with notepad, wordpad, word, etc. What you are looking for are lines that say something to the effect of "Cannot repair member file XYZ". This is the file you need to manually copy. Either find said file on a working computer, or try to download it off the web from a trusted source. You can copy it to the correct location and overwrite the old one. Reboot when finished and run SFC again to be sure everything is fixed.