Solved

Scheduled Task at System Startup issue

Posted on 2009-05-06
3
1,108 Views
Last Modified: 2012-05-06
Hello,
I'm trying to setup a Scheduled Task that runs at Windows startup.  I have successfully created the task and set it to "System Startup".  I even used local credentials but the task is unable to run at startup.  I do not find any information in the Event Viewer and the only place I see that it failed is in the Scheduled Tasks where it indicates Last Result as 0x1.  If I manually launch this task it runs fine and I see the process in the task manager.  It just doesn't seem to run at startup... Any ideas?

Here is the info from the Scheduled Tasks Log...
"Compagnie 3.job" (dbr.exe)
      Started 5/6/2009 3:15:23 PM
"Compagnie 2.job" (dbr.exe)
      Started 5/6/2009 3:15:24 PM
"Compagnie 1.job" (dbr.exe)
      Started 5/6/2009 3:15:25 PM
"Compagnie 3.job" (dbr.exe)
      Finished 5/6/2009 3:15:25 PM
      Result: The task completed with an exit code of (1).
"Compagnie 2.job" (dbr.exe)
      Finished 5/6/2009 3:15:25 PM
      Result: The task completed with an exit code of (1).
"Compagnie 1.job" (dbr.exe)
      Finished 5/6/2009 3:15:26 PM
      Result: The task completed with an exit code of (1).
0
Comment
Question by:sthubert
3 Comments
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 25 total points
ID: 24319788
sthubert--Maybe we need to see the code you are using to schedule the task.  And this may uncover more of the reason
http://www.itnewsgroups.net/group/microsoft.public.windows.server.general/topic14360.aspx
Also read this
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Windows/Q_22741521.html
http://www.tomshardware.com/forum/246036-32-storage  (have patience and read the last post)
0
 
LVL 7

Accepted Solution

by:
ManicD earned 100 total points
ID: 24326112
try setting the task scheduler to run the program under an adminstrator account. This should show if its file permissions etc.
0
 

Author Comment

by:sthubert
ID: 24473266
Sorry for the late response but I think the issue was that I needed to have the accounts able to act as a system service.  Haven't tested it because I just made them in to services using srvany application.  Thanks.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reading registry key from HKCU and not hklm 10 108
shadow copies 7 78
Forcibly removing a 2003 server from the Domain 4 49
SBS 2003 RWW Login 3 36
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question