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 run from Installation Disk

28 Jan 2014   #31
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

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 System SpecsSystem Spec
.
28 Jan 2014   #32
rickburton

Windows 7 Home Premium 64 bit
 
 

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 System SpecsSystem Spec
28 Jan 2014   #33
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Yes run them, Noel will help get your system back in shape.
My System SpecsSystem Spec
.

28 Jan 2014   #34
rickburton

Windows 7 Home Premium 64 bit
 
 

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>
My System SpecsSystem Spec
28 Jan 2014   #35
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

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 System SpecsSystem Spec
28 Jan 2014   #36
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

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 System SpecsSystem Spec
28 Jan 2014   #37
rickburton

Windows 7 Home Premium 64 bit
 
 

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 System SpecsSystem Spec
28 Jan 2014   #38
rickburton

Windows 7 Home Premium 64 bit
 
 

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 System SpecsSystem Spec
28 Jan 2014   #39
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

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 System SpecsSystem Spec
28 Jan 2014   #40
rickburton

Windows 7 Home Premium 64 bit
 
 

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

 sfc /scannow run from Installation Disk




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Bad 7 OEM Installation Disk?
Afternoon - After days spent mucking about over the past week and a half I am still unable to install 7 onto a new build desktop system. Instead I am getting an endless reboot cycle. Components; CPU AMD Athlon Dual Core ] MB Asus ] Case Antec ]
Installation & Setup
How to make a duplicate disk of OS installation disk?
I have a windows 7 installation disk and I don't know whether it copyrighted protected or not. If protected then how to make a duplicate disk for backup?
General Discussion
optical disk installation of Windows 8 after a hard disk crash
I am preparing for a hard disk crash. I purchased a new PC with Windows 7 in June 2012. It came with a Samsung optical disk containing Windows 7. I am eligible for the $14.99 USD upgrade to Windows 8. Will there be an installation disk for Windows 8 available at this price and if not, then...
Installation & Setup
Question about sfc /scannow on Recovery Disk
Hello. For a while I have kept a copy of the Windows XP, Vista, and 7 recovery disks on a live USB. However, when booting from one and attempting to use the sfc /scannow command, it says that a repair is pending and to reboot and run sfc again. However, there isn't one running, so the command...
Performance & Maintenance
Move windows 7 installation from one disk partition to other disk part
Move windows 7 installation from one disk partition to other disk partition HI all , Before going into details of my problem, I am listing down my system setup. I have 3 HDDs on my pc with following details :- 1. Disk 0 - 500 GB - Windows 7 32-Bit Installation on C: - Partitions ( C -...
Installation & Setup
Need installation disk
Comprei um Sony Vaio VPCEE25FB. Ele veio com um Home Premium instalador e os arquivos de instalação em uma partição. Pedi a um amigo que desse uma corrigida em uns problemas e ele deu uma formatada geral e eliminou a tal partição. Não tô a fim de usar uma versão pirata e nem quero pagar de...
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 20:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App