New
#1
DISM and SFC
Greetings,
I am asking for some guidance regarding the above Windows features. I ask, knowing that perhaps there is no concrete answer to my question. Let me set it up.
I was trying to unfreeze a friend's machine. It was his second machine and hadn't been used in months. He thought that Norton trashed a Windows Update, as that was when the machine froze. I did the F8 and got into the pre-boot environment. There were no restore points, so I went to startup repair. That got me into a functioning Windows state. Very sluggish, but functioning.
First, I disabled Windows Update service temporarily. I created a restore point, did chkdsk - OK. Ran DISM /ScanHealth - OK. Ran SFC /Scannow - was unable to repair all files.
I then Disabled Norton, re-enabled Windows Update and let the updates happen. Then I re-enabled Norton. Windows didn't feel right (I know that's subjective), so I reverted to the System Restore point I had created. After 8 hours, I figured it either was done without telling, or it had crashed. I restarted the computer and Automatic Startup repair kicked in. In hindsight, I wonder if Norton messed with the restore.
ASR couldn't fix the machine. I booted into the installation media and opened repair. Startup Repair couldn't fix the computer. Tried the Restore point and the OS could not be found. I repaired the boot files and the OS was found but it wouldn't boot into the login screen.
Thanks for staying with me. I just wanted to list the steps so you know how I got to the bad state. So...I opened the command prompt and attempted to run SFC /Scannow. It wouldn't run in the recovery environment. I then ran BCDedit and found the OS. I added the source option to SFC, but it couldn't initialize.
Thinking it was a case of a bad image, I attempted to run DISM to repair the image. No way it was going to run. I'm sorry I can't remember each error; but every time I dealt with an error, a new one reared its ugly head.
I finally got the restore point to work. It still took several hours in the pre-boot environment, but it worked. Windows was unstable, so I saved all data and did a clean install.
So, yes there is a question or four :)
-is there a correct (foolproof) way to run DISM and then SFC from the installation media, targeting the OS?
-will DISM and SFC initialize if the registry is corrupt?
-if DISM and SFC can be run from the installation media, what are their limitations in terms of what they can fix?
-can DISM and SFC deal with a damaged registry?
In hindsight, perhaps I should have waited out the first restore. But it seemed pointless after 8 hours. Still...
Thanks so much in advance for your help,
Graham