What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

If DISM reports “DISM does not support servicing Windows PE with the /Online option,” it is usually targeting the wrong Windows environment—not proof that your Windows 10 installation is beyond repair. In normal Windows, use /Online. From WinRE or WinPE, point DISM at the installed Windows folder with /Image: and the correct drive letter.

Why DISM Error 50 happens

/Online tells DISM to service the operating system that is currently running. In ordinary Windows, that is your Windows 10 installation. But when Command Prompt is opened from Windows Recovery Environment (WinRE), a recovery drive, or Windows installation media, the running system is the recovery or preinstallation environment. DISM can then return Error 50 because it does not support servicing Windows PE with /Online.

For an offline Windows installation, use /Image:<path> instead. Microsoft documents the distinction between DISM’s /Online and /Image: options.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Error 50 is not a universal diagnosis for every DISM failure. Compare the full error text, and check where the command prompt is running. If you see the ordinary desktop, Start menu, and taskbar, you are likely in normal Windows. If you opened Command Prompt through Troubleshoot > Advanced options, Automatic Repair, or a Windows recovery/install USB, you are in a recovery environment. A prompt beginning with X:WindowsSystem32 is another common sign of WinRE; X: is typically the temporary recovery environment, not the installed Windows partition.

#1 Best Overall
JOREST Small Precision Screwdriver Set with Torx Triwing Phillips, Mini Repair Tool Kit for Macbook, Computer, Laptop, PC, iPhone, PS5, Xbox, Switch, Glasses, Watch, Ring Doorbell, Electronics
  • 【Precision screwdriver set】-- 40Pcs screwdriver set has 30 CRV screwdriver bits which are phillips PH000(+1.2) PH000(+1.5) PH00(+2.0) PH0(+3.0) PH1(+4.0), flathead -0.8 -1.2 -1.5 -2.5 -3.0, torx T1 T2 T3 T4 T5, torx security TR6 TR7 TR8 TR9 TR10 TR15 TR20, triwing Y000(Y0.6) Y00(Y1.5) Y0(Y2.5) Y1(Y3.0), pentalobe P2(0.8) P5(1.2) P6(1.5), MID 2.5, with a screwdriver handle, a double-ended spudger, a long spudger, 3 triangle spudgers, Tweezers, a cleaning brush and a suction cup with SIM card thimble.
  • 【Slip-resistant rotatable handle】-- All our screwdriver bits are made of high quality CR-V chrome vanadium steel. CR-V screwdriver bits do not rust easily and are not prone to be broken. The screwdriver handle is made of TPR and PP materials, with a special non-slip design, offering a sense of comfortable. The top of the handle is rotatable design which makes it more convenient to remove the screws; the handle head and the screw head has magnetic adsorption which can quickly replace the screws.
  • 【Portable gadgets】-- The triangular spudger is more suitable for opening the screen of the mobile phone.The double-ended spudger is more suitable for opening the back cover of game devices. The long spudger can pry the internal parts of the device.The suction cup can open the screen, which is more convenient to repair the mobile phone.The SIM card thimble can be used to replace the SIM card of the mobile phone. The cleaning brush can clean the dust of the device.Tweezers can grip small parts.
  • 【Wide scope of application】-- +1.5/2.0 P2 Y0.6 MID2.5 are used for iPhone7/8/X/XR/11/12/13. +1.2/1.5/2.0/3.0 T2/3/4/5 P2 are used for Samsung/Huawei/Xiaomi and other phones. +1.5/2.0/3.0 T3/4/5/6/9 are used for iPad/Mini/Air/Pro. +1.2/1.5/2.0/3.0/4.0 T2/3/4/5 -2.5 are used for Huawei/Honor and other tablets. P2/5/6 +1.5/2.0/3.0/4.0 T3/4/5/6/7/8/9 Y2.5/3.0 are used for Macbook/Air/Pro. +1.5/2.0/3.0 T5 are for Kindle/Kindle Fire. T6/15 are used Ring Video Doorbell/ Video Doorbell 2/Pro/Elite.
  • 【Wide scope of application】-- T8 +1.5/2.0/3.0 are used for PS3/PS4/PS5 controllers and consoles. T6/8/10 are used for Xbox 360/Xbox One/Xbox Series controllers and consoles. Y1.5/2.5/3.0 +1.5/2.0 are used for Switch/NS-Lite/Joy-Con/Wii/Game Boy Advance. T3/8 are used for Fitbit wristband/folding knife. +1.2/1.5/2.0/3.0/4.0 T3/4/5/6/7/8/9 Y2.5/3.0 -2.5 are used for Microsoft/Acer/Dell and other laptops. +1.2/1.5/2.0/3.0/4.0 -0.8/1.2/1.5/2.5/3.0 are used for Desktop Computer/Watch/Glasses/Toy.

