Forcing a shortcut to run with seperate credentials

  • Thread starter Thread starter DukeN
  • Start date Start date
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.
 
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.
 
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.
 
Back
Top