Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


TylerMitton
2010-02-09T23:33:35Z
I get this error in my task log every time one of my tasks tries to run:

User could not be logged in when performing desktop unlock: <username>

It doesn't stop the task and the task actually ends up running successfully... though that issue does seem to cause the task to be delayed.

I have it setup like this:

Job A has Task 1 and Task 2. Both Tasks are set to "Foreground execution"

Both Tasks have "Execute on any desktop session" selected.

Both Tasks have "Logon/Unlock using Credential" selected. I have credentials set for both.

For After logon/unlock AND After execution, I don't have anything checked/selected.

So this error I'm getting in my logs doesn't actually stop my tasks, but it does seem to make them take a lot longer... instead of it taking 15 seconds for each task (30 seconds in total)... it takes 1 minute for each (so 2 minutes total).

What can I do to eliminate the error and have the task run at the speed they normally do?
Sponsor
Forum information
Support
2010-02-10T00:12:47Z
1. which version are you running?
2. which OS are you running?
3. 32 or 64 bit os?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T00:15:04Z
1. Version 5.5.0 (Protocol version: 5.1.3)
2. Windows Server 2003
3. 64 bit

Hope that helps!
Support
2010-02-10T00:46:37Z
1. Any special reason you need foreground execution?
2. What value do you have here in the registry: HKEY_CLASSES_ROOT\CLSID\{75A22DF0-B81D-46ed-B119-CD30507BD615}\InprocServer32
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T16:36:19Z
1. The tasks that I'm running scrape data from websites and it requires interaction with input boxes and buttons on the page. I've tried running in background and fails.

2. I just looked and (and double checked), I do not have any registry entry at the location you gave me... nothing that starts with "{75A" in "HKEY_CLASSES_ROOT\CLSID\"
Support
2010-02-10T17:15:14Z
Ok, if you search on InteractiveLogonCP you should find a path in the registry. What path do you find?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T18:01:08Z
I have two entries that contain that text in the "Data" part of the entry, they are:

Entry #1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9F69C7570EC3C93CD124CB860BAE7DDB\4A73FB46D9E25024797812526E19B8D1

This has a value of: C:\Program Files (x86)\VisualCron\InteractiveLogonCPx86.dll

In that same registry folder, there is a entry named "(Default)" with data = (value not set)

Entry #2

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FBB90CEDD1AED155DC6FA7675DAF5F45\4A73FB46D9E25024797812526E19B8D1

This has a value of: C:\Program Files (x86)\VisualCron\InteractiveLogonCPx64.dll

In that same registry folder, there is a entry named "(Default)" with data = (value not set)
Support
2010-02-10T18:09:27Z
It might be a security setting. Please check Administrative tools->Local security policy. Then there is a policy containing CTRL+ALT+DEL. What kind of value do you have on that policy?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T18:40:53Z
Under:

Security Settings -> Local Policies -> Security Options

I have a policy called: Interactive logon: Do not require CTRL+ALT+DEL

It is set to: Disabled

This means that CTRL+ALT+DEL is required.

Note that this machine is connected to a domain.

Should I try changing that to be Enabled?
Support
2010-02-10T18:41:58Z
Yes, try to enable it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T19:02:36Z
I enabled that and I'm still getting the same result... no change.
Support
2010-02-10T19:03:50Z
Do the log_serverDATE.txt contain more information about what is happening? Turn on Extended debugging in server settings before running the Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T19:27:10Z
There is a bunch of info in the log with respect to the logon. I don't know which part would be important, so I have attached the entire thing (for the running of the job in questions) to this post.

Thanks for your persistence with this Henrik!
File Attachment(s):
log.txt (35kb) downloaded 49 time(s).
Support
2010-02-10T23:00:43Z
We will install a fresh 2003 x64 to test this and compare the log. We will get back to you.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
TylerMitton
2010-02-10T23:13:03Z
Support
2010-02-12T11:27:57Z
We set up an environment using Windows 2003 x64 SP2. With setting "Do not require CTRL-ALT-DEL" set to Enabled. This worked without any problems.

Perhaps your server needs a restart after altering this setting?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top