+1

--- Original Message ---

From: "Trevor Sullivan" <[email protected]>
Sent: March 7, 2014 8:37 AM
To: [email protected]
Subject: RE: [mssms] RE: Task Sequence wizard asks to remove CD and reboot

Here's an AutoIT script that I wrote, which clicks the Finish button for you
automatically. The steps to use it are as follows:



1.       Compile AutoIT script to executable

2.       Embed AutoIT executable into boot image somewhere (eg. \Tools
folder at the root)

3.       Create a batch file or PowerShell script next to the AutoIT script
that kicks off the executable asynchronously (it will hang / block in the
background)

4.       Enable the pre-execution hook
<http://blogs.technet.com/b/inside_osd/archive/2010/06/30/v-next-beta-1-feat
ure-bootable-media-improvements-part-2.aspx>  on the Boot Image in the
ConfigMgr console



Cheers,

Trevor Sullivan



PowerShell Script



Start-Process -FilePath $PSScriptRoot\AutoITScript.exe;



Call the PowerShell script in the pre-execution hook using:



powershell.exe -ExecutionPolicy Bypass -File
x:\Tools\Launch-AutoITScript.ps1



AutoIT Script



;  Author: Trevor Sullivan

;    Date: 2011-10-28

; Purpose: Automatically closes the Microsoft System Center Configuration
Manager (ConfigMgr)

;          OSD dialog that says "Remove the CD and do not boot from CD."
This dialog box

;          appears when the currently running Windows PE boot image does not
match the boot

;          image, or match the latest version of the same boot image,
assigned to the task

;          sequence that you selected.

;

;          This script should be launched asynchronously from the
TsConfig.ini custom hook,

;          such that it will run in the background until the dialog box
appears, or the

;          computer is otherwise rebooted.



WinWait("Task Sequence Wizard", "Remove the CD and do not boot from CD")

WinActivate("Task Sequence Wizard")

Send("!f")



From: [email protected] [mailto:[email protected]]
On Behalf Of Matt Wilkinson
Sent: Friday, March 7, 2014 4:52 AM
To: [email protected]
Subject: RE: [mssms] RE: Task Sequence wizard asks to remove CD and reboot



Or the boot image on the DP has been updated and the hash doesn't match.



From: Niall Brady [mailto:[email protected]]
Sent: 07 March 2014 09:04
To: [email protected] <mailto:[email protected]>
Subject: Re: [mssms] RE: Task Sequence wizard asks to remove CD and reboot



more thank likely someone has advertised/deployed a task sequence with a
different architecture boot image to the same collection your computer is
in, and that results in it first downloading the 'new' boot image, and then
realising it needs the original boot image that is attached to the task
sequence, once if realises the need to change it prompts you with the
'remove the CD message'.
just click finish to continue or de-deploy the original TS with the correct
boot image to the same collection.



On Fri, Mar 7, 2014 at 8:46 AM, Andrew Craig <[email protected]
<mailto:[email protected]> > wrote:

If the boot image you are booting from, i.e. in PXE/WDS or on Media, is
different from the boot image assigned to the TS you will get this message.
Even if it just a version difference. It must be exactly the same image.



This is because once the TS starts after booting to WinPE it will check the
images and if the one assigned is not the same as the currently running it
will download the correct one. At this point you need to reboot to WinPE.



From: [email protected] <mailto:[email protected]>
[mailto:[email protected]
<mailto:[email protected]> ] On Behalf Of Timothy Ransom
Sent: 07 March 2014 00:36


To: [email protected] <mailto:[email protected]>
Subject: [mssms] Task Sequence wizard asks to remove CD and reboot





Hi,



OK, here is a strange one that just appeared today.



2012 R2 Task Sequence wizard asks to remove CD and reboot to continue. Same
if boot from cd or flash.

I can zero-touch same PC with same boot image and all is normal. Windows 7
btw.



Hope someone has resolved this before.



Thanks,

Tim






****************************************************************************
******************
GDOL CONFIDENTIALITY NOTICE: This transmission may contain confidential
information protected by state or federal law. The information is intended
only for use consistent with the state business discussed in this
transmission. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution, or the taking of any action
based on the contents is strictly prohibited. If you have received this
transmission in error, please delete this email and notify the sender
immediately. Your cooperation is appreciated.
****************************************************************************
******************









_____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System on
behalf
of Leeds College of Building.
For more information please visit http://www.symanteccloud.com
_____________________________________________________________________


_____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System on
behalf
of Leeds College of Building.
For more information please visit http://www.symanteccloud.com
_____________________________________________________________________








Reply via email to