Does
your user have the extra privileges specified in the
documentation?
-----Original Message-----
From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 3:33 AM
To: [EMAIL PROTECTED]
Subject: AdminMisc problem
All,
I am having some trouble with the Win32::AdminMisc program. I am trying to run a program with elevated privileges and it fails with the error -
"The handle is invalid."
The 'LogOnAsUser' call succeeds, but then the 'CreateProcessAsUser' call appears to fail with the above error.
I know its not my program because the supplied test file - RUNAS.PL (that comes with the module), fails with the same error.
Has anyone else had this problem and managed to shed any light on it?
I'm running Windows XP SP3
Cheers,
Darin
--------------------------------------------
Darin Cruickshanks
Labs Manager, Computing Service
University of Essex
[EMAIL PROTECTED]
01206 873585