System File Checker found corrupted system files on my Acer Travelmate 7750G Windows 7 SP1 computer. None of the other solutions worked, so I'm down to two. One is to use the 5-disc set that I got from Acer support to set the computer back to the way it was when it left the factory. I would have to reinstall software I installed after I bought it, and some are custom installations that take a lot of time. The other solution is to replace the corrupted system files from the boot.wim file on the boot disc. My DVD/CD combo drive is drive D, so I thought I would use this command:
dism /online /Cleanup-image /RestoreHealth /source:D:\sources\boot.wim
There are two versions of DISM.exe on the computer, each has a backup copy, but both versions have the same set of switches. The Windows 7 PRO SP1 dism command lacks /Cleanup-image /RestoreHealth and /source switches. There is a /Mount-Wim switch, but I don't know the command to enter. Does anyone know the DISM command for me to enter with this set of switches?
C:\Windows\system32>dism /?
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 /?
[Edited the thread to add model name to the title]