in reply to Win NT user impersonation in Perl

This may be something simple. Here are some things to check.

1) Be sure to include the full pathname to the exe file. You may be able to run the exe as a user because the user has the exe on his/her PATH and the PATH is not set up when run with no one logged in.

2) Is the external program on a mapped drive? The mapping only happens when a user is logged in. You may not be able to get to the exe because the mapping does not exist.

--

flounder