WSUS Update

Posted on 2013-11-29
Last Modified: 2016-02-20
I want to restore the default Window WSUS setting. Is there any script to reset the Window registry such that it will update from Microsoft site rather than pointing to my internal WSUS server ?

Question by:AXISHK
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 35

Expert Comment

ID: 39686312
The most feasible past solution you've applied to get the WSUS going was probably through the group policy management console. Therefore, the solution is also there (remove the group policy where the WSUS settings are located).
If not, just add a policy for the Windows updates, and apply the default settings. It should overwrite the WSUS settings on the clients.
LVL 20

Accepted Solution

Lazarus earned 500 total points
ID: 39690072
The attached script will reset all settings for the client you run it on. Don't forget to remove your GPO that has the client computers checking for a WSUS server in your network

If you run the batch file with this command line (using PSEXEC) you can run it on multiple computers:
psexec @COMP.txt -s -d -c -f WSUSCLEAR.bat

Just make a test file with the names of the computers in your COMP.txt file

Author Comment

ID: 39690094
Actually, I can't find the WSUS GPO on the domain controllers. However, the automatic update on some servers has been grey out.  I have checked the registry on these servers and the WSUS update has pointed to a internal WSUS server that doesn't exist on the server. That's why I want it to enable the default auto update setting on those server first.

I believe the organization has deployed the WSUS GPO before. But for some reaon, the WSUS server has been removed. If WSUS GPO is removed, the Window update is resumed to the orignal setting. However, it seems that the Window Update is still under controlled (as we can change any setting there).

Under this stituation, how to hande it ?

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 20

Expert Comment

ID: 39690758
You have to find the GPO that controls that setting. You can view the settings of all the GPO in your GPO Management module

Author Comment

ID: 39694466
Already checked. The GPO for WSUS doesn't exist. However, some servers seem to control by the GPO (or the original settings doesn't remove). Can I reset the original window update on this  server.

LVL 20

Expert Comment

ID: 39694470
Yes you can use the script for a server as well

Author Closing Comment

ID: 39726722

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
shadow copies 7 93
Office 2016 with WSUS 5 66
Protecting Server 2003 against Ransomware 2 71
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question