Setting Default Server and Script Options in CSNW

ID: Q163979


The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Server version 4.0, Terminal Server Edition
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server


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:


  4. DefaultLocation:REG_SZ:
  5. 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 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:


  4. DefaultScriptOptions:REG_DWORD:
  5. 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:


  6. 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 : WINDOWS:2000; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbhowto


Last Reviewed: January 21, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.