Jump to content


clausjuhl_p

Executing an .hta (Not in a OSD)

Recommended Posts

Hi All :)

 

I want have a TS (Task Sequence)(is running when the user is logged onto the system, not in OSD(OS Deployment)) with several steps, one if them being a .hta file that warns the user that a change in software is comming and they need to close down Outlook.

My problem is that the TS gets stuck when it reaches the .hta file step, just hangs untill I shut it down by force (kill the process).

 

My setup:

  • "Run Command Line"
  • Command Line: "Name of file"
  • Tick in Package: "Package containing the file"
  • In Otions the default Success codes are set til 0 3010 (have no idea on what this is used for?)

 

/

Claus

 

Share this post


Link to post
Share on other sites

it's not hanging it's actually running the HTA as a system process so you don't see it, the user doesn't see it. If you open task manager and look at the processes do you see MSHTA.exe running ? kill it and the task sequence will continue,

 

use serviceUI.exe instead to display the hta

Share this post


Link to post
Share on other sites

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
Reply to this topic...

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