Maintenance :: How To Repair System When Running SFC Or DISM
Jun 26, 2014
Recently I got problems when running SFC or DISM to repair my system. As far as I know it concerns the shortcuts in the folder Administrative Tools, there I changed under Properties the Run option to Maximised Windows and since then SFC and DISM have shown this error that the services are unable to download the proper source files (they admonish a mismatch I cannot correct).
I am running a Windows 8.1 Update 1 system without the Pro version, so I have no access to its exclusive features. I attach the corresponding log files after a run of DISM and SFC for more infos.
I ran SFC and it complained that some corrupt files could not be repaired.
Here's the relevant part of the log:
Code: 2014-09-17 00:06:45, Info CSI 00000520 [SR] Verifying 100 (0x0000000000000064) components2014-09-17 00:06:45, Info CSI 00000521 [SR] Beginning Verify and Repair transaction2014-09-17 00:06:46, Info CSI 00000522 Hashes for file member
My Toshiba laptop/Windows 8.1 installed a VLC Media player & Malware bytes today. I was instructed to Restart as 'drivers not working properly' & since then have been on the Automatic Repair loop. It says it cannot fix it - log file: C:WINDOWSSystem32LogfilesSrtSrtTrail.txt, & I tried a few System Restore points but that just says -
System Restore could not access a file. This is probably because an anti-virus program is running on the computer . Temporarily disable your antivirus program and retry System Restore. You can try System Restore again If you continue to see this error, you can try an advanced recovery method.
Thing is I can't get into Windows or my laptop to disable the antivirus program.
I don't have any CD or DVD & no product key as the disc has been misplaced.
I have Windows 8 64 bit Pro Edition working fine using UEFI boot from a SSD disk. I've twice created a system repair disk on DVD but when I use boot override in the BIOS to boot from the DVD, I get the message "Non-system disk....
Over a month ago, I noticed that my system had started to become very slow, taking a long time to switch between apps, or between tabs in Chrome (even with only a few tabs open).
I've constantly had Resource Monitor open to try and track down the source of the problem. Initially, I thought this was a problem with Chrome or my pagefile, because Chrome was often at/near the top of Disk Activity, manipulating pagefile.sys. However, it seems like the amount of data being manipulated isn't very large; typically well below 1 MB/sec. I tried moving my pagefile to a secondary hard drive to no effect.
I've downloaded and run multiple programs to check hard drive health, and none of them have found any problems. I'm not talking about simple S.M.A.R.T. diagnostics, but in-depth scans.
Thinking that it might be a problem with Windows 7 at the time, I wiped the drive and installed Windows 8.1. I installed the latest motherboard drivers and disabled Windows search and file indexing. The problem remains. The fact that the problem persists after wiping the drive had me thinking it's likely a hardware problem. Alas, various hard drive scanners haven't found a problem.
I have 8GB of memory; rarely is more than 4GB ever in use. Both of my hard drives have plenty of free space (400+ GB each).
Windows Update works.Everything below is done in an elevated command window.SFC /scannow fails. Error is "Windows Resource Protection found corrupt files but was unable to fix some of them."DISM /Online /Cleanup-Image /StartComponentCleanup completes without error.DISM /Online /Cleanup-Image /ScanHealth completes. Says corruption is repairable.DISM /Online /Cleanup-Image /RestoreHealth fails with error code 0x800f081f.DISM log is full of Chinese characters (attached).SFCFIX completes. Says there is no corruption.Tried above in safe mode w/ networking. SFC and DCIM fail to complete.Ran Microsoft Safety Scanner against computer. No infected files.Ran SFC and DISM 11 times.Compared SFC and DISM logs to a set on a working computer (no errors). Exceptions in faulty computer logs are also present in working computer logs.
When I run SFC, I get "Windows Resources did not find any integrity violations", however when I run DISM, I get the message "The component store is repairable" and "Could not locate source file" messages. This seems to be inconsistent - is there something I should do, or is it normal? Just trying to understand the results when I run these.
After updating to 8.1u1, i'm running "dism /online /cleanup-image /restorehealth" and I get the following:
C:WindowsLogsDISM>dism /online /cleanup-image /restorehealth Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Image Version: 6.3.9600.17031 [==========================100.0%==========================] The restore operation failed. Either the repair source was not found or the comp onent store cannot be repaired. Error: 0x800f081f DISM failed. No operation was performed. For more information, review the log file. The DISM log file can be found at C:WindowsLogsDISMdism.log
I have a desktop computer running Windows 8.1 Pro 64-bit. My computer suffered from an improper shutdown during a power outage. I am getting multiple error messages on logging in, and the sfc /scannow command shows several corrupt files, including msvcr80.dll and multiple others, preventing programs like Microsoft Word from running properly.
I am getting the message after running sfc /scannow in an elevated command prompt that Windows Resource Protection found corrupt files but was unable to fix some of them.
Details are included in the CBS.Log %WinDir%LogsCBSCBS.log. I used the findstr /c:"[SR]" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfcdetails.txt" command to get this log outputted to a sfcdetails.txt log, and it shows which files are corrupt.
I then decided to turn to DISM, in an elevated command prompt, to ensure the component store was good, so that SFC can fix the files. This is where I am getting lost.
Dism /Online /Cleanup-Image /CheckHealth states that: The component store is repairable. However, when I run Dism /Online /Cleanup-Image /RestoreHealth , I am told (after some minutes of it running) that DISM failed, no operation was taken, with an error code of 0x80240021.
Looking at the dism.log file, I am seeing a very long log. These are the initial lines:
 Caller did not request sparse mount  Mounting new image. Wim: [?GLOBALROOTdeviceharddisk0partition1RecoveryWindowsREWinre.wim] Image Index:  Mount Path: [C:WINDOWSTEMP35f47719-b059-4f12-b5ee-101b2768bade]
From what I can make, some file name or directory is incorrect? I have attached my dism.log file (saved as a .doc file for attachment purposes), my sfcdetails.txt log (obtained from the sfc /scannow function), and a screenshot of the Repair-WindowsImage -Online -RestoreHealth error message when I run it in PowerShell. How I can run DISM correctly to fix my component store.
First let me say, I rarely leave my 8.1 system running all night as I generally switch off before bed.
On the FEW occasions I leave the system running all night I always get the "Your computer is low on memory" warning.
For instance, yesterday my software RAID mirror was "Re-synchronizing" and I wanted it to complete syncing so I left it running. NOTHING was running except Disk Manager. I closed down everything else. No browser, no Skype, no directory utility, no paint, no uTorrent....
Sure enough when I woke up this morning there it was....
A few days ago I wanted a couple of torrents to keep downloading so I kept the desktop running. Again NOTHING else was running and in the morning there it was....
I have 16Gb of memory and my pagefile.sys is 42Gb. My OS disc is a 250Gb SSD. I have set my system to hibernate after 5 hours idle. I have set the screen/display to sleep after 30 minutes.
The system isn't asleep when I wake as moving the mouse immediately brings the display back on line. Checking Task Manager shows NO memory hogs.
What I suspect is after 5 hours the hibernation process denies access to memory requests or something?
The strange thing is millions of people on 8.1 must leave their systems running all night but I have seen no mention of this behaviour.
I am trying to create a system repair disc, and I am getting the message: "do not have the files to create system repair disc". Why? How do I get those files. Never had a problem like this trying to create a system back up in the past. Running Windows 8.
I had a problem where I was running UEFI with secure boot disabled and dual booting with Linux Mint which is UEFI compliant. Mint had installed Grub, Mint's boot manager but I don't like Grub so i installed rEFInd. Unlike Grub rEFInd has support for UEFI and should have worked better as a boot manager. But it gave me problems too. So I had Grub and rEFInd both installed. I could boot to both Mint and Windows but the boot managers, both Grub or rEFInd, would not show at startup like they are supposed to.
I had to boot the PC, then hit Escape getting into my options menu built into the system, hit F9 to get a list of boot options where i could then choose to boot from hard drive, cd rom, usb etc. rEFInd was in this list. Only after choosing rEFInd from here, was I able to open rEFInd and choose Windows or Mint. This is way too many steps to boot into an OS, so i thought i'd try to use the system repair disk to repair my master boot record or the EFI data that the system uses at boot under UEFI. I forgot that i had to run some additional commands under command prompt and just ran automatic repair from Advanced instead.
At this time Windows had no trouble working at all with secure boot enabled if I really needed windows to use secure boot.
It said it found but could not fix the errors. Suddenly, Windows would not boot even with secure boot enabled. I reran the tool 3 times and it didn't work so i wiped the drive and reinstalled Windows from a clean state. I really did not have errors on the system to begin with accept that the system was trying to access my boot managers in an odd manner.. although i could get everything to work.
The automatic repair option should not have made things worse, even breaking my secure boot but it did.
My point of this is to show that the repair disk tools and how they play with the EFI boot tools is buggy and it can break your system even if there is nothing wrong with Windows and it's ability to boot under secure boot. Don't trust the Repair Disk tool folks. Don't trust UEFI. Don't trust Secure Boot. Be smart. Install a clean system under Legacy Bios mode with UEFI and secure boot disabled.
Last night I was playing League of Legends when I got a BSoD. I didn't think much of it, and just waited for my computer to restart. However, as it restarted, I saw that it was auto repairing and then diagnosing. After that it said auto repair failed, giving me the directory c:windowssystem32logfilessrtsrttrail.txt. I tried system refresh, which shoot me back system refresh failed straight away. The same happens with system restart, but it takes much longer for it to say the restart failed. I have no system restore points to choose from and I have no recovery disks as Windows 8 came preinstalled on the computer. I've troubledshooted for hours and come to opening SrtTrail.txt with the command prompt. It says:
Root cause found: The operating system version is incompatible with Startup Repair.
My laptop is running ok but I have noticed that certain programs have been taking a lot longer than usual to install/update (e.g. iTunes) but they always do. Then the last few days AVG Antivirus has been wanting to auto-update the software (not just the virus definitions) but each time it would freeze during the ''configuring'' step and subsequently cause every other program running to freeze and stop the opening of any other program - although I could still move the cursor so not a complete freeze if that makes sense.
So today I removed AVG with the removal tool and tried to do a fresh install but now I get a failure message immediately telling me ''MSI Engine: failed to initialize the package''.
How to go about fixing this and ran system file check which said corrupt files were found but it was unable to repair some of them. Here is the log:
Originally Posted by CBS.log 2014-08-20 14:24:13, Info CBS TI: --- Initializing Trusted Installer ---2014-08-20 14:24:13, Info CBS TI: Last boot time: 2014-08-20 13:56:23.498 2014-08-20 14:24:13, Info CBS Starting TrustedInstaller initialization.
How to read one of these or even if it effectively evaluates the status of the installer.
While I was messing around with my laptop, I decided to add on a fourth operating system, Arch Linux. I suppose I was pushing my luck a bit . Anyways, during the installation, I accidentally deleted the EFI system partition from my laptop, which contained the Windows Boot Manager and necessary files to boot. Great. I only made things worse by trying to troubleshoot, and broke grub as well.
I have a Windows 8 repair disk I made using the Windows 8 built in utility, but it does not boot: the computer turns on, and just hangs at the Toshiba splash screen.
I also can obviously not access the Toshiba recovery partitions, as they are booted into just like Windows itself.
I found a bootx64.efi file on one of my system's recovery partitions (Toshiba seems to have some really complex system going on) and placed it in EFIootootx64.efi. According to this site, FGA: The EFI boot process., I need to place the bkpbootmgfw.efi (on my system, that was what it was called, but I suspect boot-repair (ubuntu tool) messed something up when I was first setting up grub and the ESP and the bkp stands for backup) back onto the EFI System Partition.
Where to look for in the various Windows Imaging Format .wim and .swm files I have laying around my recovery partition(s) in order to extract the necessary EFI files. Any Windows Repair iso that works.
I have been having stability issues with my system in my sig. I've recently swapped out the motherboard to the ASUS Sabertooth 990FX R2. The system passes 10 tests on Intel Burn Test on maximum and also passes tests on Passmark Burn In Test. However, when I run OCCT the system will test for about 1 hour and then crash no bsod or restart just become unresponsive to any commands.
Aside from Prime 95 do you know what else I could try to test my AMD 8350 CPU with? The CPU is running at stock speeds and at default settings within the BIOS.
I have Automatic Scheduled Maintenance set to run at 3:00AM. I get to this setting by going to Control Panel > Action Center > Maintenance > Change maintenance settings. I also have the box for "Allow scheduled maintenance to wake up my computer" checked.
However, I note that if I put my computer to sleep for a few days, when I wake it back up, Automatic Scheduled Maintenance has NOT run. I can tell this because my antivirus definitions are out-of-date and haven't been updated since I put the computer to sleep.
how to figure why it's not waking up for Scheduled Maintenance? Is it possibly a BIOS setting? Do I have to manually add it to Task Scheduler? I'm running Windows 8.1 Update 1, ASRock Z87E-ITX mobo, Intel i7-4770S CPU, Samsung 840 EVO mSATA SSD, 16GB RAM.
I have had this Samsung laptop for just about a year. It came with windows 8 installed ( I also have a Samsung system recovery disk that I requested) and I have had problems all along. My old laptop had windows vista and I think part of the problem is that my settings somehow were synched with old computer. My old computer had a workgroup, which got synched with new computer. I have tried several times to reset/restore windows 8 to factory settings and at first glance it looks right but a lot of my old settings are still there, especially in internet explorer. Also when I go into advanced repair it says that it cannot be repaired.
I also just found this, but I'm not sure it applies and I don't want to change any settings that I shouldn't be:
Please note that you cannot use Refresh or Reset Your PC features if Windows 8 or 8.1 is installed on a drive with GPT (not MBR) partition table until you force "UEFI only" boot setting in BIOS/EFI. Windows will not detect GPT partition alignment correctly if BIOS booting is enabled.
And this is what shows under my available drives:
available drives local disk (C (System) SAMSUNG_REC2 (C (Missing)
I have a Dell laptop Inspiron 15R 7537 that came with Windows 8. Yesterday I upgraded to Windows 8.1. Everything seemed to work fine after the upgrade. I shut down and re-booted several times with no issues. When I turned the computer on as usual today, I got the log in screen, then it briefly went to the desktop, then came a gray screen that blocks 99% of the desk top. This gray screen says "please wait" and has a cancel button at the bottom. It hangs forever and the cancel button doesn't work. It gives no other information.
I read several threads on the Microsoft Windows forum and this seems to be a common problem. How to boot using the Windows 8 recovery media disk that came with the Dell computer. I selected Troubleshoot, then Advanced Options, then Automatic Repair. I got a message that it couldn't do an automatic repair, so that didn't work. Next I tried System Restore, but I got a message that there were no restore points available from which to restore. Just to clarify - the Recovery Media Disk I have from Dell is for Windows 8 - not 8.1 - so maybe that's the problem.
The computer is totally worthless the way it is now, so unless there is some fix for the hanging gray screen in Windows 8.1, I would be happy just to reload the original Windows 8 Operating System. At least that worked.
i have recently encounter a problem with my pc.when i was starting my pc it automatically began startup repair & diagnosing your pc screen came.then after some time a message came windows could not repair your pc.details are in D:system32Logfilessrtsrttrail.txt why it is D ? it should be c.
then i restored my computer to one day earlier,then i again ran the automatic repair,it again showed windows could not repair your pc.when i looked into srt.txt i didn't see any error msg.so why it saying that windows could not repair your pc.my specs in my signature & here is my txt report >>
I have run sfc /scannow on my system to find if there were any bad files. It comes up and says that it had found bad files and could not repair all of them. Ive run it three or four times in a row and always get the same result.
I've been trying several things throughout the day and I have had no success in fixing the corrupted files. I have ran "sfc /scannow" several times (even in safe mode). I have also ran "Dism /Online /Cleanup-Image /RestoreHealth" before and after "sfc /scannow" to no avail.
I am running Windows 8.1, I tried booting from my Windows 8 Pro DVD but whenever I tried to run "sfc /scannow /offbootdir=c: /offwindir=d:windows" I would get an error: Windows Resource Protection could not start the Repair service". How I can fix this without doing a clean install or refresh?
I have this identical problem mentioned here : Scanning and repairing volume (?Volume...) on startup
I think it has something to do with my deleting the 'system reserved' 350mb partition when I reinstalled Windows 8. I don't want it showing in My Computer and when I go into Disk Management and give it a drive letter, this message goes away on boot. But, since I can't merge this very small partition with any other drive, I'm not sure how to not show this drive and not get the scanning message on boot up.
I was playing WOW the other night on my month old PC and all of a sudden I got a full red screen. I restarted the comp and this auto repair screen popped up and it freezes and just same thing over and over. the bottom of the screen is cut off and the only other window i can get into is the bios setup utility window. Cant get into any kind of safe mode nothing.