Setting Default Server and Script Options in CSNW

Article translations Article translations
Article ID: 163979 - View products that this article applies to.
This article was previously published under Q163979
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Expand all | Collapse all

On This Page

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.

More information

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

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.
  1. Run Registry Editor (Regedt32.exe).
  2. Navigate to the following subtree: From the subtree, go to the following key:
    HKEY_LOCAL_MACHINE\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
  5. Delete any SID Subkeys found in the following registry subtree:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NWCWorkstation\Parameters\Option

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.
  1. Run Registry Editor (Regedt32.exe).
  2. Navigate to the following registry subtree:
    HKEY_LOCAL_MACHINE\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
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: 155197
TITLE : Unattended Setup Parameters for Unattend.txt File

Properties

Article ID: 163979 - Last Review: October 26, 2013 - Revision: 4.0
Applies to
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
Keywords: 
kbnosurvey kbarchive kbhowto KB163979

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com