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
Solved

Need help reg. WSUS using VBscript.

Posted on 2011-09-26
8
335 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

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

Please provide step by step instructions..
0
 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

791 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