Disable Standalone Task Sequence media after a certain date/time...
I am looking for a way that I can setup a Standalone Task Sequence Media to not be able to deploy a task sequence after a certain date or amount of time. Something similar to how the self-signing certs work for the boot media. Any help would be greatly appreciated.
September 28th, 2012 11:14am

Unfortunately there is nothing native in the product that does this. However one option is to configure a task sequence variable in the standalone media which stores the date & time you want the media to expire as timestamp. Then add an action at the start of your task sequence to run a vbscript which will check the current date/time on the client and then compare this to the timestamp stored in the TS variable. You can then take the appropriate action, based on whether the date has passed (eg. warn the user, fail the task sequence). You can configure the action in the TS to only run if the expiry variable exists so it won't even run for other deployment scenarios. It's not a perfect solution as you have to start the TS before you discover whether the media has expired and also then fail it so that it doesn't continue. However you could get your script to do things like warn the user x days before expiry giving them time to create new media. There may be some alternative solutions using a pre-start command in the boot image which would run before the TS even starts. Mark.
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2012 4:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics