Setting Default Server and Script Options in CSNW

ID: Q163979


The information in this article applies to:


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           : 4.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: February 9, 1999