Link to home
Create AccountLog in
Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

Avatar of compdigit44
compdigit44

WIndows 2016 DISM Offline Repair
On a  Windows 2016, VM I need to do an offline repair of the OS using DISM. Now matter what syntax I use, I cannot get it to work. My CDRom is on E:\ and my OS is on C:\. What is the correct syntax. I have been at this for hours without luck.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of 65td65td🇨🇦

This article is for Windows 10, the link notes that. "The install.wim file must be of the same version, edition as well as language of the operating system you are using."



https://www.backup-utility.com/windows-10/dism-offline-repair-windows-10.html

Avatar of McKnifeMcKnife🇩🇪

To you, an offline repair means what?
Is windows booted but just no internet access, or are you trying the repair from a command prompt of windows PE?

Avatar of compdigit44compdigit44

ASKER

Windows will not boot and in Windows PE

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


when I try to run sfc in offline mode I keep getting the message " Windows Resource Protection could not preform the requested operation."

Please note, I have run chkdsk on the volume twice, including mounting the vmdk on and other VM and had the same result

Avatar of McKnifeMcKnife🇩🇪

Could it be that your setup disk that you use for repairs has a lower patch level than your current windows installation?
Please retry with a disk that you have updated to the same level as your OS using commands following this tutorial:
http://woshub.com/integrate-windows-updates-into-windows-8-image/

Then use this command in windows PE:
DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:e:\sources\install.wim

Open in new window

(it works here that way)

When I run the command you listed, I get the error: The Cleanup-image option is unknown. Please note, I was careful on the case of the syntax

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of McKnifeMcKnife🇩🇪

Some browsers misinterpret hyphens ("-"). Please type the hyphen manually and not via copy and paste.

I did type it out... no luck

Avatar of McKnifeMcKnife🇩🇪

Ok, please try this: start your unbootable machine 3 times. After it fails to start for 3 times, it will offer to go to recovery options. There, select troubleshooting ->command line. On that command line, you should get a dism that knows the option "cleanup-image".

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


did that same result

Avatar of McKnifeMcKnife🇩🇪

May I ask you for a screenshot of that?

see screenshot
User generated image

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of McKnifeMcKnife🇩🇪

If I had a server 2016 test VM, I would try to reproduce it right away...but I haven't.
Let me do this tomorrow.

ASKER CERTIFIED SOLUTION
Avatar of McKnifeMcKnife🇩🇪

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Thanks your help. I ended up rebuilding the server and mounting the old VMDK to pull what data we could off of it. I believe the problem stemmed from the old VMDK drive being corrupted.
Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.