Sometimes an OS deployment fails for different reasons, one thing that can be a problem is that users in some cases don’t see the error message saying that the installation failed and starts using the computer. Even if we use “SMSTSErrorDialogTimeout” to change the default 15 minutes error dialog to 22 hours, the installation can be initiated over a weekend for instance.
If the installation fails near the end of the Task Seqeunce it could only be one application missing an nobody notice it.
I have written two small scripts for this, one that actually disables the computer account in AD if the TS fails and one that changes the logon background in Windows 7 to an awful looking background which cannot be missed by the user, of course this is just a sample.
If the Task Seqeunce fails it would look like this if the user tries to logon:
Then no user cannot use the computer for sure.
I use it in an MDT task sequence so I put the two additional steps in the section “Gather Logs and StateStore on Failure” which is executed in case of a Task Sequence failure.
Here is how to implement it:
- Download the scripts needed here: TSerrorscript
- Place them in a folder that can be used as source folder as below.
- In the backgrounds directory replace my ugly example logon background with your own.
- Create a package in Configuration Manager with the folder with the scripts as source folder and distribute it to your DP’s.
- In the Task Seqeunce add a step for disabling the computer account. I use the same account as I use to join the domain.
- Set a condition to only run if not in WinPe as there is no account to disable if the computer is not in AD.
- Then we add a step to change the background and use the same condition as above for this step.
That is it, now you are ready to test it out.
Hi!
This one I like alot.
I do use the Complete Wizard(former Modena). I am tweaking this one at the monemt, coz a miss a few things. 🙂
Hi,
Nice to hear! Which features are you missing?
/J
Nice background i will use that 🙂