Deshabilitar actualizaciones automaticas de windows

Solo disponible en BuenasTareas
  • Páginas : 5 (1170 palabras )
  • Descarga(s) : 0
  • Publicado : 29 de noviembre de 2011
Leer documento completo
Vista previa del texto
Disable or Enable Windows Automatic updates command line | Windows...

http://www.windows-commandline.com/2009/11/disable-automatic-updat...

Home Contact Us Downloads System Configuration User Accounts

Windows Command Line Windows XP, Windows 7, Server 2008, Vista command line tips

Disable or Enable Windows Automatic updates command line
by admin on November 4, 2009
New York ITSchool www.nybi.org Hands-on MCSE MCITP CCNA A+ Courses Windows 2008 Cisco network Training Find The Perfect Web Host www.ca.TopHosts.com/DomainRegistry Compare Canada's Top 10 Web Hosts. Find Reviews & Service Info Online! Data Center Monitoring www.itwatchdogs.com Temp, humidity, water leak & more with Email/SNMP /SMS/Call Alerts UK VPN £4.58 or $7 /month www.UKiVPN.com Video Streaming from UK /US/Canada Any PC, MacOSX, Phone, Linux

We can disable Windows automatic updates from command line using the below command.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f

I have tested this on Windows XP and Windows server 2003 and it works perfectly. After running the above command you can also see a balloonpopping up near the system tray with the message “Your computer might be at risk… Automatic updates is turned off……“. Please note that this will not work if domain group policy is enforced and users are prohibited to change the settings. One can find out if a GP is enforced or not looking at the ‘Automatic updates’ tab in Computer properties(sysdm.cpl). If the options are gryed out, it means thatdomain GP is enforced. To enable automatic updates we need to set the registry value to 0. Command is given below.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto

1 of 7

12/11/2011 1:13 PM

Disable or Enable Windows Automatic updates command line | Windows...

http://www.windows-commandline.com/2009/11/disable-automatic-updat...

Update" /vAUOptions /t REG_DWORD /d 0 /f

If you want to download updates but not install till the user acts on it then you can set the registy value to 3.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 3 /f

If you want to disable Automatic updates service then run the below command from command prompt.
sc config wuauservstart= disabled

IF you want to stop Automatic updates service from windows command line then run the below command.
net stop wuauserv

Command for starting automatic updates service:
net start wuauserv

Command for enabling the service:
sc config wuauserv start= auto

SurfControl
Additional Reading... Enable disable firewall from command line Enable test signing in Vista and Windows 7Change computer name from command line Uninstall Microsoft Silverlight Get serial number for RAM, motherboard, hard disk { 10 comments… read them below or add one }

2 of 7

12/11/2011 1:13 PM

Disable or Enable Windows Automatic updates command line | Windows...

http://www.windows-commandline.com/2009/11/disable-automatic-updat...

Salim November 13, 2009 at 2:23 pm Thanks for the tip.. Itried this on Windows 7 and it worked perfectly. Thanks again. Reply

Anonymous November 28, 2009 at 11:28 am thanks mate. one question, does this command only disable? or does it enable and disable? Reply

Techblogger January 12, 2010 at 6:41 am It can be used to enable also. The command would vary slightly.. just replace 1 with 0. Please see the command below after making this change.. regadd "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion \WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 0 /f Reply

Anonymous July 23, 2010 at 1:56 am Thanks i tested that with Vista it worked for that too . In my windows update page was having error i did nt have any way other than to disable or enable automatic updates through command prompt. Best Regards Kanwal Reply...
tracking img