Elevated Program Shortcut without UAC Prompt - Create

Page 31 of 51 FirstFirst ... 21293031323341 ... LastLast

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

    Hello JJ,

    This is normal for it to open another icon on the taskbar. It does this since the pinned icon uses the "Task Scheduler" task location/target, and the second opened icon is for the program's exe file itself instead. You'll have a icon on the taskbar for each separate location or process when it's opened/ran.

    Strange, it opens as the active window for me and not in the background. As a test, right click on the pinned icon, right click on the program in the jump list, click on Properties, click on Shortcuts tab, select "Maximize" next to Run, apply, then select the default "Normal window" next to run, click on OK, and see how it opens now.
      My Computer


  2. Posts : 37
    Windows 7 64 bit
       #301

    Hi Brink,

    Thanks for your reply.

    Are you saying that since I set this up via "Task Scheduler" that it will act differently from all the other icons/programs on the TB? All the others have just 1 icon even if you have 6 spreadsheets open, they will all be under the Excel icon.

    I tried the second suggestion about the window and it still does the same thing.

    JJ
      My Computer


  3. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #302

    Using say CCleaner as example from the tutorial, you'll have the pinned CCleaner icon (using: Task Scheduler), and all opened CCleaner windows will display in the other icon (using actual program's exe file) that opened on the taskbar.

    It behaves this way since the pinned CCleaner icon (elevated shortcut from tutorial) actually is a pinned Task Scheduler shortcut instead. When you open the pinned CCleaner, it runs the .exe file for CCleaner which is different than Task Scheduler. This is why is has a separate icon open on the taskbar.
      My Computer


  4. Posts : 37
    Windows 7 64 bit
       #303

    Got it. Is there any way around that? I tried changing the original "Privilege level" to "run this program as an administrator" but that didn't help.

    Any ideas on why it is not opening the window in the foreground?
      My Computer


  5. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #304

    Sorry, but there's not a way around having more than one icon on the taskbar when you open/run it. It's doing what it's suppose to be doing.

    I'm not sure why it's not opening for you in the foreground since it's not doing it with me.
      My Computer


  6. Posts : 37
    Windows 7 64 bit
       #305

    Brink, do you know why changing the "Privilege level" in the original shortcut to "run this program as an administrator" doesn’t help?
      My Computer


  7. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #306

    The privilege level has nothing to do with how the icon appears on the taskbar. The privilege level only affects the UAC notification level settings.
    Last edited by Brink; 21 Dec 2011 at 21:24. Reason: link
      My Computer


  8. Posts : 37
    Windows 7 64 bit
       #307

    I understand that but why doesn't taking that action stop the UAC query?
      My Computer


  9. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #308

    Setting a program to "Run as administrator" is what would trigger the UAC prompt unless you turned UAC off completely. Using the method in the tutorial is a workaround to have shortcut of a program to "Run as an administrator" without getting a UAC prompt and still have UAC turned on.
      My Computer


  10. Posts : 37
    Windows 7 64 bit
       #309

    Thank you Brink! JJ
      My Computer


 
Page 31 of 51 FirstFirst ... 21293031323341 ... 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 10:36.
Find Us