Microsoft KB Archive/163979

From BetaArchive Wiki

Article ID: 163979

Article Last Modified on 2/22/2007



APPLIES TO

  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition



This article was previously published under Q163979

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


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



Additional query words: CSNW GSNW Netware logon login default Novell Preferred Server

Keywords: kbhowto KB163979