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 ..."

09 Dec 2010   #31
Hans L

Windows 7 Ultimate
 
 

Shawn, I can't see how this can work:

Activity

C:\Windows\System32\schtasks.exe /run /tn "Everything_UAC"

Shortcut/target:

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

Doesn't "Everything_UAC" have to have a path?Doesn't the shortcut have to start "Everything.exe"?And why does the Activity have to have "C:\Windows\System32\schtasks.exe". The command in Activity is already in the task scheduler, and should not have to tell the task scheduler how to run.

You said you had the thing working. Why do you nt show, by screenshots the way I did, what you have in the various places.

Thanks,

Hans L


My System SpecsSystem Spec
.
09 Dec 2010   #32
Brink

64-bit Windows 10 Pro
 
 

It would just be to many screenshots and steps to post here. Delete what you have and start over using exactly what I did below to see if this may help.

The below will not work in a standard user account. It will only work in administrator accounts.

If you have any startup program entries for the Everthing program, then you will need to delete them as well.



This is a condensed version of what I did though step by step. Click on the links in the steps for how.

A. I created a elevated program shortcut for the installed Everthing program EXE file in it's C:\Program Files folder.

B. Move this new elevated program shortcut (ex: task-name) into your C:\Users\(user-name)\My Documents folder to store it at.


C. Next, I created a new separate start up/log on task. While doing this be sure to:
  • Check the Run with hightest Priveleges box at step 8.
  • Include both steps 11 and 14 to run at startup and log on.
  • At step 15, be sure to use the elevated program shortcut (ex: task-name) from step A above.
  • Do not do step 16 since you are doing 15 instead.
My System SpecsSystem Spec
09 Dec 2010   #33
Hans L

Windows 7 Ultimate
 
 

Shawn, I finally got it to work.

However (sorry!!!!!), if I add "-startup" to

Task Scheduler Library – Everything_shortcut_task – Actions – Add arguements optional): -startup

in order to make Everything start up minimized to the tray, it does not work.

And, I have to say this:

I do not understand why first, the shortcut refers to

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

and then, second, Task Scheduler (Local) – Task Scheduler Library – Everything–Folder – Everything_task – Actions – Start a program

refers to the SAME THING:

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

It works, but it does not make any sense at all. Do you have any explanation, Shawn?

Regards,

Hans L
My System SpecsSystem Spec
.

09 Dec 2010   #34
Hans L

Windows 7 Ultimate
 
 

I put "-startup" back, and now, it works. Go figure. So, we are set.

Now, I have a Windows Explorer replacement called DOpus (very good!!!), and every time I change a folder name, I get the dreaded UAC prompt. That is really ridiculous.Is there is away to fix this too?

Shawn, do you think that in the future SP1 for Windows 7, there will be ways to exempt files and programs from the UAC prompt?

All that aside, I wish, at this time, to thank you so very much for your exceptional patience with me and my problem. We, on this list and others, are lucky to have you around!

Regards,

Hans L
My System SpecsSystem Spec
09 Dec 2010   #35
Brink

64-bit Windows 10 Pro
 
 

That's great news Hans. I'm happy to hear that you got it sorted.

I wouldn't count on an exception list for UAC to ever be added since it would defeat the purpose of UAC. If a program on the exception list was compromised by malware, then it would be able to cause havoc without you being able to stop it by denying it permission to run elevated with the UAC prompt.
My System SpecsSystem Spec
09 Dec 2010   #36
Hans L

Windows 7 Ultimate
 
 

Quote   Quote: Originally Posted by Brink View Post
That's great news Hans. I'm happy to hear that you got it sorted.

I wouldn't count on an exception list for UAC to ever be added since it would defeat the purpose of UAC. If a program on the exception list was compromised by malware, then it would be able to cause havoc without you being able to stop it by denying it permission to run elevated with the UAC prompt.
Okay, guess we have to live with making our own exceptions, even if it is a little unwieldy.

Regards,

Hans L
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 03:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App