Jump to content


  • 0
trilili360

Reboot using task sequences

Question

Hi all,

 

We're in front of a problems, and hope that someone could help us.

 

We're deploying windows 7 using sccm R2.

 

We have a custom task sequence and we noticed that software deployment are messed up due to .net framework 4.

 

We would like to install .net framework 4 during the osd, then, a task sequence to reboot, and then, continue to install other softwares.

 

Is it possible to do this, i mean, deploy a software, reboot, and then, continue the task sequences ?

 

Many thanks in advance.

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

yes of course it's possible,

just add a Restart Computer Step in your ts and you are done, make sure the step has Specify what to run after the restart: is set to The currently installed default operating system

Share this post


Link to post
Share on other sites

  • 0

Hi,

 

Ty very much.

 

Unfortunatelly, it didn't work.

 

Here's what i have on my task sequence :

 

 

Install operating system

restart in win pe : OK

partition disk : ok

apply os : ok

apply windows settings : ok

apply network settings : ok

apply device drivers : ok

 

Then, the computer reboot alone

 

Then, the others task sequence :

 

Setup Operating System

setup windows and configmgr : ok

connect to network folder : ok

Install .net framework 4 (it's a command line) : ok

create c:\temp (it's a command line) : ok

restart the computer to the currently boot images : OK

Install java runtime : pending due to reboot

 

Then, the computer restarts, and windows is showing : Setup is preparing your computer for the first use and at same time, sccm client is running, and running the task sequence "Restart Computer" which it shouldn't, normally, it should continue the task sequences and install Java runtime.

The computer then reboos once again, and doesn't continue the task sequences.

 

NB: the installation of .net framework is working i remove the auto-reboot.

Share this post


Link to post
Share on other sites

  • 0
  Quote
restart the computer to the currently boot images : OK

 

that restart step, is it restarting to the currently installed Operating System Image ? or boot image ?

Share this post


Link to post
Share on other sites

  • 0

We fixed it by booting to the currently boot image, the task sequences continue, but install applications failed, because they don't like to be in win pe environnement.

 

We would like to do an auto-logon and call a command to run a separate task sequences to run a task sequence to install applications, is it possible, or do you know another way to install packages ?

 

Many thanks in advance.

Share this post


Link to post
Share on other sites

  • 0

so do you still have the problem described originally or not ? we are deploying several applications here in our Deploy 7 task sequences with no issues so i'd like to determine what your real failrues are, autologin is possible see this post

Share this post


Link to post
Share on other sites

  • 0

Reboot sequence was fixed by booting on the boot image assigned to the task sequence instead of currently installed default os.

 

But now, i try to install java and other applications which are the suit of our task sequences after the shutdown sequence we had, but the installations of applications failed.

 

It cannot find msiexec, or other problems.

 

I noticed that if i run the SET command when i press F8, i see that temp folder points to x:\windows and other variables points also to there instead of c:\windows

 

This is why the suits of task sequences failed.

 

I don't know how to fix this, if you know, it'll be very good.

 

Else, we're looking another way to install our applications, we think about an auto-logon, and then, run a separate task sequences to install our applications.

 

Many thanks for your help.

Share this post


Link to post
Share on other sites

  • 0

Little update,

 

In fact, the reboot sequence point to currently boot image starts in winpe, this is why we have variables points to x:\windows

 

The step that sets the correct variables and start win7 instead of winpe environement is "Setup windows and configmgr" but we currently don't know how to set this task sequence correctly and allowing us to continue to install packages.

 

So, if someone here know how to set a correct restart task sequences and continue to install packages are welcome.

 

If we set the restart task sequence to "The currently installed default OS" it starts windows normally and doesn't continue the task sequences.

If we set the restart task sequence to "The boot image assigned to this task sequence" it starts winpe and installations of packages are processed, but failed because of false variables environnement.

Share this post


Link to post
Share on other sites

  • 0

Sorry, i cannot give you those logs, i'm on a internet PC here, and not on the prod network.

 

In OSD, i just want to know how to correctly set a reboot task sequence and ocntinue to install applications.

 

I want to install .net framework, reboot, and continue the next task sequences, because installation on the next sequences needs .net framework correctly installed to continue, and to install correctly .net framework, you have to reboot.

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
Answer this question...

×   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.



×
×
  • 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.