Run As Administrator Shortcut Without Password Prompt

8

1

I have installed a program on Windows 7 that needs Admin rights to run properly. When running on Windows XP; I used the runas command with the savecred switch to create a shortcut that opened the application and run as Administrator without prompting for a password.

I have tried the most options found on the internet with the properties dialogue of the shortcut and messed around with the Scheduled Tasks option, but to no avail.I am running Windows 7 Home Premium, 32-bit.

I have programs installed on my computer that have a Administrator Icon Overlay and seam to run as Admin without prompting for credentials. How can I achieve the same manually?

user36600

Posted 2011-02-12T13:11:48.763

Reputation:

Question was closed 2014-11-27T16:28:07.193

Could you list the application(s) which behave this way? – edusysadmin – 2011-02-12T15:39:25.327

Answers

4

I believe Task Scheduler should do it.

"How to Create a Elevated Program Shortcut without a UAC Prompt"

http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html

Other possibilities:

"How to Run a Program as an Administrator in Windows 7"

http://www.sevenforums.com/tutorials/11841-run-administrator.html

therube

Posted 2011-02-12T13:11:48.763

Reputation: 1 296

2Link-only answers are not good answers. – Sildoreth – 2015-07-21T16:23:39.487

The idea is clever: creating a task with stored admin password, then running the task via a shortcut. But for GUI applications, it only works if you're already logged in as the user the task is created for. Otherwise the GUI never shows up. – Ben – 2014-03-23T20:48:27.967

3

Try messing around with "cacls" and "icacls" in cmd.

1.) Command + R

2.) icacls /?

3.) cacls /?

This allows you to elevate the permissions of a certain file/directory. I use the command, "icacls :(F,MA,GA,GE,X,AS)

64_Bit_Revolution

Posted 2011-02-12T13:11:48.763

Reputation: 31

1This would be a great answer if you provided a powershell snippet to demonstrate. – djangofan – 2012-07-06T18:52:00.003

-5

To configure an application to always run elevated

  1. Right-click an application that is not likely to have been assigned an administrative token, such as a word processing application.
  2. Click Properties, and then select the Compatibility tab.
  3. Under Privilege Level, select Run this program as an administrator, and then click OK.

Found here on TechNet

edusysadmin

Posted 2011-02-12T13:11:48.763

Reputation: 2 158

2It will still give you the UAC prompt and prompt you for the administrator password, so, no. – sinni800 – 2011-08-19T09:07:44.423