Solved sfc /scannow runs completely then disappears

Gorham

New member
Member
Local time
7:30 PM
Messages
59
Location
Gorham, Maine
I'm trying to scan my system to find out why I keep getting the infamous "has stopped working" message. I'll post that separately. But my problem with the scan is that the window comes up and the scan runs all the way to 100% and then the window closes. Actually I can only see it to 99% because of that automatic closing.

From all I've read, I'm supposed to get information from that window even if it doesn't find any problems.

So not *it* seems to be a problem.

Suggestions, as always, most welcome and received with thanks.

"G"
 

My Computer My Computer

At a glance

Windows 7 Professional 64bitIntel Core i3-2020 @ 3.3GHz3.00 GBIntel HD Graphics Family
Computer Manufacturer/Model Number
Dell Optiplex 990
OS
Windows 7 Professional 64bit
CPU
Intel Core i3-2020 @ 3.3GHz
Memory
3.00 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Realtek High Definition Audio (integrated)
Monitor(s) Displays
Dell P2411H Analog (flat screen)
Screen Resolution
1920 x 1080
Hard Drives
300 GB SATA (Internal)
300 GB SATA (External) x 2
LaCie d2 quadra 500 GB
FreeAgency GoFlex Drive (NTFS) 2 TB
PSU
Yup
Case
Black
Cooling
2 fans
Keyboard
Microsoft ComfortCurve 2000
Mouse
Microsoft Optical
Internet Speed
Apparently a variable. Supposed to be cable modem speed.

My Computer My Computer

At a glance

