# Updates

# Remove Patches Via Command Line

Works on Windows Server 2008R2, 7, 8 and higher

1. Find the list of packages installed on the machine with the issue by performing this command

```
dism /online /get-packages /format:table
```

for ease of reading I did the following:

```
dism /online /get-packages /format:table > patches.txt
```

2. From the list get the Package Identity Name

`Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1`

3. Run this command to uninstall the update silently

```
DISM.exe /Online /Remove-Package /PackageName:Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1 /quiet /norestart
```

From [https://arstechnica.com/civis/viewtopic.php?t=1217819](https://arstechnica.com/civis/viewtopic.php?t=1217819)