Results 1 to 3 of 3

Thread: Scheduled Tasts, program won't run...

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Scheduled Tasts, program won't run...

    I made a program in VB that does the backup on the computer is on. I installed it on 2 computers at work.

    I've added the program on a Scheduled Task to run at 11:00 PM (on both computers) and the program runs only on one of the comptuers. If I start the program manually, no problem, it runs just fine, but it does not run at the scheduled time. I also tried to run it manually by right clicking on the task and clicked on the "Run" menu, and nothing...

    I know it's not a problem with the program because I've tested it on my own computer, and it's fine. But i can't undesrtand why it won't run on the other computer at work ??

  2. #2
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Check the user account the task is set to run as. Make sure that the username and password is right and that user has permission to do what the task wants. This is one area where lots of people stuff up, and will cause theproblem you are experiencing.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    I think I fixed it... I've plaied around with it for about 30 minutes, and I got it to work on the comptuer that did not work at all...
    I'm not sure what exactly of the things I did fixed the problem, the last 2 things I did (for the people who have the same problem) it was to change the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurentControlSet\Control\Lsa\limitblankpassworduse I changed it to 0 (disabled), and the next thing I did was to go to Control Panel/Administrative Tools/Services/Task Scheduler and unchecked the "Allow service to interact with desktop" on the Log On tab.
    After this, the scheduled task started (at the time i've set it, when I tested it), but again... I'm not 100% those are the things that made it work... since i've tried a few more things witch I don't even remember what they were....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width