Solved

Disabling Windows 7 Restart after Windows Update

Posted on 2011-03-01
9
398 Views
Last Modified: 2012-05-11
In windows xp I used to have a registry key that I could just double click in XP to create this Key for me to stop the computer from auto restarting after an update.

I came across this article to show you how to jump into regedit and create the key in windows 7... Since I will need to do this to 30 computers or so... I thought this would be very time consuming..

Is there a way I could create a shortcut to make this change for me on a double click?

Thanks

Matt

http://www.groovypost.com/howto/microsoft/stop-windows-7-from-auto-restarting-after-update/


0
Comment
Question by:meshoxford
9 Comments
 
LVL 14

Expert Comment

by:dmwynne
ID: 35008332
Highlight the dword afte you've created it and choose file, export, save it and then you can double click it to add it to any machine's registry.
0
 
LVL 14

Expert Comment

by:dmwynne
ID: 35008343
You should highlight and export the AU key rather.
0
 
LVL 5

Expert Comment

by:sweeps
ID: 35008384
Set the registry key on one and then extract it and use group policy to push it out.

Or maybe this would be a better solution
technet blog
http://blogs.technet.com/b/askds/archive/2007/08/14/deploying-custom-registry-changes-through-group-policy.aspx
clip-image004-1.jpg
0
 
LVL 1

Expert Comment

by:jeff77tor
ID: 35008827
And if you don't want to do an export first... You can use the native REG command...

The following command adds the value to the local machine.
REG ADD HKLM\SOFTWARE\Policies\Microsoft\WindowsWindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

This command executes the command against a remote computer (replace "ComputerName with the target's actual name.)
REG ADD \\ComputerName\HKLM\SOFTWARE\Policies\Microsoft\WindowsWindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

Or.. put the following line in a .cmd file and call the file with just the target host name
REG ADD \\%1\HKLM\SOFTWARE\Policies\Microsoft\WindowsWindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

Example: NoReboot.cmd targetComputer

If you have a list of the computers in text format, you can use the FOR command to run the command against each of the computers in the list.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:meshoxford
ID: 35009133
Wow a lot of good answers, jeff where do I enter that command in Run?

And DM ... so its AU?
0
 
LVL 14

Accepted Solution

by:
dmwynne earned 500 total points
ID: 35009182
Yes the key you create in the article is AU.  Select that folder in regedit and choose file, export.
0
 
LVL 1

Expert Comment

by:jeff77tor
ID: 35010227
You can add it to a login script (the first one); in the Run dialog or the command prompt.

If you want to see the results of the command, open the command prompt by putting CMD into the Run dialog.

Will even work with Sweeps GPO example... The file is REG.EXE and the rest goes in Parameters.

Or... Just run (double-click) the attached .cmd file on each computer. ;)
NoRebootLocal.cmd
0
 
LVL 1

Expert Comment

by:jeff77tor
ID: 35010489
I just realized, I'm missing a slash between Windows and WindowsUpdate... Corrected command lines are below along with a corrected attachment:


REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

REG ADD \\ComputerName\HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f

My bad!
NoRebootLocal.cmd
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 35011738
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001

copy and paste into "no autoreboot.reg"
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now