Cheers Jooel, I was wondering what to use the spare command switch letters for [Roll Eyes]

Seriously, I'd already considered using the CreateProcessAsUser() call to similar effect.

I want to spend a little time thinking about security implications before adding this as a feature.

The CreateProcessWithLogon() information will be useful.

[edit]
Update: CreateProcessWithLogonW has the following requirements:
quote:
Requirements
Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Unicode: Implemented only as Unicode.

Which is too restrictive.
[/edit]

[ 28. February 2003, 12:53: Message edited by: Richard H. ]