Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing user processus with VBS under windows

Status
Not open for further replies.

FAT12

Programmer
Jun 2, 2005
17
0
0
FR
Hi,

J want to change the user of an application with VBS under windows.
Thanks for your answers.

Frédéric.
 
First of all I would be suprised if this were even possible and secondly why do you need to?

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Hi,

In fact I have an application , and I want that this application run s an other application with a user different of the current user, in order to limit the permissions of this application.
I hope it's more clear.
Frédéric.
 
In a console windows launch this command:
runas /?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks it works !
but is it possible to use runas without a password ? because I don't want that a windows appears.
Thanks, Frédéric.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top