1.    29 Dec 2016 #1
    Join Date : Dec 2016
    Posts : 3
    Windows 10

    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 ComputerSystem Spec
  2.    29 Dec 2016 #2
    Join Date : Dec 2016
    Posts : 20
    Windows 10 Professional

    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 ComputerSystem Spec
  3.    29 Dec 2016 #3
    Join Date : Dec 2016
    Posts : 3
    Windows 10
    Thread Starter

    Quote Originally Posted by TechGuru View Post
    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 ComputerSystem Spec
  4.    29 Dec 2016 #4
    Join Date : Dec 2016
    Posts : 20
    Windows 10 Professional

    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 ComputerSystem Spec
  5.    29 Dec 2016 #5
    Join Date : Dec 2016
    Posts : 3
    Windows 10
    Thread Starter

    Quote Originally Posted by TechGuru View Post
    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 ComputerSystem Spec
  6.    29 Dec 2016 #6
    Join Date : Dec 2016
    Posts : 20
    Windows 10 Professional

    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 ComputerSystem Spec

 


Similar Threads
Thread Forum
Customization Create Elevated Shortcut without UAC prompt in Windows 10
How to Create Elevated App Shortcut without UAC Prompt in Windows 10 When you open an application file with Run as administrator, you will get a UAC prompt for approval before the app is allowed to run with elevated rights. In addition,...
Tutorials
General Tips Open Elevated Command Prompt in Windows 10
How to Open an Elevated Command Prompt in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require...
Tutorials
Customization Create Elevated Command Prompt Shortcut in Windows 10
How to Create an Elevated Command Prompt Shortcut in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require...
Tutorials
Solved Make Elevated Command Prompt open to %userprofile%
I have the Command Prompt icon on my Taskbar as I use it a lot. It's set to always run as Administrator, so when I launch it, the Command Prompt window opens to C:\Windows\system32. I want it to open to %userprofile% which is...
General Support
Solved Switch to non-elevated program from elevated prompt
Hi, I use an administrative mode (elevated) command prompt to maneuver through most of my day. I have a code editor (in this case, Crimson Editor) open at all times, and when I need to edit a file quickly, I simply type cedt <filename> at the...
General Support
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 11:09.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums