Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Elevated Program Shortcut without UAC Prompt - Create

25 Oct 2011   #290
Onikuro

Windows 7 Home Premium 64bits
 
 

Quote   Quote: Originally Posted by Greg S View Post
Quote   Quote: Originally Posted by Onikuro View Post
Hello. Today I've been having a problem trying to open an application as administrator in a standard user account. Well, finally I achieved it and I really don't know why isn't this solution in your tutorial. I've created a shortcut access using this as adress:

runas /user/(pcname)\administratoraccount /savecred "Route to the program"

Obviously, substitute (pcname), administratoraccount and route to the program for the ones you require. Then, when you double click the icon, a wild console appears and you type the password to the administrator account. Thanks to /savecred command, the password is always remembered and the next time you want to open it, the application directly starts. I've checked it and no UAC pops-up, it works perfectly fine in the five or six laptops here in the office.



PS:Sorry, if there's something wrong with spelling, syntax or grammar. English is not my native language.

Not working for me. Maybe you could give the exact syntax of an app that you used it for

I forgot to say that you have to omit the brackets, I only put them because of the smilies. An example:

runas /user:laptop\admin /savecred "C:\Program Files\CCleaner\CCleaner.exe"


EDIT:Oops, I screwed it up on the route. After user it is a colon not a slash :S



My System SpecsSystem Spec
.
25 Oct 2011   #291
Brink

64-bit Windows 10 Pro
 
 

Hello Onikuro, and welcome to Seven Forums.

Thank you, this is a very nice shortcut that standard users could use to run elevated shortcuts with.

What do you have your UAC settings set to?

I have mine set to the "Always notify" level, and I (administrator or standard user) still gets a UAC prompt to click on Yes to run the shortcut after entering the administrator password the first time.
My System SpecsSystem Spec
25 Oct 2011   #292
Onikuro

Windows 7 Home Premium 64bits
 
 

I asked the system administrator of the office and he told me that in some of them it is set to the second with the less notifications and others with no notifications at all. In the laptops he used it, some of them gave notifications.

To be sure because I don't know if I understood properly, when you execute it the second time there aren't notifications, are they?
My System SpecsSystem Spec
25 Oct 2011   #293
Brink

64-bit Windows 10 Pro
 
 

Onikuro,

After I entered the administrator's password in the command prompt for only the first time running it, I only get a UAC prompt to click on "Yes" to approve that time and each time the shortcut is used.

That's fine though since a standard use only has to click on Yes in the UAC prompt instead of normally having to enter the administrator's password to run the elevated shortcut.

I'm going to be creating a separate tutorial for this shortly, and will post back a link to it here when finished.
My System SpecsSystem Spec
.

25 Oct 2011   #294
Onikuro

Windows 7 Home Premium 64bits
 
 

Ok, glad I helped
My System SpecsSystem Spec
25 Oct 2011   #295
Greg S

Windows 7 Professional 32-bit (6.1, Build 7600)
 
 

Quote   Quote: Originally Posted by Brink View Post
Onikuro,

After I entered the administrator's password in the command prompt for only the first time running it, I only get a UAC prompt to click on "Yes" to approve that time and each time the shortcut is used.

That's fine though since a standard use only has to click on Yes in the UAC prompt instead of normally having to enter the administrator's password to run the elevated shortcut.

I'm going to be creating a separate tutorial for this shortly, and will post back a link to it here when finished.
Looking forward to this. Still not working for me. It asks for credentials each time.
My System SpecsSystem Spec
25 Oct 2011   #296
Brink

64-bit Windows 10 Pro
 
 

Ok, here's the new tutorial for this with a standard user account.

Elevated Program Shortcut - Create for Standard User
My System SpecsSystem Spec
07 Dec 2011   #297
Rhi86

windows 7
 
 

I hope this is the right place to post this....sorry if its not im not much of a computer geek (brain)!!

