The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Nice to Know – Reset WSUS settings after OSD in MDT

Posted by Mikael Nystrom on March 26, 2015

After deploying a OS in MDT there are some “leftovers”, this script will remove those settings which is very convenient when creating a ref image that uses another WSUS server and you would like to minimize issues. Just download it, unzip it, import as an application, like this.


Then add it as an application in the MDT Task Sequence, something like this.

Download :



4 Responses to “Nice to Know – Reset WSUS settings after OSD in MDT”

  1. Mike said

    Perfect! Just what I could use.

    Is there a definitive list somewhere of why a MSP should switch from using plain-ol’ WDS and start using MDT?

  2. Peon said

    Ha ! Thanks for this ! I was using a way more “quick and dirty” script. This one is way better.
    In addition, you could delete the SoftwareDistribution folder. I had some issues with computers not reporting when created from a heavily modified ref image.

  3. Baard Hermansen said

    Your script doesn’t appear to remove the entry WUStatusServer, it’s not needed when WUServer is removed?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: