My build keeps hanging on the psexec call

by Donovan Brown 15. June 2011 03:20

Problem

Calling psexec from an invoke process activity on a 2008 Server and it is hanging.

Solution

Upgrade to 1.98 of psexec and use the -h switch to run with the account's elevated token.

Explanation

If the target system is Vista or higher, the -h allows the process to get past the UAC that is preventing the application from running as expected.

PSTools

Tags: , ,

Work

About the author

My name is Donovan Brown and I am a process consultant for Imaginet with a background in application development.  I also run one of the Nation’s fastest growing online registration sites for motorsports events DLBRacing.com.  When I am not writing software I race cars for fun.  DLBRacing.com has given me the opportunity to combine my two passions writing software and racing cars.

AdSense

Month List

AdSense