Forcing a shortcut to run with seperate credentials

D

DukeN

Is there any way I can get a shortcut to run with seperate credentials,
instead of the user having to enter the seperate credentials every time
the application is launched?

Thanks.
 
T

Tom Porterfield

DukeN said:
Is there any way I can get a shortcut to run with seperate credentials,
instead of the user having to enter the seperate credentials every time
the application is launched?

Right click on the shortcut and select Properties. On the shortcut tab
change the target to use runas to launch the shortcut. Syntax would be
similar to as follows:

runas /savecred /user:domain\userid "C:\Program Files\My Program\myapp.exe"

The first time the run it, they will be prompted to enter the password.
After that the credentials will be saved and it will just run the app.
 
D

DukeN

Thank you.

Tom said:
Right click on the shortcut and select Properties. On the shortcut tab
change the target to use runas to launch the shortcut. Syntax would be
similar to as follows:

runas /savecred /user:domain\userid "C:\Program Files\My Program\myapp.exe"

The first time the run it, they will be prompted to enter the password.
After that the credentials will be saved and it will just run the app.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top