How to Automate Logon Procedures for Windows NT Mail

Last reviewed: January 11, 1995
Article ID: Q121050
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5

SUMMARY

There are two ways to automate the logon procedure for the MSMail32 application included in Windows NT Workstation and Server:

   - Modifying the Registry
   - Modifying Program Item Properties

MORE INFORMATION

Modifying the Registry

WARNING: Using Registry Editor incorrectly can cause serious,

    system-wide problems that may require you to reinstall Windows NT
    to correct them. Microsoft cannot guarantee that any problems
    resulting from the use of Registry Editor can be solved. Use this
    tool at your own risk.

  • Start the Registry Editor (REGEDT32.EXE)

  • Find the following key:

    \HKEY_CURRENT_USER\Software\Microsoft

           \Mail\Microsoft Mail
    

  • From the Edit menu, select Add Value.

  • For the Value Name field, type "Password" (without quotation marks). Select REG_SZ for Data Type and choose OK. For the String value, type the user's password and choose OK.

  • Close the Registry Editor, and restart Mail32.

    Modifying Program Item Properties

    1. Highlight the MSMail32 program item.

    2. Press ALT+ENTER to display the MSMail32 program item properties.

    3. On the command line, change it to the following:

      MSMAIL32.EXE <username> <password>

    4. Restart MSMail32.


  • Additional reference words: 3.10 3.50 prodnt workgroup
    KBCategory: kbusage
    KBSubcategory: nt32ap nthowto


    THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

    Last reviewed: January 11, 1995
    © 1998 Microsoft Corporation. All rights reserved. Terms of Use.