Setting Default Server and Script Options in CSNW

Last reviewed: May 21, 1997
Article ID: Q163979
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SUMMARY

This article describes how to set a Default Preferred Server or Default Tree and Context, as well as Default Script Options for Client Services for NetWare (CSNW) and Gateway Services for NetWare (GSNW).

Usually, each user logging on to a workstation will be prompted for a Preferred Server, providing one has already been set. After the initial prompt, the user will not see the Preferred Server prompt again.

The following information will allow multiple users logging on to the same workstation to connect to the same Preferred Server. They will not be prompted for a Preferred Server.

NOTE: The following registry settings will be present only if an unattended installation of Windows NT was accomplished.

Default Preferred Server Settings

To set a Preferred Server for all new users logging on to a computer running Windows NT Workstation or Windows NT Server, you must modify 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.

  1. Run Registry Editor (Regedt32.exe).

  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:

          System\CurrentControlSet\Services\NWCWorkstation\Parameters
    

  3. Add the following Value:

          DefaultLocation:REG_SZ:
    

  4. The data for this value should be the name of your preferred server. To specify a default Tree and Context you must use the following format:

          *TREE\CONTEXT
    

    For example, if your Tree is "Netware" and your context is ou=USA.O=Middleton then the DefaultLocation should read:

          DefaultLocation:REG_SZ:*Netware\ou=USA.o=Middleton
    

    -or-

          DefaultLocation:REG_SZ:*Netware\USA.Middleton
    

Default Scripting Options

To set default scripting options for all new users logging on to an computer running Windows NT Workstation or Windows NT Server, you must modify 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.

  1. Run Registry Editor (REGEDT32.EXE).

  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:

          System\CurrentControlSet\Services\NWCWorkstation\Parameters
    

  3. Add the following value:

          DefaultScriptOptions:REG_DWORD:
    

  4. The data for this value reflects the default script options, which are:

          0 indicates that no scripts will be run.
          1 indicates that only NetWare 3.x-level scripts will be run.
          3 indicates that either NetWare 3.x or NetWare 4.x-level scripts will
    
            be run.
    
       For example, to specify that all new users logging on to the system will
       run all NetWare level scripts, add the following value and data:
    
          DefaultScriptOptions:REG_DWORD:0x3
    
    

MORE INFORMATION

You can only specify the default NetWare server and/or the default script options to use for new users. You cannot specify default print options.

For additional information on setting these parameters for unattended installations, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q155197
   TITLE     : Unattended Setup Parameters for Unattend.txt File


Additional query words: CSNW GSNW Netware logon login default Novell
Keywords : nthowto NTSrvWkst
Version : 4.0
Platform : WinNT
Issue type : kbhowto


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: May 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.