Not that I'm aware of. You could easily schedule the job to run in the v. near 
future from your parent script, and maybe write a lockfile that your child 
could remove when done, or use a loop with WMI and Win32_Process to wait for 
your child to appear and disappear. Not very pretty but it's the best I can 
think of at the moment. Maybe MSDN will tell you more...

Sorry I couldn't be more help!

Paul
 

-----Original Message-----
From: Marie-eve URVOY [mailto:[EMAIL PROTECTED] 
Sent: 08 December 2004 09:34
To: Paul Sobey
Cc: Perl-Win32
Subject: RE: run a process as System account

I think I can't use 'at' command because I have to
wait for the result of my command. And further more
the command I want to execute has to be executed
immediatly.
Is it possible to use LogonAsUser and
CreateProcessAsUser for System account?

Marie-Eve

(sorry for my poor english ... )

 --- Paul Sobey <[EMAIL PROTECTED]> a écrit : 
> Schedule with an at job? If it runs under the
> context of the schedule service it'll be the system
> account. Use /interactive if you need to see the
> console.
> 
> Paul
>  
> 
> -----Original Message-----
> From:
> [EMAIL PROTECTED]
>
[mailto:[EMAIL PROTECTED]
> On Behalf Of Marie-eve URVOY
> Sent: 08 December 2004 08:51
> To: [EMAIL PROTECTED]
> Subject: run a process as System account
> 
> Hi,
> I'd like to know if it is possible to run a process
> from a perl script as System account on Windows XP
> (without creating a service). My script is lauched
> by
> a user with priviledge. 
> I have been searching the web by didn't find any
> answer.
> Thanks.
> Marie-Eve



*****************************************************************
Gloucester Research Limited believes the information 
provided herein is reliable. While every care has been 
taken to ensure accuracy, the information is furnished 
to the recipients with no warranty as to the completeness 
and accuracy of its contents and on condition that any 
errors or omissions shall not be made the basis for any 
claim, demand or cause for action.
*****************************************************************


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to