Empty Password Bug

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
mimarsinan
Posts: 2
Joined: Thu Apr 20, 2006 12:25 am

Empty Password Bug

Post by mimarsinan »

Scheduling a task with an empty password does not work. I can schedule the same task in the native task scheduler with an empty password and it works. However the scheduler does not successfully schedule a task with an empty pasword. (The user account has an empty password)
isiticov
Site Admin
Posts: 2395
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Actually, this is some XP limitation, as described here:
http://www.theeldergeek.com/scheduled_t ... ssword.htm

But the code below works just fine to configure a task for a user without password:

Code: Select all

      
      Flags := Flags + [tfRunOnlyIfLoggedOn];
      SetAccountInformation('USERNAME', '');
You may need to use a trick as:
Go to Start/Administrative Tools/'Local Security Policy/Security Settings\Local Policies\Security Options
Accounts: Limit local account use of blank passwords to console logon only. This is enabled by default, disable it.

Please let me know if this helps.
Best regards,
Igor Siticov.
jbjorgen
Posts: 1
Joined: Thu Oct 12, 2006 3:09 pm

Post by jbjorgen »

mimarsinan has a point.

I can manually configure a task with no password in Windows XP. Also, an application compiled with version 1.0.2 of the scheduling agent seems to have no problem with adding a blank password task to Windows XP without error. Both work without the "Run only if logged in" option.

Unfortunately, I lost the installer for 1.0.2 due to a hard disk failure, I need to get that functionality back. Any ideas?
Post Reply