-1

We have the students logging in under their own accounts. however, they are not set up as administrators. However, this one application requires admin to run.

Is there a way to run only this application as admin without having to type in the password?

3
  • 1
    There are a few ways to "hack" it to be able to do this, but a better solution is if you know why the program needs administator access you might be able to make it so it does not need it anymore. For example if it needs to write to a folder that only administrators can write to then changing the permissions on that single folder to allow non-administrators write ccess. May 16, 2014 at 12:54
  • Congratulations, you're the 1,000,000th person to ask this question without searching first. You win a prize!
    – user201262
    May 16, 2014 at 16:32

1 Answer 1

1

This is NOT a secure solution, but you could use the /savecred option when using runas.

You can create a shortcut with a command similar to runas /user:ComputerName\Administrator /savecred “C:\Path\To\Program.exe“

A more in-depth tutorial can be found here.

Not the answer you're looking for? Browse other questions tagged .