Elevated Program Shortcut without UAC Prompt - Create

Page 17 of 51 FirstFirst ... 7151617181927 ... LastLast

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

    Gerry,

    You can keep the icons saved in a folder at any location that you like. If you move or change the icon's location, then you must also do so in the shortcut by changing the icon to the new location.

    Hope this is what you meant.
      My Computer


  2. Posts : 1
    Windows 7
       #161

    How to create an elevated program shortcut without a UAC prompt


    Hellow Shawn,

    Your step by step on this was awesome! Thank you. It works great all accept for one thing. It seems you have to have Administrator privileges to still run it. I'll give you my scenario. I am a homeschool mom and my kids are using the program Typing Instructor for Business on Windows 7. It is just frustrating and time consuming to keep entering my password just so that they can do a typing lesson. I have fiddled around all afternoon trying to figure out how they can run this without the UAC issue. Even when I modify the tasksched user privileges - I get passed the Command Prompt, "Access Denied" just fine but then the program itself continues to demand Administrator rights. Do you have any more ideas for me?

    I'm just about ready to throw in the towel and turn off UAC! or give them the admin password. But I'd really rather not do that.

    Thanks for your added help,

    Angela
      My Computer


  3. Posts : 114
    Windows 7 Home Premium
       #162

    Minor Problem


    Shawn, I've got this down pat. I used it on a program that was new to me and I set a digital watch that is accurate to the second under my monitor. Now I've done this a lot so this certainly wasn't the time it took me a few months ago, but I finished everything but the icon change in one minute and 28 seconds. I really don't think that you can improve on this tutorial. The only thing that you might add on would have helped me in the past. If I make a mistake the first time through, I have found I have to go back to the page that comes up after I enter taskschd.msc. I see three columns. I have to click on task scheduler library and then go to the middle column and scroll down until I get to the name of the function that I just butchered. Then a right-click and delete clears that entry, and makes it possible to go ahead and give it another try. I didn't realize the need for these actions early on and only found out what to do after hunting around for awhile. That was partly because it took me awhile to realize that I had to clear that entry.
      My Computer


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

    Hello Gerry,

    Thank you for your feedback. I have added what you suggested to the tutorial to help make it better. :)
      My Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #164

    Shawn,
    Schtasks does not show a /tn parameter when I enter schtaskis /? at an elevated command prompt.

    Am running Win 7 Ultimate 32 bit.
      My Computer


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

    Hello Karl,

    Are you doing this in the New -> Shortcut wizard to enter as the location? If so, double check to make sure that you have the spacing correct.
      My Computer


  7. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #166

    Shawn what I'm doing is:
    1. go to an elevated command prompt,
    2. type schtasks /? and hit enter

    Reason being was to inform myself of the options available with schtasks.

    Here's what I see:

    C:\Windows\system32>schtasks /?

    SCHTASKS /parameter [arguments]

    Description:
    Enables an administrator to create, delete, query, change, run and
    end scheduled tasks on a local or remote system.

    Parameter List:
    /Create Creates a new scheduled task.

    /Delete Deletes the scheduled task(s).

    /Query Displays all scheduled tasks.

    /Change Changes the properties of scheduled task.

    /Run Runs the scheduled task on demand.

    /End Stops the currently running scheduled task.

    /ShowSid Shows the security identifier corresponding to a scheduled task name.

    /? Displays this help message.

    Examples:
    SCHTASKS
    SCHTASKS /?
    SCHTASKS /Run /?
    SCHTASKS /End /?
    SCHTASKS /Create /?
    SCHTASKS /Delete /?
    SCHTASKS /Query /?
    SCHTASKS /Change /?
    SCHTASKS /ShowSid /?

    C:\Windows\system32>
      My Computer


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

    Ah, ok.

    The /tn part of the command stands for "task name". It is used as /tn "task name" where you substitute "task name" with the actual task name instead.
      My Computer


  9. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #168

    So do I understand correctly, that one would type, e.g.,
    schtasks /run CCleaner
    without the "/tn"
      My Computer


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

    It would have to be used with /tn included.

    schtasks /run /tn CCleaner

    OR

    schtasks /run /tn "CCleaner"
      My Computer


 
Page 17 of 51 FirstFirst ... 7151617181927 ... 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 06:41.
Find Us