Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1635
  • Last Modified:

WSUS command line

Is there a commmand line I can run from Server 2003 that will tell me what WSUS server it is pointing to?
0
xmouser
Asked:
xmouser
  • 2
  • 2
1 Solution
 
CrownappraisalCommented:
Go to this website http://technet.microsoft.com/en-us/wsus/bb466192.aspx   And download the client diagnostic tool extract it and run it. It will give you pass and fails and also show you what server your client/machine is connected too. Hope this helps!
0
 
xmouserAuthor Commented:
I am unable to install a 'tool'.  I just need a command line to run to find the WSUS server.
0
 
CrownappraisalCommented:
You actually don't need to "install anything" it runs a exe that runs a CMD that list information. There is no actuall install on the machine. Another option is to look into the WSUS log file on said machine.

Scan threw %WinDir%\WindowsUpdate.log for the following entries (ie. C:\Windows\WindowsUpdate.log);

2005-02-16 07:28:56-0800 1076 268 PT: Using server URL
http://YOURWsUSSERVERNAME/IP:PORT/ClientWebService/client.asmx
2005-02-16 07:28:56-0800 1076 268 PT: Using server URL
http://YOURWsUSSERVERNAME/IP:PORT/SimpleAuthWebService/SimpleAuth.asmx

I do not know of any current command in the command line to see what WSUS server a machine is reporting to. You can also find the WSUS information in Regedit

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUStatusServer"="http://server"
"WUServer "="http://server"

The server it is reporting to should be set by a  GPO you or someone created. You could also look in AD and find the GPO it is currently linked to that has the WSUS settings.
0
 
xmouserAuthor Commented:
OK, I'll take that and try it.  Thanks.
0

Featured Post

Independent Software Vendors: 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!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now