Empty Password Bug
-
- Posts: 2
- Joined: Thu Apr 20, 2006 12:25 am
Empty Password Bug
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)
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:
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.
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', '');
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.
Igor Siticov.
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?
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?