Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: sfc /scannow runs completely then disappears

15 Nov 2012   #11
caperjack

win8pro 32 bit win 7Ulitmate 32 bit
 
 

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 System SpecsSystem Spec
.

16 Nov 2012   #12
kronckew

Win 7 ultimate x64 sp1
 
 

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 System SpecsSystem Spec
27 Nov 2012   #13
Gorham

Windows 7 Professional 64bit
 
 

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?

G.
My System SpecsSystem Spec
.


27 Nov 2012   #14
F5ing

Windows 7 Ultimate x64
 
 

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.

Quote   Quote: Originally Posted by Gorham View Post
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"
Quote   Quote: Originally Posted by koolkat77 View Post
My System SpecsSystem Spec
28 Nov 2012   #15
Gorham

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by F5ing View Post
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!!
My System SpecsSystem Spec
28 Nov 2012   #16
F5ing

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Gorham View Post
Quote   Quote: Originally Posted by F5ing View Post
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!!
Hmm. So you'll fit in just right around here.
My System SpecsSystem Spec
30 Jan 2015   #17
orpretsaM

windows 8 x64
 
 

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
My System SpecsSystem Spec
Reply

 sfc /scannow runs completely then disappears




Thread Tools





Similar help and support threads
Thread Forum
Completely locked out NOTHING runs
Hi, My computer is stuck on the desktop. I can't run any program at all!!! All I get is the following error message: {26EE0668-A00A-44D7-9371-BEB064C98683}\0 The server process could not be started because the configured identity is incorrect. Check the username and password I can't check it...
General Discussion
WDC Green: 750 GB runs Hot, 4 TB runs Cool ???
I have two external hard drives, both in Vantec NexStar3 USB enclosures. The older 750 GB WDC Green drive runs HOT to the touch, the 4 TB, and the 2 TB before that, run pretty warm but never hot. Why might this be, and would that much heat cause earlier than necessary drive failure?
Performance & Maintenance
Sound just completely disappears but Headphones work?
Hello, I am completely at a loss! Having tried everything from updating drivers, uninstalling soundcard rebooting and installing again and finally system restore. The problem is if the pc is left on for a while the sound will go. Speakers work fine. Here is my system sound spec: ...
Sound & Audio
Computer runs really slow in normal mode, but runs fine in safe mode
I recently re-formatted my Sony VAIO since it was starting to run super slow. Now that I re-installed Windows 7 on it through recovery disks, it worked fined for about a day but then the problem came back. The computer is slow at bootup and runs super slow while freezing so many times. I am running...
BSOD Help and Support
hp dv with win 7 still runs
just replaced the motherboard on my dv9205 with a later model dv9913 motherboard works ok everything on the screen is a little wide the graphics card rating in windows 7 system properties is 1.0 should be a 4.1 and it runs superpi slow 45 sec but downloads transfers files ok could this be i need...
General Discussion
Partition disappears
I have a problem with my computer and I hope that you can help me: Out of the blue, my E partition have suddenly started disappearing. I can find it under diskmanagement where it has been transformed into an OEM partition and i have also managed to turn it back into a normal partition with the...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App