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

14 Jan 2010   #80
Brink

64-bit Windows 10 Pro
 
 

Ah, I see. Would it not work by creating a shortcut of the task like in the tutorial, but adding the shortcut to the registry in run instead?


My System SpecsSystem Spec
.
14 Jan 2010   #81
Greg S

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

Quote   Quote: Originally Posted by Brink View Post
Ah, I see. Would it not work by creating a shortcut of the task like in the tutorial, but adding the shortcut to the registry in run instead?
Yea, I'm sure it would but I didn't really want to create a shortcut for it. I've had issues with HKCU run and HKLM run in the past when shortcuts were used for the run commands in the registry. Windows wants to add some GUID reference number to the associated installation file. Then at certain times on boot up, the actual program loads, the installation file gets triggered to install it again which leaves me with two running processes of the same app. I know it's weird, but it does happen with me.
My System SpecsSystem Spec
20 Jan 2010   #82
Dwellno

Windows 7
 
 

Thank you Brink for this and many other tutorials.

It worked just fine for me to create a shortcut this way on my Desktop for the program Open VPN, without the annoying UAC popping up.

With a shortcut for another program I have some difficulties though. I created a task on exactly the same way as before, but now, when I double click the new shortcut, I get the error message "The file could not be found. Make sure this file resides in the application folder and that the Java Runtime Environment version 1.4.0 or higher has been installed!".
Of course this has something to do with this program using Java to run, but I have no clue how to solve this.

A direct shortcut works perfectly fine by the way, but then UAC pops up and that is what I want to change.

Any ideas?
My System SpecsSystem Spec
20 Jan 2010   #83
Brink

64-bit Windows 10 Pro
 
 

Hello Dwellno, and welcome to Seven Forums.

See if creating another shortcut directly from the EXE of that file, then try again using it may help. Sometimes a shortcut will no longer work if the file (EXE or other shortcut) that it was created from was moved or deleted.
My System SpecsSystem Spec
.

20 Jan 2010   #84
Dwellno

Windows 7
 
 

Doesn't seem to make any difference

I went to the folder of the program and right clicked the EXE file and used 'Create shortcut', and put it on the desktop. This one works but I still need to give UAC permission to proceed.

Then, when I create a new task and under action use 'open program' and then browse to the location of the EXE file and select it, I still get the same error message in the end. Also when I browse to the new created shortcut and select it it still gives the error. (obviously because clicking the shortcut gives the location of the original EXE file)
My System SpecsSystem Spec
20 Jan 2010   #85
Brink

64-bit Windows 10 Pro
 
 

Dwellno,

The program may not support running like this, but what program is this for?
My System SpecsSystem Spec
21 Jan 2010   #86
Dwellno

Windows 7
 
 

It's a program to search and access files from all computers within the University Network, custom made by one of the students a couple of years ago. So it's a relative old program (about 5 years) and I actually have to run it in compatibility mode for Windows XP to work without any flaws. I don't think this is the problem though, because when I don't run it in compatibility mode it still starts but just some functions don't work. So I really think it has something to do with this program using Java.

Maybe it's possible to create a shortcut using command the same way as in this tutorial: https://www.sevenforums.com/tutorials...n-taskbar.html. But I don't know what i should use in stead of cmd /c wuapp.exe. How can I direct it to the right location on my computer?

thank you in advance.
My System SpecsSystem Spec
21 Jan 2010   #87
Brink

64-bit Windows 10 Pro
 
 

Dwellno,

I don't think it will work since you have a network involved as well, but the command would be:

cmd /c "full path to exe file"

Substitute full path to exe file within quotes with the actual full path the exe file of the program.

Ex:
cmd /c "C:\Program Files\Program\program.exe"
My System SpecsSystem Spec
21 Jan 2010   #88
Dwellno

Windows 7
 
 

Hmmm, too bad, it gives the same error "The file could not be found. Make sure this file resides in the application folder and that the Java Runtime Environment version 1.4.0 or higher has been installed!".

I guess i have to get used to the UAC popping up ;-)
My System SpecsSystem Spec
21 Jan 2010   #89
Brink

64-bit Windows 10 Pro
 
 

You could turn UAC off, but it would not be recommended to do so for better security.
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 03:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App