Skip to content

Restarting after selecting a task sequence

Featured Replies

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.

  • Author

Currently the TS advertisment has "There are no items to show in this view" under Mandatory assignments.

  • 2 months later...

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.