Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Elevated Program Shortcut without UAC Prompt - Create

26 Jul 2010   #160
Brink

64-bit Windows 10 Pro
 
 

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 System SpecsSystem Spec
.
16 Aug 2010   #161
angenray

Windows 7
 
 
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 System SpecsSystem Spec
29 Sep 2010   #162
GerryR

Windows 7 Home Premium
 
 
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 System SpecsSystem Spec
29 Sep 2010   #163
Brink

64-bit Windows 10 Pro
 
 

Hello Gerry,

Thank you for your feedback. I have added what you suggested to the tutorial to help make it better.
My System SpecsSystem Spec
.

03 Oct 2010   #164
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
03 Oct 2010   #165
Brink

64-bit Windows 10 Pro
 
 

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 System SpecsSystem Spec
03 Oct 2010   #166
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
03 Oct 2010   #167
Brink

64-bit Windows 10 Pro
 
 

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 System SpecsSystem Spec
03 Oct 2010   #168
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

So do I understand correctly, that one would type, e.g.,
schtasks /run CCleaner
without the "/tn"
My System SpecsSystem Spec
03 Oct 2010   #169
Brink

64-bit Windows 10 Pro
 
 

It would have to be used with /tn included.

schtasks /run /tn CCleaner

OR

schtasks /run /tn "CCleaner"
My System SpecsSystem Spec
Reply

 Elevated Program Shortcut without UAC Prompt - Create




Thread Tools




Similar help and support threads
Thread Forum
Elevated Program Shortcut - Create for Standard User
How to Create an Elevated Program Shortcut Any User is able to Run in Vista, Windows 7, and Windows 8 This will show you how to create an elevated program shortcut that allows any user (ex: Standard user) to be able to run a program that runs as administrator without being prompted to enter the...
Tutorials
Elevated Command Prompt Shortcut
How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8 This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8. When you use the elevated command prompt shortcut, you may be...
Tutorials
Task Manager - Create Elevated Shortcut
How to Create an Elevated Task Manager Shortcut in Windows 7 This will show you how to create a elevated Task Manager shortcut that will "run as an administrator" in Windows 7 when opened. It will open as if you clicked Show processes from all users in the default Task Manager. You will...
Tutorials
Setting Priority with "Elevated Shortcut without UAC Prompt Tutorial"
I used the info in Elevated Program Shortcut without UAC Prompt Tutorial and it soon dawned on me that the applications seemed to be taking a long time to run. Than the penny dropped - Scheduled Tasks run at priority 7 by default (which is lower than directly run applications typically run at)...
General Discussion
Creating an Elevated Program Shortcut for Search Everything Program.
I`ve done this successfully for SpeedFan, but I`m having a problem with doing the same for the Search Everything program. I`ve been through the tutorial steps several times now, the task executes successfully,( I checked it with command prompt box) but nothing happens. /c start "SpeedFan"...
Software
Question on "How to Create a Elevated Program Shortcut ..."
The solution (Shawn) in the thread How to Create a Elevated Program Shortcut without a UAC Prompt (https://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html) ends with 24. When you run this new elevated shortcut, you will now no longer have...
System Security


Our Sites

Site Links

About Us

Find 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 17:55.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App