How to uninstall windows updates using safe mode with command prompt


  1. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
       #1

    How to uninstall windows updates using safe mode with command prompt


    c:\dism /image:C:\ /get-packages
    displayed error 87

    The /image option that is specified points to a running windows installation.
    To service the running operating system, use the /online option


    C:\windows\logs\windowsupdate displayed 5 ending with .etl

    System info and dxdiag displayed 2 KB# that I would like to uninstall as a troubleshooting step.


    Dism /Image:\ /Get-Packages
    dism.exe /image:d:\ /remove-package /packagename:Package_for_KB4014329~31bf3856ad364e35~amd64~~10.0.1.0

    What command can be used with safe mode with command prompt?
    Does it need to be done with command prompt?

    How do you get the full KB information for the package name?
      My Computer


  2. Posts : 43,019
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2
      My Computers


  3. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #3

    It displayed error 87 when running this command in safe mode with command prompt:

    dism /Image:C:\ /get-packages /format:list

    The link displayed Windows RE.

    Will switch to Administrator:X:\windows\system32\cmd.exe and see what happens.

    It worked only with command prompt and not with safe mode with command prompt.

    windows updates using command prompt on 12 29 2019.txt

    The last entry in the attachment displayed no KB#.
    Does that indicate that it cannot be uninstalled?

    When uninstall an update was used before on a prior upgrade it worked only for one update.
    Then no further updates could be uninstalled.
    The remaining option was to uninstall the featured update.
      My Computer


  4. Posts : 43,019
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Different approach- command line option- but not stated if it works in Safe Mode.
    4 Ways to Uninstall Updates in Windows 10 | Password Recovery
    Method 3

    Note that in Safe Mode the installer is not normally available:
    How to make Windows Installer work in Safe Mode
      My Computers


  5. Posts : 5,330
    Windows 11 Pro 64-bit
       #5
      My Computer


  6. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #6

    @zbook Did you ever get your Laptop sorted? I see from your computer details you are still on 1607!
      My Computers


  7. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #7

    The notebook that was being troubleshooted upgrades to 1903 or 1909 with a black screen or black screen with Personalized settings (not responding) and Windows explorer not responding.

    Currently it's in Windows RE after rolling back and upgrading.

    It has a default 10 day rollback maximum option.

    Windows upgrades to each 1709, 1803, and 1809 fail with rollback error codes and messages.
    Windows upgrades to each 1903, and 1909 succeed with black screens with or without Personalized settings not responding.

    This is a link on the Personalized settings not responding:
    How to fix Windows 10 personalized settings not responding - Win10 FAQ

    The registry steps in the above link had no impact.

    Upgrades to each 1903 and 1909 were performed with:
    a) enabled Nvidia optimus
    b) only Intel iGPU
    c) only Nvidia GPU
    d) only Microsoft default GPU drivers

    So the upgrade problem is impacting the display and the cause is unknown.
    The cause of the Personalized settings (not responding) is unknown.
      My Computer


  8. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #8

    If I were you I would do a completely clean install of 1909 deleting all the partitions on the drive and starting afresh. Let Microsoft install all the drivers and keep the system disconnected from the internet until after you have completed the installation and setup your user profile.

    As you will no doubt already have a Macrium backup of the existing system you can always revert back to it if needed.
      My Computers


  9. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #9

    I've not made a recent backup image.
    Macrium was ran many months ago and the external drive disconnected from the computer.
    Checking the status of a backup image and restoring an image I've not yet done.

    So the next project is backup images.
    I've got a 4TB external HD and need to backup multiple computers with the same Macrium software.

    On this and some other computers, disk drives are HD, and may need to be replaced with SSD.
    There is no additional space to attach to the motherboard (form factor).
    So the SSD somehow will need to fit into a chassis for a notebook HD.

    I'm planning to open a thread once I work on it some more.

    I've performed a recent in place upgrade repair with the identical Windows version that was successful.
    So it's a work in progress.
      My Computer


  10. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #10

    Use a Macrium rescue DVD or USB drive and boot from it to restore your old system image. This is very straightforward to do. I am certain you have file corruption in your present system which is preventing any upgrade from working. I have come across this myself a few times and if you can't restore back to a working system and are unable to fix the corruption the only answer is a clean installation of the latest W10 version.

    Swapping a HDD in a notebook or laptop for a SSD is very straightforward as they are the same size and will simply fit in using the same fittings. I've done it many times. After replacing you either do a clean install of W10 or if you have made a Macrium image of the previous HDD just use a Macrium rescue disk and reinstall the original image onto the SSD (assuming your SSD is the same size as your original HDD was).
      My Computers


 

  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 09:39.
Find Us




Windows 10 Forums