%HOMEPATH% and %HOMESHARE% Are Resolved Incorrectly

ID: Q236813


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


SYMPTOMS

One of the features of the Microsoft Distributed File System (DFS) is to allow users to map drives directly to folders and subfolders under a DFS share. If a user's home folder is on a DFS share, the %HOMEDRIVE% variable is mapped only to the DFS root, and not to the complete path. This behavior is evident when it is viewed from Windows NT Explorer. In addition, the %HOMEPATH% and %HOMESHARE% variables are not resolved correctly.

For example, if "Dfs_root" is the DFS root on \\Pkdfs and the user's home folder is \\Pkdfs\Dfs_root\Home\User1:

%HOMEDRIVE% (for example, drive Z) is mapped to \\Pkdfs\Dfs_root
%HOMESHARE% resolves to \\Pkdfs\Dfs_root
%HOMEPATH% resolves to \Home\User1.
Instead, %HOMEDRIVE%%HOMESHARE% should resolve to \\Pkdfs\Dfs_root\Home\User1, %HOMEPATH% should resolve to \, and %HOMEDRIVE% (Z:) should map to \\Pkdfs\Dfs_root\Home\User1.


RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:

For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:
http://www.microsoft.com/support/supportnet/overview/overview.asp


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was first corrected in Windows NT 4.0 Service Pack 6.

Additional query words: 4.00

Keywords : kbbug4.00 kbfix4.00 NT4SP6Fix
Version : WINDOWS:2000; winnt:4.0,4.0 SP5
Platform : WINDOWS winnt
Issue type : kbbug


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