yes

From: [email protected] [mailto:[email protected]] On 
Behalf Of Daniel Ratliff
Sent: Wednesday, July 30, 2014 7:49 AM
To: [email protected]
Subject: RE: [mssms] TS Step to create an Error

In ConfigMgr though you need to use ServiceUI.exe to run in the interactive 
session. Assuming you are using MDT where this isn’t necessary?

I would stick with a simple run command line to throw an error. I prefer 
powershell myself.

Powershell.exe –ExecutionPolicy Bypass –command “& {exit 255}”

Daniel Ratliff

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jimmy Martin
Sent: Wednesday, July 30, 2014 8:32 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] TS Step to create an Error

I just call a vbscript that pops up a mesg and pops an error code that causes 
the task sequence to quit

Here’s the vbscripts contents

Dim Retval
Retval = -1
set oShell = CreateObject("WScript.Shell")
Dim Announce
OK = 6
'The Announce string variable contains the message to be sent.
'It should be no more than 1024 characters.
Announce="NOTICE: The usb drive's deployment files need to be refreshed before 
the image process can be started. The computer will reboot when you click ok"

'The value 64 in the line below provides an Information icon and
'only an OK button for response.  Other values are available to use
'to produce different results (Yes/No, Critical icon, etc.)

OK=MsgBox (Announce,48,"Install media too old")
WScript.Quit(Retval)


Jimmy Martin
(901) 227-8209

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of CE5AR.ABREG0
Sent: Wednesday, July 30, 2014 7:18 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [mssms] TS Step to create an Error

Command line step
"CMD /C EXIT /B 3"

Cesar A.
Meaning is NOT in words, but inside people! Dr. Myles Munroe
My iPad takes half the blame for misspells.

On Jul 30, 2014, at 3:35 AM, "Robert Marshall" 
<[email protected]<mailto:[email protected]>> wrote:
... invoke an invalid Run Command Line step that will error, make sure the step 
isn’t ignoring the error and proceeding?

Robert

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Stephen Murley
Sent: 30 July 2014 09:30
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] TS Step to create an Error

Have me create the TS. Most of mine fail 1st time ☺

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Todd Hemsell
Sent: 29 July 2014 22:42
To: [email protected]<mailto:[email protected]>
Subject: [mssms] TS Step to create an Error

What is an easy way to make a TS error out?

________________________________
<~WRD000.jpg><http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the 
use of the recipient to whom it is addressed. If you are not the intended 
recipient then copying, distribution or other use of the information contained 
is strictly prohibited and you should not rely on it. If you have received this 
email in error please let the sender know immediately and delete it from your 
system(s). Internet emails are not necessarily secure. While we take every 
care, Plymouth University accepts no responsibility for viruses and it is your 
responsibility to scan emails and their attachments. Plymouth University does 
not accept responsibility for any changes made after it was sent. Nothing in 
this email or its attachments constitutes an order for goods or services unless 
accompanied by an official order form.




This message and any files transmitted with it may contain legally privileged, 
confidential, or proprietary information. If you are not the intended recipient 
of this message, you are not permitted to use, copy, or forward it, in whole or 
in part without the express consent of the sender. Please notify the sender of 
the error by reply email, disregard the foregoing messages, and delete it 
immediately.


P Please consider the environment before printing this email...



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.




This message and any files transmitted with it may contain legally privileged, 
confidential, or proprietary information. If you are not the intended recipient 
of this message, you are not permitted to use, copy, or forward it, in whole or 
in part without the express consent of the sender. Please notify the sender of 
the error by reply email, disregard the foregoing messages, and delete it 
immediately.

P Please consider the environment before printing this email...


Reply via email to