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

21 Sep 2012   #30
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Linux Mint 17.1 MATE (64 bit)
 
 
Update

I got the task to run (I can't figure out why it is behaving itself now though).
Task Scheduler still reports error 0x41301, but the Process Explorer window appears and it is in Administrator mode.

The weird thing is that I have to enter a password when I try to create the task for my user account, but if I change the user to "Administrators" group, I don't have to enter any password!

Surely a user shouldn't be able to create a task for an Administrator (without entering a password)?


My System SpecsSystem Spec
21 Sep 2012   #31
Brink
Microsoft MVP

64-bit Windows 10
 
 

A "standard" user can create tasks, but it will not run for anything elevated unless they enter the administrator's password.

You might also give this a try below to see how it works for you. Only an administrator can create it, but it can be used by any type of account though.

Elevated Program Shortcut - Create for Standard User
My System SpecsSystem Spec
21 Sep 2012   #32
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Linux Mint 17.1 MATE (64 bit)
 
 
Thanks Brink

Quote   Quote: Originally Posted by Brink View Post
Quote   Quote: Originally Posted by lehnerus2000
The weird thing is that I have to enter a password when I try to create the task for my user account, but if I change the user to "Administrators" group, I don't have to enter any password!

Surely a user shouldn't be able to create a task for an Administrator (without entering a password)?
A "standard" user can create tasks, but it will not run for anything elevated unless they enter the administrator's password.
I am using the standard pseudo-Administrator account (the one that is created when you install the OS).

If I create an elevated task for this account ("PJL"), I must enter a password.
If I change the user in the Task Scheduler (not the session) to "Administrator" or "Administrators" group, I don't have to enter a password.

I'm certain that I tried all of those combinations previously ("PJL, Administrator & Administrators" group) and nothing worked.

BTW, is there a complete list of the Task Scheduler error codes?

Quote   Quote: Originally Posted by Brink View Post
You might also give this a try below to see how it works for you. Only an administrator can create it, but it can be used by any type of account though.

Elevated Program Shortcut - Create for Standard User
That tutorial looks very useful.
Bookmarked.
My System SpecsSystem Spec
21 Sep 2012   #33
Brink
Microsoft MVP

64-bit Windows 10
 
 

I found this that may hopefully help some with the error codes.

net helpmsg (message #) command
(ex: net helpmsg 64 = The specified network name is no longer available.)


Task Scheduler Error and Success Constants

and

Events and Errors Message Center: Advanced Search
My System SpecsSystem Spec
.


22 Sep 2012   #34
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Linux Mint 17.1 MATE (64 bit)
 
 
Thanks yet again Brink

Quote   Quote: Originally Posted by Brink View Post
I found this that may hopefully help some with the error codes.

net helpmsg (message #) command
(ex: net helpmsg 64 = The specified network name is no longer available.)


Task Scheduler Error and Success Constants

and

Events and Errors Message Center: Advanced Search
Thanks for looking into that.
My System SpecsSystem Spec
22 Sep 2012   #35
Brink
Microsoft MVP

64-bit Windows 10
 
 

Anytime.
My System SpecsSystem Spec
15 Nov 2012   #36
zerses

Windows 7 Home Premium
 
 
Thanks!

That is amazing!

Now if I can only figure out how to get my not hidden administrator account to understand it's has admin rights.. it says it does statically on the screen but Windows 7 Home Premium is far short of the real admin account of Professional and Server from what I've been able to ascertain.

Thanks again!
Kelly
My System SpecsSystem Spec
15 Nov 2012   #37
Brink
Microsoft MVP

64-bit Windows 10
 
 

Hello Kelly,

I'm glad it could help. The tutorial below can help show you how to elevate your account.

User Account Control (UAC) - Elevate Privilege Level - Vista Forums
My System SpecsSystem Spec
11 Feb 2013   #38
kevindd992002

Windows 7 Ultimate x6
 
 

What is the difference of At Startup and At Logon? If I just do this task At Startup will the program still run?
My System SpecsSystem Spec
11 Feb 2013   #39
Brink
Microsoft MVP

64-bit Windows 10
 
 

Hello Kevin,

It depends on which one or both you want the program to run at.

Startup = When your log on to the user account at the startup of Windows. Usually after a restart or shut down of the computer.

Log on = When you log on to the user account say after logging off, lock computer, switch user. Anything other than from at startup.

Hope this helps,
Shawn
My System SpecsSystem Spec
Comment

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




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
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 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
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
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 14:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App