If Windows 10 starts normally

Open an elevated Command Prompt: open Start, type cmd, right-click Command Prompt, choose Run as administrator, and approve the User Account Control prompt. Then run the repair sequence:

DISM.exe /Online /Cleanup-Image /CheckHealth
DISM.exe /Online /Cleanup-Image /ScanHealth
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannow

/CheckHealth quickly reports whether the image has already been flagged as corrupted. /ScanHealth performs a more thorough scan; it can take longer. /RestoreHealth is the repair operation. After it completes, run SFC to check and repair protected system files. Microsoft recommends running DISM before SFC because SFC may rely on a healthy component store; see its DISM and System File Checker instructions.

Allow the operation to finish; it may take several minutes. Do not close the window or shut down while it is working. If DISM succeeds, restart if appropriate and run sfc /scannow if you have not already done so.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you are in WinRE or WinPE

Do not use /Online to repair the installed copy of Windows from this prompt. First identify the Windows partition. Recovery environments can assign different drive letters than normal Windows, so do not assume it is C:.

1. Find the installed Windows drive

At the recovery Command Prompt, run:

bcdedit | find "osdevice"

For example, if the output says partition=E:, check that drive:

Rank #2
Sale
STREBITO Electronics Precision Screwdriver Sets 142-Piece with 120 Bits
  • 【Wide Application】This precision screwdriver set has 120 bits, complete with every driver bit you’ll need to tackle any repair or DIY project. In addition, this repair kit has 22 practical accessories, such as magnetizer, magnetic mat, ESD tweezers, suction cup, spudger, cleaning brush, etc. Whether you're a professional or a amateur, this toolkit has what you need to repair all cell phone, computer, laptops, SSD, iPad, game consoles, tablets, glasses, HVAC, sewing machine, etc
  • 【Humanized Design】This electronic screwdriver set has been professionally designed to maximize your repair capabilities. The screwdriver features a particle grip and rubberized, ergonomic handle with swivel top, provides a comfort grip and smoothly spinning. Magnetic bit holder transmits magnetism through the screwdriver bit, helping you handle tiny screws. And flexible extension shaft is useful for removing screw in tight spots
  • 【Magnetic Design】This professional tool set has 2 magnetic tools, help to save your energy and time. The 5.7*3.3" magnetic project mat can keep all tiny screws and parts organized, prevent from losing and messing up, make your repair work more efficient. Magnetizer demagnetizer tool helps strengthen the magnetism of the screwdriver tips to grab screws, or weaken it to avoid damage to your sensitive electronics
  • 【Organize & Portable】All screwdriver bits are stored in rubber bit holder which marked with type and size for fast recognizing. And the repair tools are held in a tear-resistant and shock-proof oxford bag, offering a whole protection and organized storage, no more worry about losing anything. The tool bag with nylon strap is light and handy, easy to carry out, or placed in the home, office, car, drawer and other places
  • 【Quality First】The precision bits are made of 60HRC Chromium-vanadium steel which is resist abrasion, oxidation and corrosion, sturdy and durable, ensure long time use. This computer tool kit is covered by our lifetime warranty. If you have any issues with the quality or usage, please don't hesitate to contact us
dir E:Windows

You should see the installed Windows directory and normally folders such as System32, WinSxS, and Servicing. If the command does not give a useful result, try likely letters:

dir C:Windows
dir D:Windows
dir E:Windows

Use the letter that contains the actual Windows installation. The E: examples below are placeholders, not a universal answer.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Create a scratch directory and repair the offline image

Choose a writable drive with free space. If Windows is on E:, create a temporary working folder and run DISM against that installation:

md E:Temp
dism /Image:E: /Cleanup-Image /RestoreHealth /ScratchDir:E:Temp

The trailing slash in /Image:E: identifies the root of the offline Windows image. The scratch directory gives DISM a place for temporary working files; it must be on an accessible drive with adequate free space.

3. Run SFC against the offline Windows installation

After DISM completes, run offline SFC using the same verified drive letter:

