LogonUser timeout when disconnected from network

S

serban.lascu

Hello!
I have an application using LogonUser for authentification, running
under XP SP2.

LogonUser answers after a very long time (30 to 90 seconds) in the
cases above:
- I log on to Windows with the network connected, then unplug my
network cable and launch the application.
- I log on to Windows with the network connected, then disconnect my
machine from the domain controller and launch the application.

LogonUser returns immediately (less than 3-4 seconds) if:
- I unplug the network cable before logging on to Windows, then launch
my application while cable is still unplugged.
- I disable "Local Area Connection" from the "Network Connections".

Any clue to reduce the timeout and force LogonUser to use the cached
credentials quicker? Every suggestion would be great!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top