DISM offline vs online

What is the main difference between DISM offline vs DISM online
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
DISM offline requires you to have the dism source files that will fix Windows on your computer.
DISM online will get the files it needs online while it is running.
Unless you have some reason to be offline, run DISM online. Easier and more likely to have no problems.
Offline/online has nothing to do with being offline or online (=internet access). It tells the dism command to work with the current system (=online) or with an offline image (=offline).
JohnBusiness Consultant (Owner)Commented:
Offline needs the source files to be present (which sometimes are not). Online does go out and get the new files if need be.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Cliff GaliherCommented:
Agree with McKnife. Online works with the currently running OS. Offline works with WIM files that are not actively running.
Cliff GaliherCommented:
No John. That's "features on demand" and has to do with the /source flag. Totally different.
Online parameter means current operating system, windows directory automatically detected:

If you are servicing a running computer, you can use the /Online option instead of specifying the location of the offline Windows image. The commands and options that are available for servicing an image depend on which Windows operating system you are servicing. They also depend on whether the image is offline or a running operating system. All commands work on an offline Windows image. Subsets of the commands are available for servicing a running operating system.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.