Elevated Program Shortcut without UAC Prompt - Create

Page 33 of 51 FirstFirst ... 23313233343543 ... LastLast

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

    Hello Willy, and welcome to Seven Forums.

    See if you may be able to use this tutorial to run the shortcut in the tutorial below for this instead.

    Task Manager - Create Elevated Shortcut

    Be sure to do this option below at step 23 for the create task. :)

    Task - Create to Run a Program at Startup and Log On

    Hope this helps,
    Shawn
      My Computer


  2. Posts : 96
    Windows 7 Professional 64-bit
       #321

    Brink said:
    Hello Willy, and welcome to Seven Forums.
    Thank you, Brink . . . or Shawn . . . or . . . Mr. Shawn Brink. A man of many names. :) I have been in this web site every day for the past week. It's like a university course in Windows7. I am most grateful.

    Brink said:
    See if you may be able to use this tutorial to run the shortcut in the tutorial below for this instead.

    Task Manager - Create Elevated Shortcut

    Be sure to do this option below at step 23 for the create task. :)
    Step 23? The above tutorial stops at step 7 and the one you refer to below stops at step 21. No matter because . . .

    This is exactly the tutorial I followed that resulted in my Shortcut for Task Manager that now resides in my Startup folder. Despite the fact that it doesn't actually launch my Shortcut during system startup, it is a convenient item I will leave there because if, for example, I fat-finger something & manage to close Task Manager while I'm doing stuff, this Shortcut does let me relaunch Task Manager in Administrator mode without the UAC prompt. So it wasn't all a lost effort.

    Aha! Hard to believe that in all the dozens of times I was in Task Scheduler to try to solve this that I never noticed that the Task Scheduler Library item in the left pane was a directory structure with cascading children under it. I'm such an astute observer. Anyway, after creating the folder as your tutorial directs, I didn't see my folder on the left at first. And that's when I finally twigged to the little triangular bullet thingy like what you see in Windows Explorer.

    All together now . . . DUH!!!!!

    So I cascaded that all out & discovered this is where all those other mysterious things running in my system all the time come from. Like I said, university course.

    And the folder I just created according to your instructions was there. From that point on, I was duplicating the steps I had already performed several times by following the tutorial at the head of this thread.

    The step for executing schtasks /run /tn task-name didn't do anything observable at all. I didn't get any errors from this procedure but it also didn't do what I wanted.

    Brink said:
    Hope this helps,
    Shawn
    Hope? Beyond hope, my friend. THIS WORKED!! Blessings upon thee, O Jedi Master. The only difference is that when my created item in the Task Scheduler is just another item in the Task Scheduler Library, it doesn't launch at system startup. When the exact same item is inside a Folder inside the Task Scheduler Library, it works like a champ. I note that the first reply post in this tutorial is dated June 2009, three years ago. Perhaps that procedure worked on the W7 current at the time, but the system has changed in the interim & the advice is no longer valid. I am wholly unqualified to answer that question.

    I suppose that now, if there's anything else I want to launch automatically at system startup, and it doesn't work from the plain vanilla Startup folder, I can just add another task in this folder in the Task Scheduler and it should do the trick.

    By the way, your instructions talk about doing a search for taskschd.msc to get to the Task Scheduler. On my system, I just navigate Start Menu -> All Programs -> System Tools, and it's there. I admit I have shuffled things around in my Start Menu to make them a little less cluttered & more organized so maybe mileage varies on this point. But I'm pretty sure there was already a Task Scheduler item somewhere in my Start Menu from the outset.

    So. Bottom line. Another one bites the dust. Thank you thank you thank you mille fois merci.
    Last edited by WildWilly; 02 Jun 2012 at 02:39.
      My Computer


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

    That's great news Willy. You're most welcome.

    By default, anything that runs elevated (run as administrator) will not run at startup if it's just simply placed in the "Startup" folder. Only through Task Scheduler will it run elevated at startup instead. :)
      My Computer


  4. Posts : 925
    Windows 10 Pro
       #323

    Is this tutorial in PDF format, for offline viewing ?
      My Computer


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

    Hello JerometheGiraff,

    Sorry, but no. However, you could click on File and Save as in IE9 to then save the tutorial page as a webpage, complete .htm file. :)

    Hope this helps,
    Shawn
      My Computer


  6. Posts : 513
    Windows 7 Ultimate 64-bit
       #325

    I can run the tasks I created from the Task Scheduler(In the task Scheduler, right click, run), but not from the Shortcuts I created. What could the problem be?

    For example; this shows in the target area, same as the others except the task name, but the programs doesn't start when I try to run them from the shortcuts.

    Target: C:\Windows\System32\schtasks.exe /run /tn "Better File Rename"

    Start in: C:\Windows\system32
    Last edited by IMAyNeed; 28 Jul 2012 at 10:03.
      My Computer


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

    Hello IMAyNeed,

    There may have been a mistake made in one of the steps. The most critical part in the steps is to make sure that the task name used in step 3 is used in step 8 and with the shortcut's target at step 14. Could you post screenshots showing what you entered in Task Scheduler to see if something may stand out? I'll be happy to look through them to help double check. :)
      My Computer


  8. Posts : 513
    Windows 7 Ultimate 64-bit
       #327

    The problem was at the beginning.
    In my task scheduler library, there were already like 40 tasks (OS and Software auto created, not by me); so, I created a folder inside the library to put my tasks in there so that I wouldn't confuse my tasks with the computers. I haven't thought of this subfolder thing before.

    I changed the target in the shortcut to C:\Windows\System32\schtasks.exe /run /tn "\Elevated Tasks\Better File Rename"

    and it worked.

    So, the problem was the tasks being in a subfolder.

    Thank you for the tutorial by the way.
      My Computer


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

    IMAyNeed,

    The tutorial will not work with the tasks in a subfolder of Task Scheduler Library instead as it's written. I just didn't include subfolders to make the tutorial universal and easier. That's all.

    However, for the shortcut to work using a subfolder, you would just need to use the location below instead at step 14. :)

    schtasks /run /tn "subfolder name\task name"


    For example: If used a subfolder named CCleaner under "Task Scheduler Library" for the task CCleaner Test (step 3), I would type:

    schtasks /run /tn "CCleaner\CCleaner Test"
      My Computer


  10. Posts : 513
    Windows 7 Ultimate 64-bit
       #329

    Yes, I got that right after I typed my reply. Thanks again.
      My Computer


 
Page 33 of 51 FirstFirst ... 23313233343543 ... 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 11:39.
Find Us