Skip to content

Executing an .hta (Not in a OSD)

Featured Replies

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

 

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

  • Author

I'll have a look tomorrow for that :)

 

I just don't get it,the same type of hta is running fine in the osd,what's the difference?

 

What do you mean by using serviceUI,how does that work?

  • 9 years later...

Hi Anyweb,

I've managed to create and get the HTA to open in OS, however my issue is that is in the background and the user don't/won't see it unless they close all their open windows to show the HTA.

Any and all assistance would be greatly appreciated. 

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.