ConnectHomeDirToRoot

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Restores the definitions of the %HOMESHARE% and %HOMEPATH% environment variables to those used in Windows NT 4.0 and earlier. This entry lets you use scripts designed for Windows NT on Windows 2000.

This entry stores the setting of the Connect home directory to root of the share Group Policy. Group Policy adds this entry to the registry with a value of 1 when you enable the policy. If you disable the policy, Group Policy sets the value to 0. If you set the policy to Not configured, Group Policy deletes the entry from the registry and the system behaves as though the value is 0.

Value Meaning
0 (or not in registry) The policy is disabled or not configured. The system uses the Windows 2000 definitions of %HOMESHARE% and %HOMEPATH%.
1 The policy is enabled. The system uses the Windows NT 4.0 definitions of %HOMESHARE% and %HOMEPATH%.

Along with %HOMEDRIVE%, %HOMESHARE% and %HOMEPATH% define the home directory of a user profile. The home directory is a persistent mapping of a drive letter on the local computer to a local or remote directory.

On Windows 2000, %HOMESHARE% stores the fully qualified path to the home directory (such as \\server\share\dir1\dir2\homedir). Users can access the home directory and any of its subdirectories from the home drive letter, but they cannot see or access its parent directories. %HOMEPATH% stores a final backslash and is included for compatibility with earlier systems.

On Windows NT 4.0 and earlier, %HOMESHARE% stores only the network share (such as \\server\share). %HOMEPATH% stores the remainder of the fully qualified path to the home directory (such as \dir1\dir2\homedir). As a result, users can access any directory on the home share by using the home directory drive letter.

See an example.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Connect home directory to root of the share policy (User Configuration\Administrative Templates\System\Logon/Logoff).

Tip Image Tip

To specify a home directory in Windows 2000, in Active Directory Users and Computers or Local Users and Groups, right-click the name of a user account, click Properties, click the Profile tab, and in the Home folder section, select the Connect option and select a drive letter and home directory.

For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.