# PSExec and the -h flag

**URL:** https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800
**Category:** Feature Requests
**Created:** [July 9, 2013, 8:55am UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800 "2013-07-09T08:55:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![michaelkoll](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@michaelkoll](https://www.finalbuilder.com/forums/u/michaelkoll)
#### Post date: [July 9, 2013, 8:55am UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800/1 "2013-07-09T08:55:20Z")

</div>

Is it possible to expand the PSExec action to be able to add the -h flag?&nbsp;

The only way to do that now is to not use PSExec as an action, but run PSExec in a command line, which isn't that cool.  
So +1 for this? :)  
  
Kind Regards  
Michael Koll

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 10, 2013, 12:25pm UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800/2 "2013-07-10T12:25:09Z")

</div>

What does it do? I can find no reference to a -h command line option on technet : [http://technet.microsoft.com/en-au/sysinternals/bb897553.aspx](http://technet.microsoft.com/en-au/sysinternals/bb897553.aspx)

---

<div class="post-metadata">

### Author: ![michaelkoll](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@michaelkoll](https://www.finalbuilder.com/forums/u/michaelkoll)
#### Post date: [July 10, 2013, 8:54am UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800/3 "2013-07-10T08:54:52Z")

</div>

I don't know why it isn't listed there, but a /? on PsExec.exe says:

-h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If the target system is Vista or higher, has the process  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;run with the account's elevated token, if available.

Also se attached image.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 10, 2013, 11:40am UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800/4 "2013-07-10T11:40:52Z")

</div>

What version of psexec are you using?

---

<div class="post-metadata">

### Author: ![michaelkoll](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@michaelkoll](https://www.finalbuilder.com/forums/u/michaelkoll)
#### Post date: [July 11, 2013, 7:19am UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800/5 "2013-07-11T07:19:19Z")

</div>

1.98 as seen in the attached file.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 18, 2013, 2:51am UTC](https://www.finalbuilder.com/forums/t/psexec-and-the-h-flag/4800/6 "2013-07-18T02:51:48Z")

</div>

Hi Michael,   
  
 An update with the -h option for the PSExec action is available here;   
  
 [http://downloads.automise.com/downloads/automise/400/AT400\_380.exe](http://downloads.automise.com/downloads/automise/400/AT400_380.exe)
