Check if the recovery environment recognizes the windows installation partition as C:.
Otherwise change C: in the DISM command and in the last part of the following commands with the correct drive letter.
I.e., the drive letter in the second and last config path (C:\WINDOWS\system32\config).
(The first command could return an error)
If dism still fails, re-try with the backslash (after C:)
Otherwise change C: in the DISM command and in the last part of the following commands with the correct drive letter.
I.e., the drive letter in the second and last config path (C:\WINDOWS\system32\config).
(The first command could return an error)
Code:
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/EFI/Microsoft/Boot/BCD C:\EFI\Microsoft\Boot\BCD
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/COMPONENTS C:\WINDOWS\system32\config\COMPONENTS
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/DEFAULT C:\WINDOWS\system32\config\DEFAULT
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/DRIVERS C:\WINDOWS\system32\config\DRIVERS
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/SAM C:\WINDOWS\system32\config\SAM
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/SECURITY C:\WINDOWS\system32\config\SECURITY
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/SOFTWARE C:\WINDOWS\system32\config\SOFTWARE
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/config/SYSTEM C:\WINDOWS\system32\config\SYSTEM
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/smi/store/Machine/schema.dat C:\Windows\system32\smi\store\Machine\schema.dat
reg load HKLM\{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Users/Default/NTUSER.DAT C:\Users\Default\NTUSER.DAT
DISM /image:C: /cleanup-image /revertpendingactions
Code:
DISM /image:C:\ /cleanup-image /revertpendingactions
Last edited: