@jtownsucks46 said in New problem with my Win7 Pro PC:
Once Windows loads, try the following:
-Click Start, type CMD and run it as administrator
-Copy and paste the command below and hit enter.
Sfc /scannow
Wait until the pc finishes scanning and repairing any corrupted system files then proceed with the next command
DISM /Online /Cleanup-Image /RestoreHealth
Once done restart your pc
I tried it and get Error: 87. I did a dism /h and RestoreHealth is not an option of DISM. I google the error 87 in Win7 and this article (https://answers.microsoft.com/en-us/windows/forum/all/error-87-running-dism-online-cleanup-image/33be783f-6e3f-408b-9d0c-901cd19c14ea) seems to say RestoreHealth doesn’t work in Win7. [I have Win7Pro sp1.]
Following is my session in CMD:
//////// begin ////////////
C:\Windows\system32>DISM /Online /Cleanup-Image /RestoreHealth
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
Image Version: 6.1.7601.18489
Error: 87
The restorehealth option is not recognized in this context.
For more information, refer to the help.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>dism /h
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
DISM.exe [dism_options] {WIM_command} [<WIM_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
{servicing_command} [<servicing_arguments>]
DESCRIPTION:
DISM enumerates, installs, uninstalls, configures, and updates features
and packages in Windows images. The commands that are available depend
on the image being serviced and whether the image is offline or running.
WIM COMMANDS:
/Get-MountedWimInfo - Displays information about mounted WIM images.
/Get-WimInfo - Displays information about images in a WIM file.
/Commit-Wim - Saves changes to a mounted WIM image.
/Unmount-Wim - Unmounts a mounted WIM image.
/Mount-Wim - Mounts an image from a WIM file.
/Remount-Wim - Recovers an orphaned WIM mount directory.
/Cleanup-Wim - Deletes resources associated with mounted WIM
images that are corrupt.
IMAGE SPECIFICATIONS:
/Online - Targets the running operating system.
/Image - Specifies the path to the root directory of an
offline Windows image.
DISM OPTIONS:
/English - Displays command line output in English.
/Format - Specifies the report output format.
/WinDir - Specifies the path to the Windows directory.
/SysDriveDir - Specifies the path to the system-loader file named
BootMgr.
/LogPath - Specifies the logfile path.
/LogLevel - Specifies the output level shown in the log (1-4).
/NoRestart - Suppresses automatic reboots and reboot prompts.
/Quiet - Suppresses all output except for error messages.
/ScratchDir - Specifies the path to a scratch directory.
For more information about these DISM options and their arguments, specify an
option immediately before /?.
Examples:
DISM.exe /Mount-Wim /?
DISM.exe /ScratchDir /?
DISM.exe /Image:C:\test\offline /?
DISM.exe /Online /?
C:\Windows\system32>dism /restorehealth /h
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
No help topic could be found for the restorehealth option.
Specify an image to see relevant help topics, using either the /Image or
/Online command-line option:
/Image:<path_to_offline_image>
This is the path to the root directory of the offline Windows image.
Example:
DISM.exe /Image:C:\test\offline /?
/Online
Specifies that the operation is to be performed against the running Windows
installation.
Example:
DISM.exe /Online /?
C:\Windows\system32>
////////////////// end ////////////////