Win 10: Corrupt Components

Hi,

Only one file!


When you run DISM it fails immediately or it does some work and then aborts?
 

Attachments

One update is showing up on the log lets take a different approach...

Install Update using Dism
  1. Please download KB4054517 http://download.windowsupdate.com/d..._f1c0e8eae96b357bc13e5668c5874904502106df.msu save the file to c:\windows\temp
  2. change the name of the update file to a smaller name windows10.0-kb4054517-x64.msu
    (keep the extension .msu in the end of the file name in case its visible if not ignore that)
  3. open the Command Prompt as Administrator
  4. type or Copy & Paste the following commands line by line:

    cd /d c:\windows\temp
    expand windows10.0-kb4054517-x64.msu -f:* C:\windows\temp
    DISM.exe /Online /Add-Package /PackagePath:C:\windows\temp\windows10.0-kb4054517-x64.cab

  5. You should receive the message:
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now (Y/N)?
  6. Make sure to allow the computer to restart if prompted.

    If you receive any other message:
  7. Right-click on the Command Prompt window and click Select All, this will invert all of the colours by selecting the text, now press enter. All of this text is now copied.
  8. Paste (Ctrl+V) it into your next post please.
 
Hi,
dism gives me the same error again. Since it's not in English I have translated it:
Code:
[B]Error: 1392[/B]

  
[B]An error occurred accessing the temporary folder "C:\Users\gs\AppData\Local\Temp\98C599DB-24E7-49C5-AE1A-D2A002C90E63".[/B]

  
[B]Ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.[/B]
  
[B]The DISM log file can be found at C:\Windows\Logs\DISM\dism.log[/B]
 
I did try /ScratchDir:E:\, same thing there.
In the dism.log I also see HRESULT=80070570, which is the same error code the control panel gives me for the feature update.
Code:
2018-06-27 20:50:27, Info                  DISM   PID=9024 TID=3052 Scratch directory set to 'C:\Users\gs\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2018-06-27 20:50:27, Info                  DISM   PID=9024 TID=3052 DismCore.dll version: 10.0.16299.15 - CDISMManager::FinalConstruct
2018-06-27 20:50:27, Info                  DISM   Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2018-06-27 20:50:27, Info                  DISM   PID=9024 TID=3052 Successfully loaded the ImageSession at "C:\WINDOWS\system32\Dism" - CDISMManager::LoadLocalImageSession
2018-06-27 20:50:27, Info                  DISM   Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2018-06-27 20:50:27, Info                  DISM   Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2018-06-27 20:50:27, Info                  DISM   DISM Manager: PID=9024 TID=3052 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: 
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: 
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: Host machine information: OS Version=10.0.16299, Running architecture=amd64, Number of processors=8
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: Dism.exe version: 10.0.16299.15
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: Executing command line: DISM.exe  /Online /Add-Package /PackagePath:C:\windows\temp\windows10.0-kb4054517-x64.cab
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Connecting to the provider located at C:\WINDOWS\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-06-27 20:50:27, Info                  DISM   DISM Manager: PID=9024 TID=3052 physical location path: C:\ - CDISMManager::CreateImageSession
2018-06-27 20:50:27, Info                  DISM   DISM Manager: PID=9024 TID=3052 Event name for current DISM session is Global\{C4935042-43B4-4FC4-A72F-424E843F32C8} - CDISMManager::CheckSessionAndLock
2018-06-27 20:50:27, Info                  DISM   DISM Manager: PID=9024 TID=3052 Create session event 0x198 for current DISM session and event name is Global\{C4935042-43B4-4FC4-A72F-424E843F32C8}  - CDISMManager::CheckSessionAndLock
2018-06-27 20:50:27, Info                  DISM   DISM Manager: PID=9024 TID=3052 Copying DISM from "C:\WINDOWS\System32\Dism" - CDISMManager::CreateImageSessionFromLocation
2018-06-27 20:50:27, Error                 DISM   DISM Manager: PID=9024 TID=3052 Failed to copy the image provider store out of the image. - CDISMManager::CreateImageSessionFromLocation(hr:0x80070570)
2018-06-27 20:50:27, Error                 DISM   DISM.EXE: Could not load the image session. HRESULT=80070570
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: 
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2018-06-27 20:50:27, Info                  DISM   DISM.EXE: 
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2018-06-27 20:50:27, Info                  DISM   DISM Provider Store: PID=9024 TID=3052 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
 
Can you try:
mkdir c:\windows\temp\dism
DISM.exe /Online /Add-Package /ScratchDir:c:\windows\temp\dism /PackagePath:C:\windows\temp\windows10.0-kb4054517-x64.cab
 
