Hi,
Anyhelp on how can we revert the patches if server gets crash, followed the below steps.
Troubleshooting Steps:
- Boot from Windows Server 2012 ISO
- Click next
- Click repair your computer
- Click on tools -> cmd
- Within command prompt we need to run a couple of commands:
a. Diskpart
First we need to identify the disks by running: list disk
From the output select the OS-Disk by : select disk
Now run: list volume
From the volume list, please select the FAT32-partition which is the SYSTEM partition
Assign that partition a letter by: assign letter y
Exit
b. Verify the OS Disk via dir (see if you can see Windows Folder, User-Folder, Program Files (x86) : dir c:
c. Verfiy the system partition is readable by running dir y:
d. Create a folder on C:\scratch and navigate into this folder
e. Dism
run the following command to get the list of installed packages:
DISM /Image:C:\ /Get-Packages
Open current.txt and see if you have any updates with the state Pending (could be uninstall pending or pending installation)
If so, run the following command:
DISM /Image:C:\ /clean-image /revertpendingactions
f. Reboot
Any help would be highly appreciated.
Thanks,
Korini