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

09 Apr 2014   #390
Brink

64-bit Windows 10 Pro
 
 

You're welcome.


My System SpecsSystem Spec
.
10 Apr 2014   #391
Batch

W7 x86
 
 

Quote   Quote: Originally Posted by JerometheGiraff View Post
Batch - How do you know that Scheduled tasks run at a priority 7 ?
'Cos if one creates a Scheduled Task there is no way (within the Create Task dialogue) to set the priority. But if one then exports such a scheduled task (as XML), it is clear that the priority is set to 7 by default.
My System SpecsSystem Spec
10 Apr 2014   #392
JerometheGiraff

Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Batch View Post
Quote   Quote: Originally Posted by JerometheGiraff View Post
Batch - How do you know that Scheduled tasks run at a priority 7 ?
'Cos if one creates a Scheduled Task there is no way (within the Create Task dialogue) to set the priority. But if one then exports such a scheduled task (as XML), it is clear that the priority is set to 7 by default.
I don't have any Scheduled tasks, nor can I think of any to make. Can you send me or post to download your XML file from one of your Scheduled tasks so I can take a look ?
My System SpecsSystem Spec
11 Apr 2014   #393
Batch

W7 x86
 
 

JerometheGiraff

"I don't have any Scheduled tasks, nor can I think of any to make"???

How about simply following the instructions in this tutorial for, say, Notepad.exe or any other program that you care to choose. Then export the Scheduled Task (as an XML file). Open up the XML and you can clearly see the priority in the relevant tag as <Priority>7</Priority>. It is a simple matter to edit the XML, delete the task (as originally created) and then import the edited XML. Once you've satisfied your curiosity you are free to delete the task.

As an aside, from my experience applications that create scheduled tasks (i.e. not using the UI) don't suffer from this issue and can create tasks with higher (and lower) priorities. It may well be that the interface used by such applications accepts the task creation using an XML file anyhow.
My System SpecsSystem Spec
.

11 Apr 2014   #394
Scoop

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by JerometheGiraff View Post
I don't have any Scheduled tasks, nor can I think of any to make. Can you send me or post to download your XML file from one of your Scheduled tasks so I can take a look ?
Hi,

I use one task to wake my PC overnight to run unattended AV & MBAM scans. That eliminates any system slow-down issues while scanning since I'm not using the PC during that time.
My System SpecsSystem Spec
11 Apr 2014   #395
JerometheGiraff

Windows 10 Pro
 
 

I don't know whether this has been mentioned in this thread, but I was in the process of creating a task which I haven't done in a long time on Windows 8.1 and I get a dialog asking me for my Network User Name and Password, to which I enter in the accounts password then I get an error the task can't be created ?
My System SpecsSystem Spec
16 Apr 2014   #396
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 

How you log into your "windows workstation" (username + pwd)
My System SpecsSystem Spec
16 Apr 2014   #397
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 

was about to ask, but then I remembered what I heard at the shop when buying some milk (customer in front has some PSx issue, multi-role-local-shopkeeper-cum-agony-aunt asks, "How you tried Googling it on... Google?!" found this

Code:
Task priority	Priority Class	Priority Level
0	REALTIME_PRIORITY_CLASS	THREAD_PRIORITY_TIME_CRITICAL
1	HIGH_PRIORITY_CLASS	THREAD_PRIORITY_HIGHEST
2	ABOVE_NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_ABOVE_NORMAL
3	ABOVE_NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_ABOVE_NORMAL
4	NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_NORMAL
5	NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_NORMAL
6	NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_NORMAL
7	BELOW_NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_BELOW_NORMAL
8	BELOW_NORMAL_PRIORITY_CLASS	THREAD_PRIORITY_BELOW_NORMAL
9	IDLE_PRIORITY_CLASS	THREAD_PRIORITY_LOWEST
10	IDLE_PRIORITY_CLASS	THREAD_PRIORITY_IDLE
Compare with Synergy



Creating task:









AttachLBS.bat


AttachLBS.txt




Config for win 7



Export


Delete Original Task



Edit Priority (Will set to 6, as suggested)


Import edited task
My System SpecsSystem Spec
16 Apr 2014   #398
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 

This failed to achieve the goal of loading the volume before the shell. Modifying userinit succeeded in delaying the desktop, as the diskpart script WAS being executed, but still the shell doesn't load the items until explorer's restarted.. I'll live with it!
My System SpecsSystem Spec
18 Apr 2014   #399
Arbitrage

Windows 8.1 Pro x64 with Media Center
 
 

First of all, thanks for this amazing tutorial, it has helped me a great deal! I have a question, but I am not sure if this is the appropriate place to ask, but I will in case there is somebody who can help me.

I have created an elevated shortcut of utorrent because I need it in order to make Sickbeard work. This way, Sickbeard automatically adds my torrents in utorrent without asking for my permission and it works like a charm. When I try to load a torrent though and I have previously started utorrent with the elevated shortcut, I get an error from utorrent that "It seems like uTorrent is already running but not responding" thus, making it impossible to add it. But when I try to load a torrent and utorrent was started from the regular shortcut or wasn't started at all, everything works fine.

Is there anything I am missing here? Thanks again!
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 16:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App