Jump to content


LimeProselyte

Can a Task Sequence "try again" in WinPE?

Recommended Posts

The agency I work for is using SCCM 2012 R2 and is currently using static IP addresses for all of our machines. Because of this I have created a customized powershell script that is ran as a "pre-start package" for my OSD task sequence. This script asks the user for the machine name and IP address then sets the OSD Task Sequence variables and network adapter properly. I have the preferred Deployment ID hard coded into the variables. Everything works fine and I couldn't be happier.

 

Currently, I am running the Task Sequence in an unattended mode. If something should go wrong with attempting to initialize the task sequence from the SCCM DP's, it just reboots with no indication of what happened (other than the obvious). With that in mind, I'm looking to try and improve the process by having some sort of warning pop up if there was a problem with the possibility of bringing the powershell script back up and/or fire off the proper commands to try and connect to the DP's again.

 

Is this even possible? If so, what commands are ran to fire off the Task Sequence? I've seen the TSBootShell.exe and TSBootStrap.exe programs being called in the very beginning to start things off (located in the winpeshl.ini and TSBootShell.ini files), but I am not certain if I'm on the right path or not.

 

Any help would be greatly appreciated. Thanks!

Share this post


Link to post
Share on other sites

If you want to re-start the Task Sequence, issue the following command

 

x:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:x:\sms\data

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.