Rank #3
JOREST 59Pcs Small Precision Screwdriver Set with Torx T5 T6, Mini Tool Kit
  • 【59 in 1 Precision Screwdriver Set】Small screwdriver set contains 44 screwdriver bits, Phillips PH000,PH00,PH0,PH1,PH2; Flathead -1.0, -1.5 -2.0,-3.0; Torx T1 T2 T3 T4 T5, Torx security TR6 TR7 TR8 TR9 TR10 TR15 TR20; Triwing Y0.6, Y1.5. Y2.3, Y3.0; Pentalobe P2(0.8) P5(1.2); Triangle 2.3; U-type U2.6; H-type: H0.9, H1.3, H1.5, H2.0, H2.5, H3.0; MID-type: MID; Sleeve: M2.5, M3.0, M3.5, M4.0, M4.5, Cross 2.0, G3.8, G4.5
  • 【Unique Handle Design】Ergonomic design handle, more energy-saving operation, batch head built-in strong magnet, easy to adsorb the batch head. The screwdriver bit is made of high quality CRV steel, which is wear-resistant and hard.
  • 【Multi-Functional Accessories】Mini Tool kit contains 15 accessories for a variety of repair needs, including a magnetic plus or minus area to increase or decrease the magnetism of the bit, a long pry bar, a scimitar shaped pry bar, four triangular pry blades, three double-ended pry bars, tweezers, a black cleaning brush, a SIM card thimble, and a suction cup. Note: The package is made of PP material without carton and user manual.
  • 【Practical Storage Box】Compartments are categorized for placement, each CRV precision bit is marked with a model number for easy identification, neatly dispensed for easy storage and searching. The box is sturdy and durable with strong clasps that protect each accessory well. The bits are mini (long 28mm, diameter 3.98mm) for precision work, not suitable for large screws.
  • 【Wide Scope of Application】Suitable for iPhone/Samsung/Huawei and other cell phones; Mini/Air/Pro and Huawei/Honor and other laptops; Macbook/Air/Pro; Kindle/Kindle Fire; Ring Video Doorbell/ Video Doorbell 2/Pro/Elite; PS4/PS5/XOBX game console controllers and consoles, and PC laptops , watches, glasses, jewelry, toys, flight models, drones, cameras, RC cars, and some small appliances like coffee makers.
sfc /scannow /offbootdir=E: /offwindir=E:Windows

Do not substitute plain sfc /scannow at a WinRE prompt if your goal is to check the installed Windows copy: without offline paths, SFC may target the running recovery environment. Microsoft Q&A describes this offline SFC pattern and the need to identify the Windows partition in recovery mode.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If DISM cannot find the source files

For an online repair, DISM normally obtains repair files through Windows Update. If that source is unavailable or damaged, provide a known-good source using /Source; /LimitAccess tells DISM not to contact Windows Update.

For example, if C:RepairSourceWindows is a suitable Windows directory:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

For an offline installation on E:, a source directory on D: could be specified like this:

dism /Image:E: /Cleanup-Image /RestoreHealth /Source:D:RepairSourceWindows /LimitAccess

Do not point DISM at an arbitrary Windows folder. The source should be compatible with the target, particularly in Windows version/build, architecture (such as x64), language, and edition (such as Home or Pro). Microsoft’s guidance on repairing component corruption and using a repair source warns that source compatibility matters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
STREBITO Precision Screwdriver Set 64-piece with Torx, Triwing, Gamebit
  • 64-in-1 Precision Screwdriver Set: This small screwdriver set includes 48 bits (Phillips, Flathead, Torx, Torx security, Triwing, Pentalobe, Hex, Triangle, U-type, Square, SIM, MID, OVAL, Gamebit, Nut driver). It's a complete electronics repair kit that has been professionally designed to repair computers, PC, laptops, Macbooks, tablet, phones, PS4 PS5, XBOX, Switch, eyeglasses, drone, watches, Ring doorbells and more
  • Ergonomic & Magnetic Design: The super smooth swivel cap on the top of the handle makes it easier to rotate screws with less effort. This mini screwdriver features an ergonomic non-slip design and rubberized handle that provides a comfortable grip and precise control. The built-in strong magnet ensures magnetic bit holder transmits magnetism through the screwdriver tip to help you with tiny screws
  • Practical Accessories: Our electronics tool kit comes with 8 types of 15 essential accessories. Magnetizer can enhance the magnetism of the screwdriver tip, pointed tweezers make it easy to handle screws and tiny components, spudger and hook tool is effective for connecting/disconnecting components, scraping off adhesives, suction cup, pry tools, opening picks and brush to help open and clean your device
  • Organize & Portable Storage: All screwdriver bits are stored in rubber bit holder which marked with type and size for fast recognizing. The rubber bit holder can be fixed on the shelf of the sturdy plastic case, also can be removed for easy access, making it more convenient for you to perform repairs. The case provides secure protection and organized storage, while being lightweight and portable for easy transportation
  • Premium Quality & Warranty: STREBITO manufactures premium quality, pro-grade screwdriver set. The precision bits are CNC machined to be precise, made of 60HRC Chromium-vanadium steel which is resist abrasion, oxidation and corrosion. This micro screwdriver set is covered by our lifetime warranty. If you have any issues with the quality or usage, simply contact customer service for troubleshooting help

Windows installation media may store its image as install.wim or install.esd, rather than as a ready-to-use Windows folder. For a WIM, inspect its available editions and indexes first:

dism /Get-WimInfo /WimFile:D:sourcesinstall.wim

Then use the index that matches the target edition. For example, only if the matching edition is index 6, an offline repair could use:

