For a Administrator User Account:
You are able to have Run as administrator (elevated) programs run at startup or at log on for a administrator account in a task in Task Scheduler.
For a Standard User Account:
You will not be able to run elevated programs at startup or at log on for a standard user account though. Only unelevated programs (ex: Notepad).
Here's How:
1. Log on to the user account that you want to create this task to run for.
2. Open the Start Menu, then type taskschd.msc in the search box and press enter.
4. In the left pane of Task Scheduler, click on the Task Scheduler Library folder, then click on New Folder in the far right pane. (see screenshot below)
5. Type in a name (ex: program name "Core Temp") you want for the new task folder to make finding the task easier, then click on OK. (see screenshot below)
6. In the left pane of Task Scheduler, click on the new task folder (ex: Core Temp), and click on Create Task in the far right pane. (see screenshot below)
7. Under the General tab, type in a name for the task (ex: Program Name "Core Temp"). (see screenshot below)
8. Under the General tab,
If Used in a Administrator User Account
Check the Run with hightest Priveleges box. (see screenshot above)
If Used in a Standard User Account
Leave the Run with hightest Priveleges box unchecked. (see screenshot above)
9. Click on the Configure for drop down box to open it, and select Windows® 7, Windows Server™ 2008 R2. (see screenshot above and below) NOTE:This is like compatibility mode. If the program does not support running in Windows 7 normally, then you can select the OS that is does support running in instead to have it run in compatibility mode as if it was running in that OS instead of Windows 7.
10. Do steps 11 and/or 12 below for when you would like to have this task run.
11. To Have the Task Run "At startup"
A) Click on the Triggers tab and New button. (see screenshot below)
B) In the Begin the task drop down menu list, select At startup. Next, make sure that Enabled is checked, and click on OK. (see screenshot below)
C) Do step 12 as well. It is required for the "At startup" to work.
12. To Have the Task Run "At log on"
A) Under the Triggers tab, click on the New button. (see screenshot below)
B) In the Begin the task drop down menu list, select At log on. Next, make sure that Enabled is checked, and click on OK. (see screenshot below)
13. Click on the Actions tab and New button. (see screenshot below)
14. In the Action drop down menu list, select Start a program, then click on the Browse button. (see screenshot below)
15. Navigate to and select the program's EXE file or shortcut to the EXE file, then click on Open. (see screenshot below) NOTE:Remember that a standard user account cannot run a elevated program at startup or log on. See NOTE at top of tutorial for more information.
16. Click on OK. (see screenshot below)
17. Click on the Conditions tab, and uncheck the Stop if the computer switches to battery power box first, then uncheck the Start the task only if the computer is on AC power box. (see screenshots below) NOTE:This step is mostly for laptops, so that you will be able to run the program when the laptop is running on battery power.
18. Click on the Settings tab, and check the If the task fails, restart every box. (see screenshot below)
19. Click on OK. (see screenshot above)
20. You can now close Task Scheduler. (see screenshot below) NOTE:If you look in the middle pane under the Author column for the task that you just created, you will be able to tell what user account the task is for.
21. Log off and log on this user account, or restart the computer to test you new task.
Tip
To Delete the Task:
If you decide you would like to delete the task later, then you can right click on the task (step 8) in the middle pane and click on Delete and Yes. Next, you can delete the task folder (step 5) when empty the same way. (see screenshot above)
I couldn't get this to work in the earlier versions of Windows 7 (b7048, b7077 & b7100).
It works great in Windows 7 (b7600).
Steps 10, 11, 12 & 13 confused me, until I realised that one pair was for "At startup" and the other was for "At log on". Perhaps they could be colour-coded.
Is it possible to get Task Scheduler to run programs after another program is closed?
What I was thinking is, it would be great to be able to get CCleaner and/or an AV program to run automatically, after shutting down IE8, Firefox or other browser.
I forgot to clean my cache the other day and my email got hijacked.
System Manufacturer/Model Number n/a OS Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 14 MATE (64 bit) CPU AMD Phenom II x6 1055T, 2.8 GHz Motherboard ASRock 880GMH-LE/USB3 Memory 8GB DDR3 1333 G-Skill Ares F3-1333C9D-8GAO (4GB x 2) Graphics Card ATI Radeon HD6450 Sound Card Realtek? Monitor(s) Displays Samsung S23B350 Screen Resolution 1920x1080
Mouse Wired Optical Case Tower Hard Drives Western Digital 1 TB (SATA), Western Digital 1.5 TB (SATA), Western Digital 2 TB (SATA) Internet Speed DSL Other Info Ubuntu 10.04 (64 bit) replaced with Linux Mint 14 MATE (64 bit) - 2013-01-14
RAM & Graphics Card Upgraded - 2013-01-13
Monitor Upgraded - 2012-04-20
System Upgraded - 2011-05-21, 2010-07-14
HDD Upgraded - 2010-08-11, 2011-08-24
I added a subtitle in the steps to help with the "At startup" and "At log on".
Creating a task like that will be a bit involved and off topic for this tutorial a bit. I'm not sure on the exact way to create one for this though, but you should go ahead and post that in a new thread in the "General Discussion" forum area to see if you may be able to get a solution on it.
I added a subtitle in the steps to help with the "At startup" and "At log on".
Creating a task like that will be a bit involved and off topic for this tutorial a bit. I'm not sure on the exact way to create one for this though, but you should go ahead and post that in a new thread in the "General Discussion" forum area to see if you may be able to get a solution on it.
System Manufacturer/Model Number n/a OS Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 14 MATE (64 bit) CPU AMD Phenom II x6 1055T, 2.8 GHz Motherboard ASRock 880GMH-LE/USB3 Memory 8GB DDR3 1333 G-Skill Ares F3-1333C9D-8GAO (4GB x 2) Graphics Card ATI Radeon HD6450 Sound Card Realtek? Monitor(s) Displays Samsung S23B350 Screen Resolution 1920x1080
Mouse Wired Optical Case Tower Hard Drives Western Digital 1 TB (SATA), Western Digital 1.5 TB (SATA), Western Digital 2 TB (SATA) Internet Speed DSL Other Info Ubuntu 10.04 (64 bit) replaced with Linux Mint 14 MATE (64 bit) - 2013-01-14
RAM & Graphics Card Upgraded - 2013-01-13
Monitor Upgraded - 2012-04-20
System Upgraded - 2011-05-21, 2010-07-14
HDD Upgraded - 2010-08-11, 2011-08-24
Hey Brink I have an issue that's got me ready to completely disable UAC.
I installed APC's Power Chute software (version 3.0) last night. Now whenever I logon or restart the computer I get a UAC prompt before it will run; Version 2.2 never did this. The program is designed to run upon login/startup as it monitors my UPS.
Now the odd thing is once I give it permission.... all is good until the next restart/login.... I can open it from the the taskbar's notification area all day without a UAC prompt. But once I log off or restart I have to OK the UAC prompt again. As you can imagine this is rather annoying since I have to do this for every restart/login.
And now, for some odd reason, after uninstalling 3.0 and reinstalling 2.2, it too does the same thing as 3.0.... gives a UAC prompt upon login/restart where it never did before!
Anyway I tried the procedure listed above but can't get them to work. Any suggestions? Is there an issue because the program starts at system login?
Thanks. BTW I may not get back with you tonight because I'm going nite nite
Computer type PC/Desktop System Manufacturer/Model Number Built by me OS Windows 7 Ultimate x64 SP1 CPU Intel Core i7-950 (3.06GHz) OC to 3.8GHz Motherboard Gigabyte GA-X58A-UD5 rev 1, F6 Bios Memory 12 gig Corsair DDR3 Dominator GT Memory (3X 4GB) Graphics Card AMD Radeon HD6950 2gig (Sapphire) Sound Card X-Fi Titanium Fatality Pro Monitor(s) Displays HP ZR22w 22" LCD Monitor Screen Resolution 1920 x 1080
Keyboard Logitech Wireless Wave Mouse Logitech Performance MX PSU Antec Signature - SG-850 Case Cooler Master HAF X Cooling Noctua NH-C12P SE14 Hard Drives Primary - OCZ Vertex 4 SSD (256GB). Storage - OCZ Vertex 2 SSD (120GB) & 2TB WD Caviar Black. Internet Speed High Speed Cable Other Info Memory Timings - 1600MHz @ 8-8-8-20-1T @ 1.640 volts
You could always remove the app from startup (using msconfig) and create a task that activates the app (with highest privileges) whenever a user logs in.
You could always remove the app from startup (using msconfig) and create a task that activates the app (with highest privileges) whenever a user logs in.
I've already tried that with the procedures here. Are you suggesting that it should be removed from startup? i.e if I use these procedures, it doens't need to be in startup as well?
Computer type PC/Desktop System Manufacturer/Model Number Built by me OS Windows 7 Ultimate x64 SP1 CPU Intel Core i7-950 (3.06GHz) OC to 3.8GHz Motherboard Gigabyte GA-X58A-UD5 rev 1, F6 Bios Memory 12 gig Corsair DDR3 Dominator GT Memory (3X 4GB) Graphics Card AMD Radeon HD6950 2gig (Sapphire) Sound Card X-Fi Titanium Fatality Pro Monitor(s) Displays HP ZR22w 22" LCD Monitor Screen Resolution 1920 x 1080
Keyboard Logitech Wireless Wave Mouse Logitech Performance MX PSU Antec Signature - SG-850 Case Cooler Master HAF X Cooling Noctua NH-C12P SE14 Hard Drives Primary - OCZ Vertex 4 SSD (256GB). Storage - OCZ Vertex 2 SSD (120GB) & 2TB WD Caviar Black. Internet Speed High Speed Cable Other Info Memory Timings - 1600MHz @ 8-8-8-20-1T @ 1.640 volts
The problem is the APC software has a bunch of .exe’s with the main 3 being a systray Icon called display.exe – that one has a shortcut in the Startup folder, then there’s one for the systray called apcsystray.exe, and then we have the actual PowerChute.exe, so......
Anyway what I did was create a task run program using the "apcsystray.exe" and removed the "display.exe" from the Startup folder under All Programs and now all is good.
Computer type PC/Desktop System Manufacturer/Model Number Built by me OS Windows 7 Ultimate x64 SP1 CPU Intel Core i7-950 (3.06GHz) OC to 3.8GHz Motherboard Gigabyte GA-X58A-UD5 rev 1, F6 Bios Memory 12 gig Corsair DDR3 Dominator GT Memory (3X 4GB) Graphics Card AMD Radeon HD6950 2gig (Sapphire) Sound Card X-Fi Titanium Fatality Pro Monitor(s) Displays HP ZR22w 22" LCD Monitor Screen Resolution 1920 x 1080
Keyboard Logitech Wireless Wave Mouse Logitech Performance MX PSU Antec Signature - SG-850 Case Cooler Master HAF X Cooling Noctua NH-C12P SE14 Hard Drives Primary - OCZ Vertex 4 SSD (256GB). Storage - OCZ Vertex 2 SSD (120GB) & 2TB WD Caviar Black. Internet Speed High Speed Cable Other Info Memory Timings - 1600MHz @ 8-8-8-20-1T @ 1.640 volts