Logon Message in Windows NT
Keywords: logon login dialog
Question:
I am logging on to NT w/o connecting to a domain (I will connect later) and I want to clear the "Logon Message" Dialog box that states "A domain controller for your domain could not be contacted. You have been logged on using cached account...". The standard WinClose function does not work, because it seems the message is on another layer. Does anyone have any ideas on how to close this window??Answer:
There are a couple of ways around your problem.
- In order to close the window, use SendKeysTo or SendKeysChild (my favorite) to give it the OK function. If you are not sure of the Child Windows, look in the Tech Support Database for "Parent and Child Windows" to get a short script that allows you to figure them out; or you can use the Control Panel Extender.
- To prevent the Window from showing up at all, Unclick the Logon to Domain setting in Network properties. You are still logging into the network, so your permanent drive mappings and shares will work, but you will NOT (try to) run a Domain Login script, so will not get an error message.
This is the way that we have our systems setup as we login to a Novell network and map shares to an NT network whose domain controller is remotely located; it works well.
Article ID: W13509Filename: Logon Message on Windows NT.txt