Sounds like it coulld be code..

Couple of things to track it down:
  • Use Kix32, not WKix32
  • Clear the DelayedDesktopSwitchTimeout in the registry (Create
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    DelayedDesktopSwitchTimeout - 0 - REG_DWORD) - this will allow you to see the login script actually run. Without this, the Windows "preparing your desktop" will display for up to 30 seconds while the login script runs behind that screen.
  • Include a SETCONSOLE('MAXIMIZE') with a version message and a SLEEP 10 or GET $ in the login script - this will make it visible and wait 10 seconds or until a key is pressed. This will verify that it is the correct script is running. Alternatively, use the MESSAGEBOX to display a unique version message. (This is a temporary change for debugging)
If, after this, you see that the expected script is running but not mapping drives, you'll need to start looking into the logic of the script itself.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D