Every admin at some point has had the call that an update has just installed on someone’s machine in the middle of an important meeting or something similar. This can often be caused by deadlines set in WSUS. While deadlines can be good for forcing updates at a particular time, they can also come back to bite you after that deadline has expired. So, I wrote a quick script that you can run to remove deadlines from approved updates in WSUS. The script will allow you to either remove all deadlines, past, and future, or you can use the OnlyPast switch and just remove deadlines that have already pasted.

The script is available on my public GitHub GIST repository. Remove Wsus Deadline