Solved

Need help reg. WSUS using VBscript.

Posted on 2011-09-26
8
331 Views
Last Modified: 2012-05-12
Hi All,

I need to manually login to the windows server 2008 and windows server 2003 for adding the WSUS server for installing updates (For windows server 2008, we add wsus serverthrough group policy and for 2003 we add the wsus server through registry). Once we add WSUS server, we run wuauclt /detectnow and it will come the list of patches.
Is there any way to use psexec tools with vbscript for installing updates remotely??
Any assistance could offer would be greatly appreciated as I need to manually login 200 servers for installing updates.
0
Comment
Question by:jashir101
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 11

Expert Comment

by:X_layer
ID: 36598845
I've never done this but you can try to create vbscript with 3 steps:

1

Import registry settings

2

Run wuauclt /detectnow

3

Run wuauclt /updatenow
Run all steps with psexec.
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 334 total points
ID: 36599282
Use WUInstall


http://wuinstall.com/
0
 
LVL 11

Expert Comment

by:Ackles
ID: 36600701
If you have the group policy defined for WSUS, you can use PSEXEC to update the policy remotely. You don't have to be on the server to do gpupdate.

“PsExec \\Computername Gpupdate /force”

A
0
 

Author Comment

by:jashir101
ID: 36646199
Does anyone know how to use wuinstall??

Please provide step by step instructions..
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 11

Expert Comment

by:Ackles
ID: 36707598
0
 
LVL 11

Assisted Solution

by:Ackles
Ackles earned 166 total points
ID: 36707851
For wuinstall via command line:
http://wuinstall.com/howto

A
0
 
LVL 47

Assisted Solution

by:Donald Stewart
Donald Stewart earned 334 total points
ID: 36710051
Everything you needed(Wuinstall) is provided on their site
0
 

Author Closing Comment

by:jashir101
ID: 36976073
Not a proper solution and also i didnt get script for this.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows license in vsphere 5 35
Server 2008 Software Raid 1, Upgrading Drives 8 65
shadow copy on 2012 OS server 3 48
Federation ID format? 3 31
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

943 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now