Use DISM to Repair Windows 10 Image  

Page 67 of 84 FirstFirst ... 1757656667686977 ... LastLast

  1. Posts : 173
    10 Ent 64
       #660

    No folder is still there but is quite smaller; now only 2.38 gb as opposed 12+gb. Ran it a second time and still there, now 2.28gb.
      My Computer


  2. Posts : 119
    Windows 10
       #661

    Here is an article on how to take ownership using File Explorer.

    Change Owner of File, Folder, Drive, or Registry Key in Windows 10
      My Computer


  3. Posts : 173
    10 Ent 64
       #662

    DonCuthbert said:
    Here is an article on how to take ownership using File Explorer.

    Change Owner of File, Folder, Drive, or Registry Key in Windows 10 | Tutorials
    Used another prgm and took owner with a reg entry and was able to move all but 25 mb to another drive, so now maybe I can delete it now. Will keep posted.

    Was able to finally get rid of all the pro folder thru deletes and cut/paste to other drive and then deleted it. Gonna stop any more repairs for now, since I have enough working to do what I need to do on pc. Thanks all.
      My Computer


  4. Posts : 6
    WIN10 Pro (upgrade from Win 7 Pro)
       #663

    DonCuthbert said:
    Your issue is different than the topic of this thread. You can use DISM to repair Windows, even if you only can boot to the Command Prompt, as you say, but your Windows folder may be OK, even if it says "inaccessible boot device". So you may not even require DISM repair on your Windows. You can check it using sfc.
    Code:
    sfc /SCANNOW /OFFBOOTDIR=C:\ OFFWINDIR=C:\Windows
    However, in Repair mode Windows might not be on C:. It could be on D: or another letter, so the command would need to be adjusted.

    The System partition is separate from the Windows/Boot partition. The System partition can be entirely deleted and rebuilt without changing the files at C:\Windows. It is easier on a UEFI BIOS-mode device, because the winre.wim file (which is what you are booting to when your normal boot fails) is on a separate partition for UEFI. In Legacy BIOS mode, winre.wim is on the System partition, so has to be moved elsewhere if you want to recreate the System partition.
    Hi, sorry that I'm somehow off topic but it seems to me that DISM was the only tool that will make that Win10 Pro of mine to work again but haven't enough time to "play" with it.

    I booted from a Windows 10 x86 edition (I have upgraded from a Windows 7 Pro x86, EN, to Windows 10 Pro) and I saw that now my system partition is (in cmd) E:\. I gived (without much hope) the command that you show me above and here it was:

    Windows Resource Protection could not start the repair service.

    What now? I will try to reboot and chose another option... Don't know anymore... I'm somehow stuck. Anyone can help?
    My BIOS is non-UEFI (classic one ;-) ).
      My Computer


  5. Posts : 6
    WIN10 Pro (upgrade from Win 7 Pro)
       #664

    zbook said:
    adm2019,

    Save all of the important files to another drive or to the cloud.

    See if you can make a Kyhi boot rescue flash drive:
    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums

    If there are problems downloading the tool then you can use Ubuntu:
    Create a bootable USB stick on Windows | Ubuntu tutorials

    Linux to the rescue! How Ubuntu can help a computer in distress | PCWorld

    Using Kyhi boot rescue test the drive using HD Tune: (free version)
    https://www.hdtune.com/

    Using Ubuntu test the drive using HD Sentinel for Linux: (free version)
    Hard Disk Sentinel - Free Linux version

    Use a camera or smartphone camera as needed.
    Save images for all test results.

    Ten Forums has a forum for BSOD.
    You can open a new thread in the forum.

    If troubleshooting steps cannot fix the underlying problem you can plan to perform one of the following steps:
    a) custom install (saves files, reinstall applications and drivers)
    if the above fails then:
    b) clean install (deletes files, reinstall applications and drivers)
    ===========

    I'm interested in saving ALL the programms or MOST of them, more than other things, because I have apps that I don't have anymore the installation kit or the sn.

    My Documents are saved on a separate partition from SYSTEM.

    Maybe a I can make portable all installed apps? How I do that?

    I will follow your advices zbook
      My Computer


  6. Posts : 119
    Windows 10
       #665

    adm2019 said:
    Hi, sorry that I'm somehow off topic but it seems to me that DISM was the only tool that will make that Win10 Pro of mine to work again but haven't enough time to "play" with it.

    I booted from a Windows 10 x86 edition (I have upgraded from a Windows 7 Pro x86, EN, to Windows 10 Pro) and I saw that now my system partition is (in cmd) E:\. I gived (without much hope) the command that you show me above and here it was:

    Windows Resource Protection could not start the repair service.

    What now? I will try to reboot and chose another option... Don't know anymore... I'm somehow stuck. Anyone can help?
    My BIOS is non-UEFI (classic one ;-) ).
    You can run DISM repair commands if sfc is unable to repair Windows. So if you do need to repair Windows with DISM, it is not off-topic after all.

    The command syntax is similar, but using /Image:E:\ instead of /Online.

    You might also consider at some point switching to a 64-bit Windows 10 but that would require a clean install.

    For DISM repair in Windows RE (I will use E: for your Windows drive letter):

    DISM /Image:E:\ /Cleanup-Image /RestoreHealth

    See how that works out. If necessary, you can also enable networking or point to install.wim on your Windows install USB as a source for DISM.

    With DISM I often use the /? to get help, as you can easily copy and paste from the help screen to your command line, using the mouse. Left-click and drag to select text. Right-click to copy selected text, and then right-click again to paste to your command line.

    Here is the help screen for DISM repair of an offline Windows image. Note that there is also a command relevant to a failed upgrade:
    "/Cleanup-Image /RevertPendingActions

    WARNING! You should use the /RevertPendingActions option only in a system-recovery scenario to perform recovery operations on a Windows image that did not boot.

    Example: DISM.exe /Image:C:\test\offline /Cleanup-Image /RevertPendingActions"

    Use DISM to Repair Windows 10 Image-dism-offline-repair.png
    Last edited by DonCuthbert; 20 Mar 2019 at 12:07.
      My Computer


  7. Posts : 1,333
    10 Pro retail 1909
       #666

    repair with DISM from .ESD file


    Can use DISM for. ESD(windows is compressed) repair below without converting to .WIM:

    I extracted information from Brink and others to develop a scheme to repair window .ESD file using DISM. If you patiently read below you will find the source easy to paste and accomplish the repair.

    ---
    Run as admin & fix # of OS and letter of installation flash drive:
    ! Be sure to use the right Drive letter so likely replace the E.

    1-inset OS flash,2- copy 1st string to Word doc if letter not same as your flash; otherwise just run to see number, 3-change the letter of OS flash if necessary, in Word then 4-copy corrected string and paste into cmd as admin. 5-when know letter and number = run second string
    Get OS # with 1st string = dism /get-wiminfo /wimfile:E:\sources\install.esd

    2nd string Get DISM fix for ESD from flash drive = Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:6 /limitaccess
      My Computer


  8. Posts : 2,450
    Windows 10 Pro x64
       #667

    Hi Shawn

    I was following the tutorial to check for errors and I noticed that in OPTION TWO in steps 6 and 7 you repeat the respective steps of OPTION ONE.
    Maybe you could make a couple of changes, if you deem it necessary:

    In step 6
    Repair-WindowsImage -Online -RestoreHealth -Source "Full Path to install.wim file:<Index Number>"
    Repair-WindowsImage -Online -RestoreHealth -Source "Full Path to install.wim file:<Index Number>" -LimitAccess

    In step 7
    Repair-WindowsImage -Online -RestoreHealth -Source "Full Path to install.esd file:<Index Number>"
    Repair-WindowsImage -Online -RestoreHealth -Source "Full Path to install.esd file:<Index Number>" -LimitAccess

    Take care mate!
      My Computer


  9. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #668

    Thank you Dimitri @ddelo. Option 2 updated to use those commands instead.
      My Computers


  10. Posts : 2,450
    Windows 10 Pro x64
       #669

    Brink said:
    Thank you Dimitri @ddelo. Option 2 updated to use those commands instead.

    Most welcome mate!
      My Computer


 

Tutorial Categories

Use DISM to Repair Windows 10 Image Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:49.
Find Us




Windows 10 Forums