Solved

remotely disable windows update: set windows update to never search update

Posted on 2013-01-11
6
440 Views
Last Modified: 2013-02-18
Hello,

i need a powershell script to remotely disable windows update, i need to set option to never search updates.

i have a liste of server in txt file like this:

server1
server2
server3
.....

my server is windows 2003 and 2008 and 2008 r2.

thanks for help
0
Comment
Question by:cawasaki
[X]
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
  • 2
6 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38766937
Are the servers not on a windows domain? Would be far better to do by group policy if they are.
0
 

Author Comment

by:cawasaki
ID: 38766971
hi,

its in domain, but i prefer by script if possible
0
 
LVL 17

Expert Comment

by:sgsm81
ID: 38766975
you can always disable the service "windows update" - that'll stop it.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:cawasaki
ID: 38766982
hi, no i need the service to be start because i use it for update with SCCM
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 38767006
If you disable by script AND there is a Group policy either NOW or created in the future to affect an OU that those servers are in then you MAY inadvertantly start update services again when you had not intended to.  That is why I said GP would be the better method.

Howver as said, stopping the service if it is a temp fix would be the easiest method.


SC \\servername stop "wuauserv"
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38767011
Do you have the SCCM Update setup guide?

See http://www.windows-noob.com/forums/index.php?/topic/1064-sccm-2007-guides/ for SCCM 2007
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
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 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…

730 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