My dear colleague Johan Schrewelius has created some awesome tools for making it easier to upgrade/service Windows 10 to Windows 10 releases using a Task Sequence. We will start this blog series with a post on one of the tools UPGBackground. For those of you who use OSDBackground we can call it OSDBackgrounds little sister 😉 You will recognize the debug feature which is the same in both. It can be downloaded here: https://onevinn.schrewelius.it/
What does UPGBackground do then?
UPGBackground will cover the entire screen, regardless if a user is logged on or not. In short this it is a full screen application that disables certain system key combinations such as ctr+alt+del and Alt-F4. Except for a debug password, it requires no configuration and it will survive a reboot at is launched as a Service. This will prevent any curious end-user to log on before the upgrade is complete and possible break the upgrade or loose data. It supports multiple screens as well and great feedback from the community has made it even better. If you downloaded it before please download it again as some bugs have been solved.
There is a builtin debug mode that is password protected the same way as OSDBackground is. The Password can be configured for example using a Collection Variable called “UPGDebugPassword” as shown below.
When UPGbackground then runs you can right click in the top-left corner and a password prompt will appear.
Once the password is entered the following options are displayed.
UPGBackground shows only three lines of text, default language is English as shown above. The language support is limited to one at the time. Place a simple .txt file in the same folder as the .msi file named “UPGBackground.txt” as shown below and it will be copied along to the installation folder. UPGBackground will detect the file and try to use its content line for line.
Example content of the UPGBackground.txt file in Swedish
Task Sequence sample
To launch it we can use TSLaunch which is another tool Johan has written. I will cover TSLaunch in detail in a later post, with possibly a video as well as you can do so many things with it. We install the UPGBackground in the Task Sequence as an application as show below.
As soon as it is installed it will launch automatically.
To uninstall it when the upgrade is complete or has failed, we use a SMSTSPostaction that simply runs the uninstall command as shown below. In the sample below I have placed the SMSTSPostaction variable in the end of each section because we have seen that the SMSTSPostaction command is executed on every reboot in some SCCM versions. It should be fine to add it directly after the install command if everything works as intended.
In case of Task Sequence failure
- In the event the TS breaks, not fails, but completely breaks – the application has a built-in selfdestruction function and will eventually (2-4 minutes) uninstall itself.
- If a failure or misconfiguration causes the Task Sequence not to start at all UPGBackground will close and uninstall itself in 12-14 minutes.
To sum it up here is a little animated .gif that will show how it works.