HELP sfc /scannow

  1. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    Reference: System File Checker

    In attempting to run this command from the Adminstrator: Command Prompt, the command starts and then stops at 8% complete, then breaks out saying...
    Windows Resource Protection could not perform the requested operation.

    HELP!! Please....

    How do I fix this "sfc" function?
    Is it the command or is it the data it's scanning?
    I've never tried this command before.
    If Vista does't support the command, how did it start in the first place?
     
  2. Hengis

    Hengis Proud PCHF'er since 2004 Tech Member Elite Member

    Joined:
    Jan 1, 2004
    Posts:
    39,703
    Likes Received:
    5,037
    Local time:
    08:31
    My System
    Loading...

    To run sfc /scannow in Vista you'll need to run it in an Admin elevated way;
    To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow - then go ahead and run your command line...
     
  3. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    I did. That is how I got to the Adminstrator: Command Prompt.
    The command stops running at 8%.
    I tried it more than once.
     
  4. merlin

    merlin Well-Known Member Tech Member Elite Member PCHF $Donator

    Joined:
    Jul 12, 2005
    Posts:
    3,164
    Likes Received:
    60
    Local time:
    02:31
    My System
    Loading...

    I know this is an easy question but do you have your VISTA cd in the drive?

    You can also try safe mode with command prompt..
     
  5. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    Did a Safe mode reboot...put the Vista DVD in the drive...activated the Adminstrator: Command Prompt...ran the command sfc /scannow...and it still broke out at 8%.
    Grrrrrrrrrrrrrrr.

    Next idea...Please.
     
  6. GaRHaR

    GaRHaR Well-Known Member Tech Member Elite Member

    Joined:
    Jul 3, 2006
    Posts:
    6,159
    Likes Received:
    37
    Local time:
    16:31
    My System
    Loading...

    I'd suggest try turning off UAC and try running it again.
     
  7. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    N O P E ....Still breaks out at 8%
    No change it text response.

    Next idea. Please...
     
  8. GaRHaR

    GaRHaR Well-Known Member Tech Member Elite Member

    Joined:
    Jul 3, 2006
    Posts:
    6,159
    Likes Received:
    37
    Local time:
    16:31
    My System
    Loading...

    .....bah.
    Hrm....ok...the only real idea i've found while looking is to do an undesirable repair install of Vista..which is a stupid solution in my opinion...
     
  9. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    Reference...
    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program generates in Windows Vista

    Extract from c:\windows\logs\cbs\cbs.log

    ===============================================================

    2007-05-07 14:15:32, Info CSI 00000053 [SR] Beginning Verify and Repair transaction
    2007-05-07 14:15:32, Error CSI 00000054 (F) STATUS_OBJECT_NAME_NOT_FOUND #639705# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowSharingViolation), handle = {provider=NULL, handle=0}, da = (STANDARD_RIGHTS_READ|FILE_READ_ATTRIBUTES), oa = @0x8ce8a4->OBJECT_ATTRIBUTES {s:24; rd:NULL; on:[121]"\??\C:\Windows\WinSxS\x86_microsoft-windows-audio-dsound.resources_31bf3856ad364e35_6.0.6000.16386_en-us_59c3aa5060640f47"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x8ce8c4, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = 0x00004000, eab = NULL, eal = 0, disp = Invalid)

    2007-05-07 14:15:32, Error CSI 00000055@2007/5/7:05:15:32.551 (F) d:\vistartm\base\wcp\sil\merged\ntu\ntsystem.cpp(1461): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
    [gle=0x80004005]
    2007-05-07 14:15:40, Error CSI 00000056 (F) STATUS_OBJECT_NAME_NOT_FOUND #639704# from Windows::Rtl::SystemImplementation::CDirectory::OpenExistingDirectory(...)
    2007-05-07 14:15:40, Error CSI 00000057 (F) STATUS_OBJECT_NAME_NOT_FOUND #639703# from Windows::Rtl::SystemImplementation::CDirectory_IRtlDirectoryTearoff::OpenExistingDirectory(flags = 0, da = (SYNCHRONIZE), oa = @0x8cec78->SIL_OBJECT_ATTRIBUTES {s:20; on:"x86_microsoft-windows-audio-dsound.resources_31bf3856ad364e35_6.0.6000.16386_en-us_59c3aa5060640f47"; a:(OBJ_CASE_INSENSITIVE)}, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|FILE_OPEN_FOR_BACKUP_INTENT), dir = NULL, disp = (null))


    =================================================================

    I think I am missing this folder and the file that is meant to be in it...

    C:\Windows\WinSxS\x86_microsoft-windows-audio-dsound.resources_31bf3856ad364e35_6.0.6000.16386_en-us_59c3aa5060640f47

    While I can create the folder (I think...Permissions?)....What file is meant to go in it?
     
  10. GaRHaR

    GaRHaR Well-Known Member Tech Member Elite Member

    Joined:
    Jul 3, 2006
    Posts:
    6,159
    Likes Received:
    37
    Local time:
    16:31
    My System
    Loading...

    Well that's just confusing...

    Give me a bit to read through that and i'll see what it means ;)
     
  11. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    STOP THE PRESSES!!!....I fix it.

    All I had to do was, replaced the motherboard, the power supply, and the chassis. Then, reformat the HDD and reinstall Vista, because of HAL...(Thank you very much, HAL...Not at all, Dave.) It only cost me $350 and the tech through in his service for free. Now as a result of running sfc /SCANNOW, I get.......

    Verification 99% complete.
    Windows Resource Protection did not find any integrity violations.

    At first, I thought it had broken out at 99%. That would have been weird until I read the second line.

    No CD/DVD in the drive... no Safe Mode, just Adminstrator: Command Prompt and run the command. Smooth as a baby's behind.

    Thanks for all the help...
     
  12. Gandalf

    Gandalf The White Wizard Tech Member Elite Member PCHF $Donator

    Joined:
    Apr 27, 2007
    Posts:
    7,468
    Likes Received:
    1,012
    Local time:
    00:31
    My System
    Loading...

    According to a MS Tech, concerning the functionality behind the sfc/scannow command.

    "Windows Vista works with Hard links, which are essentially pointers to the actual file location. Most of the files in the system32 are in reality hard links which are pointers to the actual file. So the hard link in the winsxs would normally be in a better state since it’s not as exposed as the system32. Most applications and processes are familiar with the system32 folder and attempt to make changes against that folder. So when we validate a file we have to look at the actual file and what hard links exist to the that file."
     
  13. GaRHaR

    GaRHaR Well-Known Member Tech Member Elite Member

    Joined:
    Jul 3, 2006
    Posts:
    6,159
    Likes Received:
    37
    Local time:
    16:31
    My System
    Loading...

    Thanks for the info wabeard...not sure how i missed your last post here ;)

    Good stuff! :)
     
Similar Threads
Forum Title Date
Windows Vista Black Screen Help Upon Turning On Laptop Aug 25, 2014
Windows Vista Windows Vista help Jul 3, 2014
Windows Vista Had xp ran fine now installed vista and all i get is a blank screen. Help! Apr 11, 2014
Windows Vista Need help, Windows Vista wont boot Feb 19, 2014