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: Question on "How to Create a Elevated Program Shortcut ..."

07 Dec 2010   #21
Brink

64-bit Windows 10 Pro
 
 

I have also updated the tutorial below by adding step 14 for this to help as well.

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


My System SpecsSystem Spec
.
07 Dec 2010   #22
Hans L

Windows 7 Ultimate
 
 

Super. I will make changes in my Word file, where I have your tutorials.

Regards,

Hans L
My System SpecsSystem Spec
08 Dec 2010   #23
Hans L

Windows 7 Ultimate
 
 

Quote   Quote: Originally Posted by Brink View Post
Hans,

Ok, I figured out what was wrong. I got it working for me now at startup without a UAC prompt.

When you are creating the startup/log on task, you woud need to right click on the elevated task shortcut, click properties, copy that long Target path, then past it in the Program/script box when editing the Action for the startup/log on task instead of just selecting the elevated task shortcut.

See the outline below to help. I numbered it the order of the steps to do.

Attachment 121569

Attachment 121570

Attachment 121571
Shawn, I did the whole scheduling thing over, but it does not work. So, I have a few questions:

When, in the scheduler, one writes

C:\Windows\System32\schtasks.exe /run /tn Everything

in essence, it says to run the task of which "Action is a part. Why? Because it says that the program is

C:\Windows\System32\schtasks.exe

and the command is "run"

and what should be run is the task called "Everything" (althouhg my task is called "Everything_Task").

So, the Action part of the scheduler says "run the task of which I Action is a part". Does not seem to make sense.

Also, why is the shortcut necessary at all? Isn't it so that the scheduler runs all its tasks with triggers that says "At startup", and thus, all corresponding Actions are carried out? If that is true, could one then not in "Program/script" simply write

"C:\Program Files\Everything\Everything.exe" ?

I see, for instance, that Norton has a setup similar to the one I am trying to accomplish, and in its task, it says

Start a program C:\Program Files (x86)\Norton Internet Security\Engine\18.1.0.37\SymErr.exe/ submit

So, what da' ya' say?

Regards,

Hans L
My System SpecsSystem Spec
.

08 Dec 2010   #24
Brink

64-bit Windows 10 Pro
 
 

Hans,

The elevated task shortcut is needed since you wanted to run the program without getting a UAC prompt.

The separate startup task is needed so that you could run the elevated task shortcut at startup without getting a UAC prompt.

If you were to just run the "C:\Program Files\Everything\Everything.exe" file, you would get a UAC prompt.


You are making a mistake somewhere, but not sure where yet. To see what I can do to help more, what is the name of your elevated task shortcut?

You would paste the target of this shortcut at step 14.
My System SpecsSystem Spec
08 Dec 2010   #25
Hans L

Windows 7 Ultimate
 
 

Quote   Quote: Originally Posted by Brink View Post
Hans,

The elevated task shortcut is needed since you wanted to run the program without getting a UAC prompt.

The separate startup task is needed so that you could run the elevated task shortcut at startup without getting a UAC prompt.

If you were to just run the "C:\Program Files\Everything\Everything.exe" file, you would get a UAC prompt.


You are making a mistake somewhere, but not sure where yet. To see what I can do to help more, what is the name of your elevated task shortcut?

You would paste the target of this shortcut at step 14.
Shawn, I was going to send screenshots, but I could not use the PRTSC button on the keyboard. I'll install a screenshot program tomorrow.

Regards,

Hans L
My System SpecsSystem Spec
08 Dec 2010   #26
Brink

64-bit Windows 10 Pro
 
 

Ok mate.
My System SpecsSystem Spec
09 Dec 2010   #27
Hans L

Windows 7 Ultimate
 
 

Shawn, I have lost track a little, because I have had to work on so many issues setting up the laptop for a month in Florida (takes one month to set the darn thing up :-), so I am sure there are a few errors that I have done. However, here are the screenshots attached.

Now, whatever is wrong, I do believe it can be fixed rather easily. I can now navigate the scheduler with flair :-)

Regards,

Hans


Attached Thumbnails
Question on "How to Create a Elevated Program Shortcut ..."-actions.jpg   Question on "How to Create a Elevated Program Shortcut ..."-general.jpg   Question on "How to Create a Elevated Program Shortcut ..."-triggers.jpg  
Attached Images
Question on "How to Create a Elevated Program Shortcut ..."-shortcot.jpg 
My System SpecsSystem Spec
09 Dec 2010   #28
Brink

64-bit Windows 10 Pro
 
 

It seems like you should be entering the path below at step 14 instead for your Startup task.

C:\Windows\System32\schtasks.exe /run /tn "Everything_UAC"
My System SpecsSystem Spec
09 Dec 2010   #29
Hans L

Windows 7 Ultimate
 
 

Quote   Quote: Originally Posted by Brink View Post
It seems like you should be entering the path below at step 14 instead for your Startup task.

C:\Windows\System32\schtasks.exe /run /tn "Everything_UAC"
Shawn, would you kindly refer to the attachment in question and tell me exactly where to put the line above.

Thank you!

Hans
My System SpecsSystem Spec
09 Dec 2010   #30
Brink

64-bit Windows 10 Pro
 
 

This should be the "Target" path from the Everything_UAC properties screenshot of yours above. It needs to be pasted in the line here at step 14.

Question on "How to Create a Elevated Program Shortcut ..."-step8.jpg


My System SpecsSystem Spec
Reply

 Question on "How to Create a Elevated Program Shortcut ..."




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 Program Shortcut without UAC Prompt - Create
How to Create an Elevated Program Shortcut without a UAC Prompt in Windows This will show you how to create an elevated "Run as administrator" shortcut of any installed program using Task Scheduler so that it will not give you a UAC prompt for permission when you start it while still having...
Tutorials
Remove "Create Shortcut" from file and folder context menu?
Hi Shawn, is there a way to remove "Create Shortcut" from the right-click context menu on a file/folder?
Customization
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
explorer is "unable to create shortcut"
A customer's machine has a bit of a weird problem that when one tries to create a shortcut, explorer says "unable to create shortcut", leaves the window open, then if you click on 'Next' again, it says that it already exists and "do you want to over-write the shortcut". Regardless of the answer,...
General Discussion
"Set up a Network" Wizard Shortcut - Create
How to Create a "Set up a Network" Wizard Shortcut in Windows 7 This will show you how to create or download a Set up a Network wizard shortcut that will walk you through the process of adding new wireless computers, a router, devices, or access point to your network in Windows 7. For more...
Tutorials


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 11:43.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App