Jump to content


  • 0
Rizzo

Restarting after selecting a task sequence

Question

First, I would like to say a big thank you on the amount for useful information here but now I'm stuck and can't find an answer to my problem. I've only been using SCCM for just over a year so please say if I'm doing it wrong.

 

We're only a small team and would like to setup a way of letting anyone reimage a computer from F12 because our network covers 7 different sites and we're only based at two. At the moment we've enabled the password screen before selecting a task sequence but would like to remove this. This is what we're thinking

 

1. Someone logs a fault saying there's a problem with a machine and the outcome is that the machine needs to be reimaged.

2. We set a flag/field in our separate SQL database to say the computer can be reimaged.

3. The user presses F12 and selects the task sequence.

4. First step in the Task Sequence queries our SQL database to check if the machine can be reimaged and sets a task variable

5. If the query comes back saying no. We want the task sequence to restart the computer back into the installed OS

 

I've got the SQL bit working and its returning back the correct value and setting the task variable. (All ok here)

 

The step I'm having trouble with is where I want to restart back into the default installed OS because the value is no, the computer can't be reimaged. Just in case someone presses F12 on the wrong computer.

 

We keep getting an error on the restart step of 0x80004005.

 

At the moment I've made it simple with two steps

First step Sets Task Sequence Variable 'Continue' value of '0'

Second step Restart computer, 'The currently installed Default OS' if variable 'Continue' equal '0' This is where the error message pops up.

 

I hope the above makes sense.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

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.

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.