Code:
PS C:\WINDOWS\system32> mkdir c:\windows\temp\dism


    Folder: C:\windows\temp


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       27.06.2018     21:08                dism


PS C:\WINDOWS\system32> DISM.exe /Online /Add-Package /ScratchDir:c:\windows\temp\dism /PackagePath:C:\windows\temp\windows10.0-kb4054
517-x64.cab /English

Deployment Image Servicing and Management tool
Version: 10.0.16299.15


Error: 1392

An error occurred accessing the temporary folder c:\windows\temp\dism\F4B176A8-FE50-4992-9971-5A853E27D29D.
Ensure that the path to the temporary folder exists and that you have Read/Write permissions on the folder.
 
Run a Disk Check on the drive with:

chkdsk /r /x c:

Note: When it ask if you want to checked the volume next time the system restarts answer Yes
Restart the Computer and let the check run during boot.
 
I had a similar idea. Chkdsk got stuck at 19% (I did wait 1.5h) when I tried it a few days ago. Afterwards I ran DiskRefresh (DiskFresh - Refresh Hard Disk Signal), which took 29h for my 2billion sectors, but found only a single bad one. WinDFT from the manufacturer reports no SMART errors.
 
After the refresh can you run chkdsk to 100%?

I notice on the log that a corrupted file was replaced over and over.
 
I had it run while I was at work today and it actually finished :eek:
Code:
Checking file system on C:
The type of the file system is NTFS.
Volume label is Windows.

A disk check has been scheduled.
Windows will now check the disk.                         

Stage 1: Examining basic file system structure ...
  1450496 file records processed.                                                         File verification completed.
  16999 large file records processed.                                      0 bad file records processed.                                      
Stage 2: Examining file name linkage ...
  22470 reparse records processed.                                         1806532 index entries processed.                                                        Index verification completed.
  0 unindexed files scanned.                                           0 unindexed files recovered to lost and found.                       22470 reparse records processed.                                       
Stage 3: Examining security descriptors ...
Cleaning up 440 unused index entries from index $SII of file 0x9.
Cleaning up 440 unused index entries from index $SDH of file 0x9.
Cleaning up 440 unused security descriptors.
Security descriptor verification completed.
  178019 data files processed.                                            CHKDSK is verifying Usn Journal...
  40961808 USN bytes processed.                                                            Usn Journal verification completed.

Stage 4: Looking for bad clusters in user file data ...
  1450480 files processed.                                                                File data verification completed.

Stage 5: Looking for bad, free clusters ...
  29068037 free clusters processed.                                                        Free space verification is complete.

Windows has scanned the file system and found no problems.
No further action is required.

 390241057 KB total disk space.
 271871296 KB in 1061903 files.
    518652 KB in 178020 indexes.
         0 KB in bad sectors.
   1578961 KB in use by the system.
     65536 KB occupied by the log file.
 116272148 KB available on disk.

      4096 bytes in each allocation unit.
  97560264 total allocation units on disk.
  29068037 allocation units available on disk.

Internal Info:
00 22 16 00 4a eb 12 00 00 32 1e 00 00 00 00 00  ."..J....2......
11 03 00 00 b5 54 00 00 00 00 00 00 00 00 00 00  .....T..........

Windows has finished checking your disk.
Please wait while your computer restarts.
SFC still fails. CBS.log is attached. Windows Update also failed to install the feature update again, that's at least what seems to be in the log as well. No change from dism either :(
I will run chkdsk again. A scan found more broken indexes. Tell you more details after my reboot.
 

Attachments

Chkdsk remained at 19% for approximately two hours, then rebooted, jumped to 100% and went to the login dialog.
Seems to have cleaned up some more files:
Code:
Cleaning up 309 unused index entries from index $SII of file 0x9.
Cleaning up 309 unused index entries from index $SDH of file 0x9.
Cleaning up 309 unused security descriptors.
A new chkdsk scan turned up more index entries, so I will go ahaead and run it again overnight.
 
Hi,

Chkdsk must complete without errors, is this on a SSD or HDD?
 
HDD I believe. I ran it twice since then and the index files went to 26 and then 52. It does always say:
Code:
Windows has scanned the file system and found no problems.
No further action is required.
So chkdsk doesn't consider this to be a major issue. No changes in sfc and dism either.
 
Ok.

I think you should try to upgrade Windows 10 to the latest edition but because of the errors the best option is to use the installation DVD or flash drive.

Windows 10 can be downloaded directly from Microsoft Download Windows 10

If you want to burn the DVD select the option to create the ISO file and latter you can burn it to a DVD or flash drive.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top