• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

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

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
cawasaki
Asked:
cawasaki
  • 3
  • 2
1 Solution
 
Neil RussellTechnical Development LeadCommented:
Are the servers not on a windows domain? Would be far better to do by group policy if they are.
0
 
cawasakiAuthor Commented:
hi,

its in domain, but i prefer by script if possible
0
 
SteveIT ManagerCommented:
you can always disable the service "windows update" - that'll stop it.
0
NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

 
cawasakiAuthor Commented:
hi, no i need the service to be start because i use it for update with SCCM
0
 
Neil RussellTechnical Development LeadCommented:
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
 
Neil RussellTechnical Development LeadCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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