RunAsCurrentUser.exe question

(imported topic written by SystemAdmin)

I noticed when I use the Power Profile Wizard the command is “RunAsCurrentUser.exe --q”. What does the --q switch do? I know the --w is wait. Also is there a significant difference between 2.0 and 2.0.2?

Thanks

Lewis

(imported comment written by SystemAdmin)

Hey Lewis,

The “–q” was added in RunAsCurrentUser.exe 2.0.2 to allow “run quiet” functionality. Previously, even if you had the actionscript command:

runhidden RunAsCurrentUser.exe cmd.exe

a cmd box will still appear. With the -q command, whatever RunAsCurrentUser.exe runs should be suppressed and hidden.

-Zak

(imported comment written by SystemAdmin)

Can you combine the --q and --w or does the --q also wait?

Thanks

Lewis

(imported comment written by SystemAdmin)

I believe you can use "RunAsCurrentUser.exe --w --q " to effectively do the “waithidden” actionscript command. I think the --w has to come before --q for it to work correctly.

-Zak