| Author | Messages | |
craigmeyer8
Posts:48
 | | 09/20/2010 10:40 AM |
| Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| DarraghOShaughnessy
Posts:177
 | | 09/20/2010 10:45 AM |
| I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 10:50 AM |
| Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 11:44 AM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| Shanzao
Posts:45
 | | 09/20/2010 11:01 AM |
| Hi Craig,
Have you looked at the adm file for windows update, this has information that will allow for reboots when required.
In our environment we have site based scripts that perform reboots at scheduled times so that the entire environment does not shut down at the same time.
Thanks,
Sean From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy<mailto xxxxxxxxxxxxxxxx> Sent: Monday, September 20, 2010 11:44 AM To: xxxxxxxxxxxxxxxx<mailto:xxxxxxxxxxxxxxxx> Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx<mailto:xxxxxxxxxxxxxxxx> [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance </PRE> <font face="Arial" size="1">
This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England. <p> This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system. <p> Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group. <p> Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. <p> Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email. </font> <PRE>
| | | |
| DarraghOShaughnessy
Posts:177
 | | 09/20/2010 11:02 AM |
| Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\A uto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| DarraghOShaughnessy
Posts:177
 | | 09/20/2010 11:02 AM |
| Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\A uto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| DarraghOShaughnessy
Posts:177
 | | 09/20/2010 11:18 AM |
| I meant to add that you can use scom to detect, or still use you scheduled task to run a .cmd file or powershell script to detect the reboot also 
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK) Sent: 20 September 2010 11:01 To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Hi Craig,
Have you looked at the adm file for windows update, this has information that will allow for reboots when required.
In our environment we have site based scripts that perform reboots at scheduled times so that the entire environment does not shut down at the same time.
Thanks,
Sean
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England.
This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.
Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.
Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.
Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.
| | | |
| Shanzao
Posts:45
 | | 09/20/2010 11:27 AM |
| This is an overview of the adm, should contain everything you need here...
[cid:image001.png@01CB58B6.59407600]
Thanks,
Sean
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy<mailto xxxxxxxxxxxxxxxx> Sent: Monday, September 20, 2010 11:44 AM To: xxxxxxxxxxxxxxxx<mailto:xxxxxxxxxxxxxxxx> Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx<mailto:xxxxxxxxxxxxxxxx> [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance </PRE> <font face="Arial" size="1">
This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England. <p> This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system. <p> Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group. <p> Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. <p> Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email. </font> <PRE>
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 11:29 AM |
| Detect hmmm, meaning monitoring the reg key you mentioned earlier?
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:18 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
I meant to add that you can use scom to detect, or still use you scheduled task to run a .cmd file or powershell script to detect the reboot also 
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK) Sent: 20 September 2010 11:01 To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Hi Craig,
Have you looked at the adm file for windows update, this has information that will allow for reboots when required.
In our environment we have site based scripts that perform reboots at scheduled times so that the entire environment does not shut down at the same time.
Thanks,
Sean
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England.
This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.
Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.
Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.
Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.
| | | |
| DarraghOShaughnessy
Posts:177
 | | 09/20/2010 11:36 AM |
| Sure. I haven't had a chance to test this but I'd imagine that after a reboot, wu clears that key. SO, if there are updates in there, then the system needs reboot. Run the script from scom or otherwise on the day you want and use a runas account with enough privilege to reboot the server
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:27 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Detect hmmm, meaning monitoring the reg key you mentioned earlier?
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 12:18 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I meant to add that you can use scom to detect, or still use you scheduled task to run a .cmd file or powershell script to detect the reboot also 
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK) Sent: 20 September 2010 11:01 To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Hi Craig,
Have you looked at the adm file for windows update, this has information that will allow for reboots when required.
In our environment we have site based scripts that perform reboots at scheduled times so that the entire environment does not shut down at the same time.
Thanks,
Sean
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England.
This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.
Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.
Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.
Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 11:38 AM |
| Hi Sean
Doesn't look like that option is going to work in my scenario as it says "If the status is set to Enabled, a scheduled restart will occur the specified number of minutes after the previous prompt for restart was postponed."
On the other hand it sounds confusing to me as it says "scheduled restart" which i would think that it would wait for the GP to reboot the machine but then it also says "...number of minutes after the previous prompt for restart was postponed..." Now, i'm not the only administrator in the company so maybe someone else could postpone the reboot and then the time will start ticking for the reboot hence the confusion
Thanks
From: MCCARTHY Sean (AXA-TECH-UK) Sent: Monday, September 20, 2010 12:24 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
This is an overview of the adm, should contain everything you need here.
Thanks,
Sean
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England. This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.
Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.
Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.
Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 11:48 AM |
| Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:02 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| DarraghOShaughnessy
Posts:177
 | | 09/20/2010 11:55 AM |
| Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\A uto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh <mailto xxxxxxxxxxxxxxxx> O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
* Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
| craigmeyer8
Posts:48
 | | 09/20/2010 12:06 PM |
| Thank you so much
I don't know VBScript at all but will try and do it in powershell
Thanks once again
From: Darragh O'Shaughnessy Sent: Monday, September 20, 2010 12:53 PM To: xxxxxxxxxxxxxxxx Subject: RE: [gptalk] Restarting servers and automatic updating
Cool, if I get some spare minutes, I'll try and whip something up for you. It should be only 20 lines or so in Vbscript
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 11:47 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Thank you Darragh O'Shaughnessy
This reply really helped a lot.
Now just for the scripting part which I'm not good in but I'll give it my best shot. I'll try and write a script that read the reg key directory and if it contains data then the pc must reboot during a specific time
Craig
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 12:02 PM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
Ah perfect! If you have SCOM then you can do one of the following then trigger a task to run during the specified time frame (I thought you wanted a pure GP/GPP method):
See: http://msdn.microsoft.com/en-us/library/aa387099%28VS.85%29.aspx
You could easily scan the WSUS server itself for machines that require a reboot (as client report back to the server when they have installed updates) or have the SCOM client on the server detect if that individual server requires a reboot. I think all you'd need to do is check this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Patches that require a reboot list themselves in here ;P
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:48 To: xxxxxxxxxxxxxxxx Subject: Re: [gptalk] Restarting servers and automatic updating
Hi Darragh O'Shaughnessy
thanks for taking the time to respond - yes i agree on creating a GP to schedule the reboot
For me the tricky part is to determine which servers need them due to the updates installed
regards
PS: I do have scom and opalis in my environment if someone on this list maybe have the products in their environment and knows how to do it with these products
From: Darragh O'Shaughnessy
Sent: Monday, September 20, 2010 11:44 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Restarting servers and automatic updating
I supposed you could do the following:
· Use GPP scheduled task to do the reboot.
If you wanted to only reboot if a reboot due to WSUS was pending, you could possible use WMI to filter the GPO scoping for this occurrence. I'm not 100% how you would detect which servers require a reboot but let me think about it for a while.
Darragh O'Shaughnessy
From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Craig Meyer (Hotmail) Sent: 20 September 2010 10:39 To: xxxxxxxxxxxxxxxx Subject: [gptalk] Restarting servers and automatic updating
Hi all
Is it possible to implement a GPO to do the following?
To monitor a group of servers and during a maintenance window (eg Sunday morning 1am to 5am) reboot all the Windows Servers that got windows updates in the week and require a reboot. In other words all those servers with those annoying pop-ups saying updates have been installed and they require a reboot?
thanks in advance
| | | |
|
|