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: Task - Create to Run a Program at Startup and Log On

11 Feb 2013   #40
kevindd992002

Windows 7 Ultimate x6
 
 

Oh ok. I tried adding tasks for two of my programs, CPU-Z and HWMonitor and when I set the Trigger to At Startup and then restart the computer, the programs don't run at all. But when I set the Trigger to At Startup AND At Log On, then the programs run after a restart. What's does that indicate? Also, what does a 0x41031 Last Run Result mean?


My System SpecsSystem Spec
.
11 Feb 2013   #41
Brink

64-bit Windows 10 Pro
 
 

I would recommend to have it run at both startup and logon to make sure it runs.

I'm afraid that I have no idea about "0x41031 Last Run Result".
My System SpecsSystem Spec
11 Feb 2013   #42
kevindd992002

Windows 7 Ultimate x6
 
 

Quote   Quote: Originally Posted by Brink View Post
I would recommend to have it run at both startup and logon to make sure it runs.

I'm afraid that I have no idea about "0x41031 Last Run Result".
Ok. Do you know the reason why the program doesn't run when I set it to run At Startup only?
My System SpecsSystem Spec
11 Feb 2013   #43
lehnerus2000

W7 Ultimate SP1, LM18.1 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
The task is currently running

That indicates the process is already running.
Quote:
SCHED_S_TASK_RUNNING
0x00041301
The task is currently running.
Task Scheduler Error and Success Constants (Windows)

My "Run Process Explorer at logon" task gives that result (constantly), but the task runs correctly anyway.
My System SpecsSystem Spec
.

11 Feb 2013   #44
kevindd992002

Windows 7 Ultimate x6
 
 

Quote   Quote: Originally Posted by lehnerus2000 View Post
That indicates the process is already running.
Quote:
SCHED_S_TASK_RUNNING
0x00041301
The task is currently running.
Task Scheduler Error and Success Constants (Windows)

My "Run Process Explorer at logon" task gives that result (constantly), but the task runs correctly anyway.
Yup, I think it means it is running currently. Weird, I have a ShadowSpawn task that I created and the last run results says 0x8003 and I can't seem to find it anywhere in the net?
My System SpecsSystem Spec
26 Aug 2013   #45
JerometheGiraff

Windows 10 Pro
 
 

Can you have a task automatically bypass asking for Administrator password upon booting into a Standard Account ?
I tried looking for an answer, probably didn't search hard enough !
My System SpecsSystem Spec
26 Aug 2013   #46
Brink

64-bit Windows 10 Pro
 
 

Hello Jerome,

Sorry, but you will not be able to run elevated programs at startup or at log on for a standard user account without being prompted by UAC. Only unelevated programs.
My System SpecsSystem Spec
26 Aug 2013   #47
JerometheGiraff

Windows 10 Pro
 
 

Crap. I'm going to have to try another solution !
My System SpecsSystem Spec
26 Aug 2013   #48
Brink

64-bit Windows 10 Pro
 
 

Well, you could use the tutorial below to create an elevated shortcut that a standard user can run without getting a UAC prompt, but you will still not be able to run it at startup.

Elevated Program Shortcut - Create for Standard User
My System SpecsSystem Spec
24 May 2015   #49
socket

Windows Server 2012 RD
 
 
Worked

Thank you very much for this tutorial !
It took me 2minutes to set it up and it's working like a charm :)
My System SpecsSystem Spec
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Task Scheduler : Create Shut Down PC Automatically Task
How to Create a Task that will Shut Down the PC Automatically This will show a very easy way to create a task in the Task Scheduler that will shut down the PC whenever you like. This will work for Windows 7 and Windows Vista. Let's get started! 1) In the Windows start menu search box type...
Tutorials
Task Scheduler - Create New Task
How to Create Automated Task that Runs at Set Time in Windows 7 A very handy feature within Vista, Windows Server 2008 & now Windows 7 is the Task Scheduler. This app will allow the automated running of files and programs at a user designated time. Here's How: 1. Open up Task...
Tutorials
create sleep task, to force sleep over a program ?
Hello, I would like to know how to create a task in task scheduler , that'll force the computer into sleep over a running program. Basically, I have some software that runs in the background called 'WD anywhere backup' and when this software is running it prevents the computer from...
General Discussion
Can't create a task in task scheduler, account unknown.
"Task scheduler cannot create the task. The user account is unknown, the password is incorrect, or the user account does not have permission to create this task." I'm getting that message. I read you needed a passworded account to create a task, so I made a new account because I didn't want a...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance


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