Program will not run without admin rights




















View this "Best Answer" in the replies below ». Popular Topics in Windows Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ». Create a normal Shortcut to application. Right-click the shortcut and select Properties. Thai Pepper. GDaddy This person is a verified professional.

EminentX This person is a verified professional. SuRun software that's all you need. I strongly recommend to use it. It's free and very easy to use. So this will need to be an encrypted file in a path variable. I might get a few downvotes for this, but I know somewhere I need to define and put in 'Read-Host 'some text about entering password' -AsSecureString' in an existing variable or a new variable. I have to get the password input into the process. I have tried a few spots.

Below are instructions for setting up a workaround to get an application to run as another account that is a local administrator. The account that executes the process does not need to be a local administrator on the PC though. This account is setup as local admin on PCs where something needs to be run with admin permissions without actually giving the end-user which will run it execute local admin permissions.

I found a way to accomplish the goal with Powershell. First a script must be run on the user computer only once to make an encrypted password and then store it to a file. Note: The stored password file is not a txt file containing the local admin password in plain text. It is the output of the ConvertFrom-SecureString cmdlet. First, the script to enter the password and store it to a file. This will only need to be run one time on the target computer.

Now, the script that the user will run to launch the program from the dvd as a local admin. She will run the script from the desktop shortcut after inserting the dvd into the disc drive. After launching the script, the program runs perfectly and she can do this without asking me or the other admin for assistance which she loves.

This Powershell. Log in as an administrator. Right click on it and select Properties. Click Security. Click Edit. Click Apply and OK. User Account Control. Regards, Syed N — Microsoft Support Visit our Microsoft Answers Feedback Forum and let us know what you think.

Was this reply helpful? Yes No. Sorry this didn't help. Thanks for your feedback. Well aparently it still didnt work. The file is in the C Drive in its own folder not in the program files.

You may refer to the following article from TechNet which gives you more information. Syed N — Microsoft Support Visit our Microsoft Answers Feedback Forum and let us know what you think. This thread is too old to be replied to. I would have you create a thread of your own to avoid confusion. Original title : Allow A Program to run without admin.



0コメント

  • 1000 / 1000