Sunday, June 7, 2020

Run Program or Application With Different User Without Password

Generally, there is a need for administrative credential to run some applications in domain environment. So every time the user needs to provide admin username and password to run the application. But in this case, it is risky for the common user to enter admin password. So if the user name and password can be saved permanently in order to run the application then, there is no need to provide admin username and password to anyone. So, there was no other worry about IT security. Today we will discuss about it.

First we will create a shortcut. When creating a shortcut, I will type the command in the "location" field as below.

runas.exe /user:YourComputerName\YourUserName /savecred "program location"


Writing the whole command with an example.

runas.exe /user:ComputerName\UserName /savecred “C:\Program Files (x86)\BlindScanner Pro\BSProSRV.exe”


After creating the shortcut we can change its icon. The password have to given for the first time to run the program. You do not have to enter a password from next time.

No comments:

Post a Comment