dism /Image:E: /Cleanup-Image /RestoreHealth /Source:wim:D:sourcesinstall.wim:6 /LimitAccess

Index 6 is an illustration, not a default. Check the actual media and its index; syntax and source handling can differ for ESD media. Do not assume a Windows 11 image or a different-language or different-architecture image is an appropriate Windows 10 repair source.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What to check if another error appears

  • Wrong target drive: Recheck bcdedit | find "osdevice" and confirm the candidate with dir <letter>:Windows. A wrong letter can make DISM or offline SFC target the wrong volume or report that files are missing.
  • Insufficient scratch space or an unwritable drive: Put /ScratchDir on a writable volume with free space. If necessary, use another accessible drive and update the path.
  • Source files unavailable: Verify that the source path exists and that its edition, language, architecture, and build are suitable. For WIM media, inspect the index rather than guessing.
  • A pending reboot or update: If Windows can start, restart normally to finish pending servicing work, then retry the repair. Do not use /RevertPendingActions as a general-purpose Error 50 fix; Microsoft documents that it is not supported against a running OS or a Windows PE/Windows RE image.
  • Disk or file-system trouble: Repeated read/write errors, disappearing partitions, a volume becoming read-only, very slow access, or SMART warnings point beyond an environment mismatch. Back up important data before repeatedly running repairs.
  • Windows still will not boot after DISM succeeds: DISM repairs the component store; it does not repair every bootloader, driver, disk, or hardware problem. Use the relevant recovery options and preserve data before considering reset or reinstallation.

If SFC says “Windows Resource Protection did not find any integrity violations,” it found no protected-file integrity problems. If it says it repaired corrupt files, restart and check whether the issue is resolved. If it found files it could not fix, or could not perform the requested operation, confirm that it targeted the correct Windows installation and review the logs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Where to find DISM and SFC logs

In normal Windows, DISM writes its log to %windir%LogsDISMdism.log, and SFC details are recorded in %windir%LogsCBSCBS.log. These can help identify a source, servicing, or file-repair failure.

Best Value
iFixit Essential Electronics Toolkit - PC, Laptop, Phone Repair Kit
  • COMPLETE: This set contains a variety of tools - Besides various opening tools, it includes 16 precision bits (4 mm) and a precision screwdriver with a magnetic bit socket, knurled grip, and swivel top for easy operation.
  • STARTER SET: You want to replace a broken screen or battery in your smartphone? This toolkit provides the necessary tools for a basic electronic repair. Compatible with Apple, Samsung, Huawei, Sony and many more devices!
  • FUNCTIONAL: Thanks to the foam insert and magnetic closure of the case, tools, components and bits can be safely stored and transported. Additionally, the inside of the lid serves as a sorting tray.
  • MUST-HAVE: This tool-set was designed to repair any smartphone, game console, tablet, PC, etc. It also serves for most household DIY fixes.
  • IFIXIT QUALITY: These 16 precision-bits (4 mm) are made of high-quality S2 steel. The precisely machined bits fit properly into the screws and protect both the bit and the fasteners from damages.

In WinRE, %windir% may refer to the temporary recovery environment, not the Windows installation you targeted. If the installed system is on E:, inspect its logs at E:WindowsLogsDISMdism.log and E:WindowsLogsCBSCBS.log. Microsoft’s servicing troubleshooting guidance also points to these logs for more detail.

When to stop and protect your data

Error 50 by itself does not indicate a failing drive. But if you also see repeated read/write errors, a missing or unstable partition, unusually slow disk access, or drive-health warnings, prioritize copying important files or seeking data-recovery help before running repeated repair operations. DISM and SFC can address some Windows image and protected-file problems; neither is a substitute for recovering data from failing hardware.

Frequently Asked Questions

Will DISM Error 50 delete my personal files?

The commands described here are servicing and system-file repair operations, not a reset or reinstallation. Still, back up important data first if the drive shows signs of failure or the files are irreplaceable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does WinRE show Windows on D: or E: instead of C:?

WinRE assigns letters to volumes independently of the usual Windows session. Identify the installation with `bcdedit | find “osdevice”` and confirm it with `dir :Windows` instead of assuming C:.

Can I use a Windows 11 ISO to repair Windows 10?

Do not assume it is a suitable repair source. Use installation media or a source compatible with the target Windows version/build, architecture, language, and edition.

What if DISM appears stuck at a percentage?

A percentage that does not change for a while does not by itself establish failure; servicing can take time. Allow it to finish, and if it ultimately returns an error, use that exact message and the DISM log to diagnose the source or target.

Does DISM success guarantee Windows will boot?

No. `/RestoreHealth` repairs the component store, not every boot, driver, disk, or hardware problem. If Windows still fails to start, use recovery options and protect your data before reset or reinstallation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.