sfc /scannow run from Installation Disk

Page 4 of 6 FirstFirst ... 23456 LastLast

  1. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #31

    I've uploaded a file - rbnaa.zip - to my SkyDrive at Noel's SkyDrive
    Please download and save it.

    Right-click on the saved file and select Extract all...
    Change the target to C:\ and click on Extract
    Close all windows (it would be a good idea to print these instructions!)
    Now reboot to the Repair Environment - as soon as the machine restarts, start tapping F8 - this should bring up the Advanced Boot Menu, at the top of which should be the option 'Repair my Computer'
    Pick that
    You'll have to log in with your username and password.

    Pick the option to use a Command Prompt
    At the prompt type
    DIR C:\rbnaa
    hit the enter key - if you get a 'Not Found' error try
    DIR D:\rbnaa
    or
    DIR E:\rbnaa


    The drive letter in use when you find the folder will need to be substituted (for<drive>) into the following command...

    XCOPY <drive>:\rbnaa <drive>:\windows\winsxs /y /i /s /v /h

    (e.g.XCOPY P:\wfire P:\windows\winsxs /y /i /s /v /h )

    run the command (it should take almost no time)and when the prompt returns, type
    EXIT
    and hit the Enter key to exit Command Prompt - reboot to Normal Mode Windows.

    Now run SFC /SCANNOW in an Elevated Command Prompt
    then reboot and upload the new CBS.log file to your reply.


    Also - run the following commands in an Elevated Command Prompt, and post the results.

    ICACLS C:\Windows\System32
    ICACLS C:\Windows


    Here are some instructions to make life easier :)
    1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
    2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
    3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.

      My Computer


  2. Posts : 24
    Windows 7 Home Premium 64 bit
    Thread Starter
       #32

    Thank you my friend! That worked! sfc: "Windows Resource Protection did not find any integrity violations". I appreciate you taking the time to help me. Do you still want me to run the two ICACLS commands?
      My Computer


  3. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #33

    Yes run them, Noel will help get your system back in shape.
      My Computer


  4. Posts : 24
    Windows 7 Home Premium 64 bit
    Thread Starter
       #34

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>ICACLS C:\Windows\System32
    C:\Windows\System32 NT SERVICE\TrustedInstaller:(F)
    NT SERVICE\TrustedInstaller:(CI)(IO)(F)
    NT AUTHORITY\SYSTEM:(M)
    NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
    BUILTIN\Administrators:(M)
    BUILTIN\Administrators:(OI)(CI)(IO)(F)
    BUILTIN\Users:(RX)
    BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
    CREATOR OWNER:(OI)(CI)(IO)(F)
    Successfully processed 1 files; Failed processing 0 files
    C:\Windows\system32>ICACLS C:\Windows
    C:\Windows NT SERVICE\TrustedInstaller:(F)
    NT SERVICE\TrustedInstaller:(CI)(IO)(F)
    NT AUTHORITY\SYSTEM:(M)
    NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
    BUILTIN\Administrators:(M)
    BUILTIN\Administrators:(OI)(CI)(IO)(F)
    BUILTIN\Users:(RX)
    BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
    CREATOR OWNER:(OI)(CI)(IO)(F)
    Successfully processed 1 files; Failed processing 0 files
    C:\Windows\system32>
    Last edited by rickburton; 28 Jan 2014 at 11:51.
      My Computer


  5. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #35

    If you use either the big Post Reply or Go Advanced button, there is a box to check to Disable Smileys in text below the reply field.

    sfc /scannow run from Installation Disk-smilies.png
      My Computer


  6. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #36

    That's OK - I read Smiley :)

    It looks like the Ownership is the only thing that you changed? If that's the case, then just run the following command in an elevated Command Prompt

    ICACLS C:\WIndows\System32 /setowner "NT Service\TrustedInstaller"

    Did you also change the ownership of the subfolder and files? (which would make a repair a lot more complex).
      My Computer


  7. Posts : 24
    Windows 7 Home Premium 64 bit
    Thread Starter
       #37

    No, in all but one instance I only took ownership of the file, When replacing the file in the sysWOW64 folder I had to take ownership. I looked at the permissions, took ownership, replaced the file, and set permissions back to what they were. I thought I did.
      My Computer


  8. Posts : 24
    Windows 7 Home Premium 64 bit
    Thread Starter
       #38

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection did not find any integrity violations.

    C:\Windows\system32>ICACLS C:\WIndows\System32 /setowner "NT Service\TrustedInst
    aller"
    C:\WIndows\System32: Access is denied.
    Successfully processed 0 files; Failed processing 1 files

    C:\Windows\system32>
      My Computer


  9. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #39

    OK - Please check using Windows Explorer who the current owner of the folder is (it should be TrustedInstaller, in which case no further action is required.)

    Sorry- it's my mistake in the first place for forgetting that it was the SysWOW64 folder that needed ching rather than the System32 folder!


    Just to double-check - please run the following command and post the results.

    ICACLS C:\Windows\SysWOW64

    (they should be identical to the System32 folder - I think!)
      My Computer


  10. Posts : 24
    Windows 7 Home Premium 64 bit
    Thread Starter
       #40

    Correct, Trusted Installer is owner.
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>ICACLS C:\Windows\SysWOW64
    C:\Windows\SysWOW64 CREATOR OWNER:(OI)(CI)(IO)(F)
    NT AUTHORITY\SYSTEM:(OI)(CI)(F)
    BUILTIN\Administrators:(OI)(CI)(F)
    BUILTIN\Users:(OI)(CI)(RX)
    NT SERVICE\TrustedInstaller:(CI)(F)

    Successfully processed 1 files; Failed processing 0 files

    C:\Windows\system32>
      My Computer


 
Page 4 of 6 FirstFirst ... 23456 LastLast

  Related Discussions
Our Sites
Site Links
About 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 00:57.
Find Us