Microsoft KB Archive/238161

From BetaArchive Wiki

%USERNAME% Does Not Function Properly When Setting Terminal Services Home Directory



The information in this article applies to:


  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server





SYMPTOMS

When you assign a Terminal Services Home Directory for a user through Active Directory Users and Computers or Local Users and Groups, the %USERNAME% variable does not function properly. For example, if a user's (for example, TESTUSER) Terminal Services Home Directory is assigned as X: \\server\share\%username%, when the user logs on, drive X is connected to \\server\share, but there is not a subfolder called TESTUSER.



STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows 2000.



MORE INFORMATION

If you type SET from an MS-DOS command prompt, HOMEDRIVE equals %SYSTEMDRIVE%, and HOMEPATH equals Documents and Settings\TESTUSER. In this case, TESTUSER's HOMEDRIVE should equal X: and HOMEPATH should equal TESTUSER.

Additional query words:

Keywords :
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Technology :


Last Reviewed: March 6, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.