For some reason im having trouble with step #8 and #20 -8. Navigate to the .exe file of the program that you want to create this shortcut for, then select it and click on Open.
#20 Navigate to the .exe file of the program that you have created this shortcut with. I cant find this so called exe file etc....help please!! I think the first time i tried this i did # 7 and 8 fine but always get stuck on #20....UGH. I even used CCleaner.exe like you did so it would be easy to see/remember!!
All i wanted to do in the first place is be able to use the stupid iTunes again!! For some weird random reason the icon for itunes on my desktop has this blue and yellow shield on it and when i click to open it (it use to open on its own when i plug my ipod touch in!!) but now it asks if i want to allow this program to make changes to my computer so i click yes and it worked (opened) but starting yesterday it won't even open when i click yes anymore!! Why do computers have to be so confuseing and complicated ahhhhhhhh!! (ok i just tried it again b4 i post this msg thing and now the blue and yellow shield thing is gone from the itunes icon but UAC still asks for me to allow the program to make changes to my computer etc) program apple - verified publisher apple inc - file origin hard drive on this computer.

I have windows 7. and iTunes version 10.5.1.42 (i guess thats what its called)?
My System SpecsSystem Spec
07 Dec 2011   #298
Brink

64-bit Windows 10 Pro
 
 

Hello Rhi,

The EXE file for iTunes would be in the C:\Program Files\iTunes folder.

The icon on your desktop for iTunes is most likely just a shortcut. You could right click on this shortcut, click on "Properties", click on the "Shortcut" tab, and look in the "Target" field to see the location of the EXE file.

As for why iTunes is not working properly now, that would be a question that's best to post in a new thread instead to get the best help with it.

Hope this helps,
Shawn
My System SpecsSystem Spec
21 Dec 2011   #299
JJTech

Windows 7 64 bit
 
 
Task icon not combining, window not opening when I "Elevated Program"

Hi,

I used Shawn's "Elevated Program Shortcut without UAC Prompt - Create" which worked great except 2 things.

When I click on the icon that I have pinned to the task bar, it opens another icon on the TB and the window for that task is in the background. I have to click on it to see it.

How do I fix these two issues?

Thanks

JJ
My System SpecsSystem Spec
Reply

 Elevated Program Shortcut without UAC Prompt - Create




Thread Tools




Similar help and support threads
Thread Forum
Elevated Program Shortcut - Create for Standard User
How to Create an Elevated Program Shortcut Any User is able to Run in Vista, Windows 7, and Windows 8 This will show you how to create an elevated program shortcut that allows any user (ex: Standard user) to be able to run a program that runs as administrator without being prompted to enter the...
Tutorials
Elevated Command Prompt Shortcut
How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8 This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8. When you use the elevated command prompt shortcut, you may be...
Tutorials
Task Manager - Create Elevated Shortcut
How to Create an Elevated Task Manager Shortcut in Windows 7 This will show you how to create a elevated Task Manager shortcut that will "run as an administrator" in Windows 7 when opened. It will open as if you clicked Show processes from all users in the default Task Manager. You will...
Tutorials
Setting Priority with "Elevated Shortcut without UAC Prompt Tutorial"
I used the info in Elevated Program Shortcut without UAC Prompt Tutorial and it soon dawned on me that the applications seemed to be taking a long time to run. Than the penny dropped - Scheduled Tasks run at priority 7 by default (which is lower than directly run applications typically run at)...
General Discussion
Creating an Elevated Program Shortcut for Search Everything Program.
I`ve done this successfully for SpeedFan, but I`m having a problem with doing the same for the Search Everything program. I`ve been through the tutorial steps several times now, the task executes successfully,( I checked it with command prompt box) but nothing happens. /c start "SpeedFan"...
Software
Question on "How to Create a Elevated Program Shortcut ..."
The solution (Shawn) in the thread How to Create a Elevated Program Shortcut without a UAC Prompt (https://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html) ends with 24. When you run this new elevated shortcut, you will now no longer have...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 14:24.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App