Elevated Program Shortcut without UAC Prompt - Create

Page 9 of 51 FirstFirst ... 789101119 ... LastLast

  1. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #80

    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 Computer


  2. Posts : 824
    Windows 7 Professional 32-bit (6.1, Build 7600)
       #81

    Brink said:
    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 Computer


  3. Posts : 10
    Windows 7
       #82

    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 Computer


  4. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #83

    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 Computer


  5. Posts : 10
    Windows 7
       #84

    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 Computer


  6. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #85

    Dwellno,

    The program may not support running like this, but what program is this for?
      My Computer


  7. Posts : 10
    Windows 7
       #86

    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 Computer


  8. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #87

    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 Computer


  9. Posts : 10
    Windows 7
       #88

    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 Computer


  10. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #89

    You could turn UAC off, but it would not be recommended to do so for better security.
      My Computer


 
Page 9 of 51 FirstFirst ... 789101119 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 05:23.
Find Us