Solved

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

Posted on 2013-01-11
6
450 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:Steve
ID: 38766975
you can always disable the service "windows update" - that'll stop it.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

630 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