Jump to content


  • 0
SiegmundB

Verify if package is run from task sequence

Question

one of our customers has the following question:

How can I have my software program (command line is a vbscript) check whether it is running from a task sequence or not?

 

They have these vbscripts as package installation framework. Programs are all optional and send a pop-up when starting and when finished to the interactive user.

 

now, since the Task sequence is run with the system account, those popups will not work do they?

 

any ideas?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

It's a little complicated, but you can make programs interactive when they're running -- there are numerous articles out there on how to do this:

 

http://www.codeproje...veOSDTasks.aspx

 

http://blogs.technet...tup-wizard.aspx

 

To answer the other part of your question, you can have an application detect if is part of a task sequence or not by detecting the existence of tsmanager.exe perhaps? Yeah, I know that's not exactly reliable, but it might work for the time being.

 

Hope this helps.

 

Cheers,

Trevor Sullivan

http://trevorsullivan.net

http://twitter.com/pcgeek86

Share this post


Link to post
Share on other sites

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.