AUTOLOG: Automates the Windows NT Logon Note: These files were acquired directly from the Jeffrey Richter's Win32 Q & A column that appeared in the Microsoft(R) Systems Journal. We have decided to include the source files in the Microsoft Development Library in untested form because we believe they are a valuable resource for developers. If you encounter any problems compiling or using this code, please let us know. We will forward your problem reports to the Microsoft Systems Journal. Setting up Microsoft Windows NT(TM) to automatically log on requires changing some configuration settings, which are maintained in a single database called the Registry. The Windows NT Registry is also the repository for every application's configuration settings as well. Windows NT ships with a tool that allows a user to examine and edit the contents of the Registry. This tool, REGEDT32.EXE, is much more extensive than its 16-bit Windows(TM) counterpart, REGEDIT.EXE. Extreme caution is required when modifying Registry entries, a task usually reserved for system administrators. AUTOLOG is a friendly application that permits a regular user to update auto-logon settings in the Registry without having to manually edit the Registry itself. AUTOLOG displays a dialog box and allows the user to enable or disable auto logon. It then opens the Registry, changes the appropriate values, and closes the Registry. AUTOLOG requires the Microsoft Windows NT operating system to build and run. AUTOLOG is a companion application for the "Questions & Answers Win32" column by Jeffrey Richter (Microsoft Systems Journal, Vol. 9, No. 4). KEYWORDS: CD8; AutoAdminLogon; DefaultDomainName; DefaultPassword; DefaultUserName; HKEY_CLASSES_ROOT; HKEY_LOCAL_MACHINE; HKEY_USERS; WINLOGON; Richter CheckRadioButton; EndDialog; IsDlgButtonChecked; MAKEINTRESOURCE; malloc; MessageBox; RegCloseKey; WinMain