Solved

Need help reg. WSUS using VBscript.

Posted on 2011-09-26
8
328 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
Comment Utility
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:
dstewartjr earned 334 total points
Comment Utility
Use WUInstall


http://wuinstall.com/
0
 
LVL 11

Expert Comment

by:Ackles
Comment Utility
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
Comment Utility
Does anyone know how to use wuinstall??

Please provide step by step instructions..
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 11

Expert Comment

by:Ackles
Comment Utility
0
 
LVL 11

Assisted Solution

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

A
0
 
LVL 47

Assisted Solution

by:dstewartjr
dstewartjr earned 334 total points
Comment Utility
Everything you needed(Wuinstall) is provided on their site
0
 

Author Closing Comment

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

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

771 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

11 Experts available now in Live!

Get 1:1 Help Now