Open an Elevated Shortcut as single program?


  1. Posts : 3
    Windows 10
       #1

    Open an Elevated Shortcut as single program?


    Hi, so a while ago I followed this tutorial and it worked great, but something has been bothering me with the way it works and I can't seem to find a solution for it (I'm not really sure how to explain/look it up either).
    I was really hoping someone could help me with this. If there is no solution, then I can deal with it, I guess it's just me feeling a bit OCD about it
    Here is what it looks like on the taskbar when I open the elevated shortcut to get rid of the UAC prompt:

    The icon on the right is the original program. Since the UAC bypass shortcut is a command, it is treated as a different application. If I pin the original to the taskbar and open it, I get the UAC prompt. But having two application icons for a single program kind of bothers me. I often mis-click things so it's kind of annoying to have that.


    Is there a way I can just set it to open in the same window/as the same application, but still be able to open it (like with the line below it)? Or is there a way I can pin the original program to taskbar, but have the command happen when I open it?
      My Computer


  2. Posts : 39
    Windows 10 Professional
       #2

    I have seen this issue before and believe the only way around it is by having the icon you use to open the program only be on the desktop, and not be a shortcut used on the taskbar...how exactly is the shortcut you use to open the software as admin setup to do so? Is it using a runas.exe command of some sort?
      My Computers


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    TechGuru said:
    I have seen this issue before and believe the only way around it is by having the icon you use to open the program only be on the desktop, and not be a shortcut used on the taskbar...how exactly is the shortcut you use to open the software as admin setup to do so? Is it using a runas.exe command of some sort?
    Um, yes I think so ^^; I just used this tutorial Elevated Program Shortcut without UAC Prompt - Create - Windows 7 Help Forums and right-clicked the end result to pin it to taskbar...
      My Computer


  4. Posts : 39
    Windows 10 Professional
       #4

    Ah that makes sense. So technically, the two icons are completely separate programs, but you set the icon of the shortcut (which is really a link to cmd.exe) to match that of that other software. There is no way to get around this without just putting the icon on the desktop instead of the quick launch bar, as Windows sees them as separate programs and displays them as such.

    Sorry about that...
      My Computers


  5. Posts : 3
    Windows 10
    Thread Starter
       #5

    TechGuru said:
    Ah that makes sense. So technically, the two icons are completely separate programs, but you set the icon of the shortcut (which is really a link to cmd.exe) to match that of that other software. There is no way to get around this without just putting the icon on the desktop instead of the quick launch bar, as Windows sees them as separate programs and displays them as such.

    Sorry about that...
    Ah I see, well that sucks
    It's alright, it's not your fault that windows 10 can be really stupid with things. I think I can deal with it for now and if not then figure something else out.
    Thanks for taking the time to respond :)
      My Computer


  6. Posts : 39
    Windows 10 Professional
       #6

    Yeah :/ It annoys me when this kind of thing happens as well. Windows 10 is a bit finicky sometimes and it's definitely a nuisance that things can't just work as desired. There is always the option of disabling UAC entirely, with a major sacrifice in security...

    No problem! Have a good one! :)
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:27.
Find Us




Windows 10 Forums