Windows 10 Home 64BitIntel Core i5 10400 @ 2.90GHz8.00GB Single-Channel Unknown @ 1329MHz (16-2...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self assembled
OS
Windows 10 Home 64Bit
CPU
Intel Core i5 10400 @ 2.90GHz
Motherboard
Intel Corporation DG41WV (PROCESSOR)
Memory
8.00GB Single-Channel Unknown @ 1329MHz (16-20-20-38)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
DELL E170S
Screen Resolution
1280x1024 pixels
Hard Drives
931GB TOSHIBA DT01ACA100 (SATA)
238GB TEAM TM8PS7256G (SATA SSD)
Case
Nothing Fancy
Cooling
Fans
Keyboard
A4 Tech Co LTD
Mouse
A4 Tech Co Ltd/Logitech
Internet Speed
25 Mbps
I use ESET Nod 32 AV and run Malwarebytes Anti-Malware - both up to date.

I ran TDS SKiller and nothing was detected. The report is l-o-n-g so I've attached it as a text file. Hope that's okay.

I know I have to go through a number of steps to maybe find the right one. Thanks much for helping with that.

"G"
 

Attachments

My Computer My Computer

At a glance

Windows 7 Professional 64bitIntel Core i3-2020 @ 3.3GHz3.00 GBIntel HD Graphics Family
Computer Manufacturer/Model Number
Dell Optiplex 990
OS
Windows 7 Professional 64bit
CPU
Intel Core i3-2020 @ 3.3GHz
Memory
3.00 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Realtek High Definition Audio (integrated)
Monitor(s) Displays
Dell P2411H Analog (flat screen)
Screen Resolution
1920 x 1080
Hard Drives
300 GB SATA (Internal)
300 GB SATA (External) x 2
LaCie d2 quadra 500 GB
FreeAgency GoFlex Drive (NTFS) 2 TB
PSU
Yup
Case
Black
Cooling
2 fans
Keyboard
Microsoft ComfortCurve 2000
Mouse
Microsoft Optical
Internet Speed
Apparently a variable. Supposed to be cable modem speed.

My Computer My Computer

At a glance

Windows 10 Home 64BitIntel Core i5 10400 @ 2.90GHz8.00GB Single-Channel Unknown @ 1329MHz (16-2...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self assembled
OS
Windows 10 Home 64Bit
CPU
Intel Core i5 10400 @ 2.90GHz
Motherboard
Intel Corporation DG41WV (PROCESSOR)
Memory
8.00GB Single-Channel Unknown @ 1329MHz (16-20-20-38)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
DELL E170S
Screen Resolution
1280x1024 pixels
Hard Drives
931GB TOSHIBA DT01ACA100 (SATA)
238GB TEAM TM8PS7256G (SATA SSD)
Case
Nothing Fancy
Cooling
Fans
Keyboard
A4 Tech Co LTD
Mouse
A4 Tech Co Ltd/Logitech
Internet Speed
25 Mbps
Last edited by a moderator:

My Computer My Computer

At a glance

win8pro 32 bit win 7Ulitmate 32 bitintel duel core 2.133 gig ddr2ATI Radeon 5400 series 1gig ddr3
Computer Manufacturer/Model Number
Dell optiplex 745 sff
OS
win8pro 32 bit win 7Ulitmate 32 bit
CPU
intel duel core 2.13
Motherboard
dell
Memory
3 gig ddr2
Graphics Card(s)
ATI Radeon 5400 series 1gig ddr3
Sound Card
onboard Intel hd
Monitor(s) Displays
ViewSonic LCD 19"
Screen Resolution
1680x1050
Hard Drives
320 gig external
Keyboard
Microsoft curve 2000
Mouse
lenovo
Internet Speed
20high speed
I'm having the devil of a time actually getting to a boot command prompt. I made a windows repair disk but can't get my machine to boot to it even though I changed the order of boot devices in my bios. I'll figure it out but right now I'm limping by with what I've got because I have some things (such a surprise!) that have to be attended to. I'll post again when I can.

Thanks for the help. And patience.

"G"
 

My Computer My Computer

At a glance

Windows 7 Professional 64bitIntel Core i3-2020 @ 3.3GHz3.00 GBIntel HD Graphics Family
Computer Manufacturer/Model Number
Dell Optiplex 990
OS
Windows 7 Professional 64bit
CPU
Intel Core i3-2020 @ 3.3GHz
Memory
3.00 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Realtek High Definition Audio (integrated)
Monitor(s) Displays
Dell P2411H Analog (flat screen)
Screen Resolution
1920 x 1080
Hard Drives
300 GB SATA (Internal)
300 GB SATA (External) x 2
LaCie d2 quadra 500 GB
FreeAgency GoFlex Drive (NTFS) 2 TB
PSU
Yup
Case
Black
Cooling
2 fans
Keyboard
Microsoft ComfortCurve 2000
Mouse
Microsoft Optical
Internet Speed
Apparently a variable. Supposed to be cable modem speed.
Can you attempt SFC scan in safe mode? Are you able to upload the CBS log file?
 

My Computer My Computer

At a glance

Windows 10 Home 64BitIntel Core i5 10400 @ 2.90GHz8.00GB Single-Channel Unknown @ 1329MHz (16-2...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self assembled
OS
Windows 10 Home 64Bit
CPU
Intel Core i5 10400 @ 2.90GHz
Motherboard
Intel Corporation DG41WV (PROCESSOR)
Memory
8.00GB Single-Channel Unknown @ 1329MHz (16-20-20-38)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
DELL E170S
Screen Resolution
1280x1024 pixels
Hard Drives
931GB TOSHIBA DT01ACA100 (SATA)
238GB TEAM TM8PS7256G (SATA SSD)
Case
Nothing Fancy
Cooling
Fans
Keyboard
A4 Tech Co LTD
Mouse
A4 Tech Co Ltd/Logitech
Internet Speed
25 Mbps
I'm having the devil of a time actually getting to a boot command prompt. I made a windows repair disk but can't get my machine to boot to it even though I changed the order of boot devices in my bios. I'll figure it out but right now I'm limping by with what I've got because I have some things (such a surprise!) that have to be attended to. I'll post again when I can.

Thanks for the help. And patience.

"G"

Is the DVD boot attempt timing out and defaulting to a normal HDD boot (eg, "Press any key to boot from...")?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
sfc when it finishes will close the command window. it's results are in a log file that is hidden away in a folder somewhere in the system log files (see below for location).

i wrote a batch command file to filter the relevant log file lines into a root file, then open that filtered log in the editor so it can be reviewed. it will also keep the command window open until you close the editor. the sfcdetails.txt file stays in the root in case you want to see it again. the batch file clears the logs before running sfc. i created the batch file in the root also so when i want to run it, i open a cmd prompt, type startsfc & hit return.

batch file 'startsfc.cmd' contents:

@echo off
rem delete old files
del /q %windir%\logs\cbs\cbs.log
del /q c:\sfcdetails.txt
rem run sfc
sfc /scannow
rem filter out non essential junk from the cbs.log
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >c:\sfcdetails.txt
rem open details in notepad
notepad c:\sfcdetails.txt
rem optional command to shut down & restart pc after running. this may be needed if
rem sfc replaces some critical files. uncomment (remove the 'rem') to activate.
rem shutdown -r
exit
 

My Computer My Computer

At a glance

Win 7 ultimate x64 sp1Intel i7 4 core 3770k ivy bridge o/c to 4.2ghz16 GBNvidia geforce GTX650
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build Nanu by 3SX
OS
Win 7 ultimate x64 sp1
CPU
Intel i7 4 core 3770k ivy bridge o/c to 4.2ghz
Motherboard
Asus p8z77-i Deluxe
Memory
16 GB
Graphics Card(s)
Nvidia geforce GTX650
Sound Card
Realtek on mb
Monitor(s) Displays
24in. lcd/led
Screen Resolution
1920x1080
Hard Drives
128GB Kingston SSD
500GB seagate maximus xt hybrid
500GB hitachi HD
500GB external WD Passport usb3
PSU
Silverstone 450 watt
Case
Silverstone FT03 Black Fortress
Cooling
Water cooler
Keyboard
Logitech wireless kbd/mouse mk300
Mouse
Logitech wireless kbd/mouse mk300
Internet Speed
8mb adsl (actuall speed is around 6mb)
Other Info
Asus DSL-N55U wireless router
SONY BC-5850H 6X BLURAY writer
OUTPOST Security Suite
I'm paying attention. Just can't dig deeper for a couple of days. Since the system's working, albeit with a few quirks, I'm not messin' with it for now. The quirks are what started this but they're stable. Hmm. Can quirks actually BE stable?

Anyway, I will attend to the suggestions a post back. Promise!

Continued thanks.

G
 

My Computer My Computer

At a glance

Windows 7 Professional 64bitIntel Core i3-2020 @ 3.3GHz3.00 GBIntel HD Graphics Family
Computer Manufacturer/Model Number
Dell Optiplex 990
OS
Windows 7 Professional 64bit
CPU
Intel Core i3-2020 @ 3.3GHz
Memory
3.00 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Realtek High Definition Audio (integrated)
Monitor(s) Displays
Dell P2411H Analog (flat screen)
Screen Resolution
1920 x 1080
Hard Drives
300 GB SATA (Internal)
300 GB SATA (External) x 2
LaCie d2 quadra 500 GB
FreeAgency GoFlex Drive (NTFS) 2 TB
PSU
Yup
Case
Black
Cooling
2 fans
Keyboard
Microsoft ComfortCurve 2000
Mouse
Microsoft Optical
Internet Speed
Apparently a variable. Supposed to be cable modem speed.
bleepingcomputer help forum recommends this program/tool called windows all in one repair tool ,has a few function ,but one I do use is that it will run SFC /scannow for you from the desktop , from wwwtweakingcom
Windows Repair (All In One)
 

My Computer My Computer

At a glance

win8pro 32 bit win 7Ulitmate 32 bitintel duel core 2.133 gig ddr2ATI Radeon 5400 series 1gig ddr3
Computer Manufacturer/Model Number
Dell optiplex 745 sff
OS
win8pro 32 bit win 7Ulitmate 32 bit
CPU
intel duel core 2.13
Motherboard
dell
Memory
3 gig ddr2
Graphics Card(s)
ATI Radeon 5400 series 1gig ddr3
Sound Card
onboard Intel hd
Monitor(s) Displays
ViewSonic LCD 19"
Screen Resolution
1680x1050
Hard Drives
320 gig external
Keyboard
Microsoft curve 2000
Mouse
lenovo
Internet Speed
20high speed
the tweaking.com all-in-one reair util is a good one, i recommend it to everyone.

the sfc option (step 3) does indeed run it, but doesn't provide any result details (like my script does)
 

My Computer My Computer

At a glance

Win 7 ultimate x64 sp1Intel i7 4 core 3770k ivy bridge o/c to 4.2ghz16 GBNvidia geforce GTX650
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build Nanu by 3SX
OS
Win 7 ultimate x64 sp1
CPU
Intel i7 4 core 3770k ivy bridge o/c to 4.2ghz
Motherboard
Asus p8z77-i Deluxe
Memory
16 GB
Graphics Card(s)
Nvidia geforce GTX650
Sound Card
Realtek on mb
Monitor(s) Displays
24in. lcd/led
Screen Resolution
1920x1080
Hard Drives
128GB Kingston SSD
500GB seagate maximus xt hybrid
500GB hitachi HD
500GB external WD Passport usb3
PSU
Silverstone 450 watt
Case
Silverstone FT03 Black Fortress
Cooling
Water cooler
Keyboard
Logitech wireless kbd/mouse mk300
Mouse
Logitech wireless kbd/mouse mk300
Internet Speed
8mb adsl (actuall speed is around 6mb)
Other Info
Asus DSL-N55U wireless router
SONY BC-5850H 6X BLURAY writer
OUTPOST Security Suite
Quick update.

The system forced itself to revert to a restore point and right now everything except one legacy program is working fine. I can live with that one fussy app so, for now, I'm not rocking any boats.

There's one program that got removed the by the restore. It's called "Fences" and is supposed to be compatible so I'll give it another try AFTER setting a new point.

Anyway, for now I'm calling this done. I know we didn't actually solve it but I'm content to let it ride for now. I have made a record the the thread and will have options if/when it happens again.

SevenForums is just a great place to go when trouble strikes. So meanwhile, many, many thanks to you very fine helpers. Elves? :D

G.
 

My Computer My Computer

At a glance

Windows 7 Professional 64bitIntel Core i3-2020 @ 3.3GHz3.00 GBIntel HD Graphics Family
Computer Manufacturer/Model Number
Dell Optiplex 990
OS
Windows 7 Professional 64bit
CPU
Intel Core i3-2020 @ 3.3GHz
Memory
3.00 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Realtek High Definition Audio (integrated)
Monitor(s) Displays
Dell P2411H Analog (flat screen)
Screen Resolution
1920 x 1080
Hard Drives
300 GB SATA (Internal)
300 GB SATA (External) x 2
LaCie d2 quadra 500 GB
FreeAgency GoFlex Drive (NTFS) 2 TB
PSU
Yup
Case
Black
Cooling
2 fans
Keyboard
Microsoft ComfortCurve 2000
Mouse
Microsoft Optical
Internet Speed
Apparently a variable. Supposed to be cable modem speed.
Certainly glad to hear you're stable.

By the way, for future reference, if you run sfc per the tutorial posted by koolkat the command window you run it in will not disappear as the command completes. If it found problems you'll have to dig further, but if it comes up clean you'll see it in the window.

I'm trying to scan my system to find out why I keep getting the infamous "has stopped working" message. I'll post that separately. But my problem with the scan is that the window comes up and the scan runs all the way to 100% and then the window closes. Actually I can only see it to 99% because of that automatic closing.

From all I've read, I'm supposed to get information from that window even if it doesn't find any problems.

So not *it* seems to be a problem.

Suggestions, as always, most welcome and received with thanks.

"G"

 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Certainly glad to hear you're stable.

By the way ...

Thanks for that bit. Uh... it's the computer that's (reasonably) stable. Certainly not me!! :D
 

My Computer My Computer

At a glance

Windows 7 Professional 64bitIntel Core i3-2020 @ 3.3GHz3.00 GBIntel HD Graphics Family
Computer Manufacturer/Model Number
Dell Optiplex 990
OS
Windows 7 Professional 64bit
CPU
Intel Core i3-2020 @ 3.3GHz
Memory
3.00 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Realtek High Definition Audio (integrated)
Monitor(s) Displays
Dell P2411H Analog (flat screen)
Screen Resolution
1920 x 1080
Hard Drives
300 GB SATA (Internal)
300 GB SATA (External) x 2
LaCie d2 quadra 500 GB
FreeAgency GoFlex Drive (NTFS) 2 TB
PSU
Yup
Case
Black
Cooling
2 fans
Keyboard
Microsoft ComfortCurve 2000
Mouse
Microsoft Optical
Internet Speed
Apparently a variable. Supposed to be cable modem speed.
Scans and replaces any Microsoft Windows file on the computer
and replaces any changed file with the correct version. This is a
great command to run when you are running into an issue that is
difficult to troubleshoot.

Tested on Windows 8

SFC - system file checker tool
created by orpretsaM

PS: I'm the orpretsaM.

open notepad and paste this code, save as batch file

Name:
SFC-system_file_checker_tool-by_orpretsaM.bat

Code:


Code:
@ECHO OFF
mode 80,15
TITLE Check Privileges - By: orpretsaM

::checkPrivileges
::--------------------------------------------------------------------------
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' (
if '%~n0' == 'SFC-system_file_checker_tool-by_orpretsaM' (
GOTO:gotPrivileges
) ELSE (
setlocal DisableDelayedExpansion
set "batchPath=%~0"
set "batchDP=%~dp0"
set "batchName=SFC-system_file_checker_tool-by_orpretsaM"
setlocal EnableDelayedExpansion
(
ECHO Set UAC = CreateObject^("Shell.Application"^)
ECHO Set Fso = WScript.CreateObject^("Scripting.FileSystemObject"^)
ECHO Fso.MoveFile "!batchPath!", "!batchDP!!batchName!.bat"
ECHO UAC.ShellExecute "!batchDP!!batchName!.bat", "ELEV", "", "runas", 1
) > "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
)
) ELSE (
if '%~n0' == 'SFC-system_file_checker_tool-by_orpretsaM' (
if '%1'=='ELEV' (shift & GOTO:gotPrivileges)
echo msgbox "Current permissions inadequate. Administrative permissions required. Run as administrator." ,0 + 16, "System File Checker Tool - By: orpretsaM" > "%temp%\checkPrivileges.vbs"
start /wait %temp%\checkPrivileges.vbs
del /F "%temp%\checkPrivileges.vbs"
CLS
for /l %%i in (100,-1,1) do (
ECHO.
ECHO **************************************
ECHO Invoking UAC for Privilege Escalation
ECHO **************************************
ECHO Invoking UAC in %%i%% &Ping -n 1 0.0.0.0>nul 2>&1
CLS
)

setlocal DisableDelayedExpansion
set "batchPath=%~0"
set "batchDP=%~dp0"
set "batchName=SFC-system_file_checker_tool-by_orpretsaM"
setlocal EnableDelayedExpansion
(
ECHO Set UAC = CreateObject^("Shell.Application"^)
ECHO UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1
) > "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
) else (
if '%1'=='ELEV' (shift & GOTO:gotPrivileges)
echo msgbox "Current permissions inadequate. Administrative permissions required. Run as administrator." ,0 + 16, "System File Checker Tool - By: orpretsaM" > "%temp%\checkPrivileges.vbs"
start /wait %temp%\checkPrivileges.vbs
del /F "%temp%\checkPrivileges.vbs"
CLS
for /l %%i in (100,-1,1) do (
ECHO.
ECHO **************************************
ECHO Invoking UAC for Privilege Escalation
ECHO **************************************
ECHO Invoking UAC in %%i%% &Ping -n 1 0.0.0.0>nul 2>&1
CLS
)

setlocal DisableDelayedExpansion
set "batchPath=%~0"
set "batchDP=%~dp0"
set "batchName=SFC-system_file_checker_tool-by_orpretsaM"
setlocal EnableDelayedExpansion
(
ECHO Set UAC = CreateObject^("Shell.Application"^)
ECHO Set Fso = WScript.CreateObject^("Scripting.FileSystemObject"^)
ECHO Fso.MoveFile "!batchPath!", "!batchDP!!batchName!.bat"
ECHO UAC.ShellExecute "!batchDP!!batchName!.bat", "ELEV", "", "runas", 1
) > "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
))
GOTO:eof

:gotPrivileges
TITLE System File Checker Tool - By: orpretsaM
if exist '%temp%\OEgetPrivileges.vbs' (del /F '%temp%\OEgetPrivileges.vbs')
if exist '%temp%\ChangeName.vbs' (del /F '%temp%\ChangeName.vbs')
CLS
ECHO Options available:
ECHO.
ECHO  1. INFO
ECHO  2. Verify only
ECHO  3. Scan and repair
ECHO  4. Exit
ECHO.
CALL:info
:TOP
CLS
ECHO Options available:
ECHO.
ECHO  1. INFO
ECHO  2. Verify only
ECHO  3. Scan and repair
ECHO  4. Exit
ECHO.
SET /P TWK=Enter one option:
IF "%TWK%"=="4" exit
IF "%TWK%"=="3" goto SR
IF "%TWK%"=="2" goto VO
IF "%TWK%"=="1" CALL:info && GOTO:TOP
CLS
ECHO ERROR : Enter one available option
pause
GOTO:TOP

:VO
SFC /VERIFYONLY
PAUSE
GOTO:TOP

:SR
SFC /SCANNOW
PAUSE
GOTO:TOP

:info
echo msgbox "Scans and replaces any Microsoft Windows file on the computer and replaces any changed file with the correct version. This is a great command to run when you are running into an issue that is difficult to troubleshoot." ,0 + 64, "System File Checker Tool - By: orpretsaM" > "%temp%\info.vbs"
start /wait %temp%\info.vbs
del /F "%temp%\info.vbs"
GOTO:eof
 
Last edited:

My Computer My Computer

At a glance

windows 8 x64
Computer type
Laptop
OS
windows 8 x64
Back
Top