How to Use %LOGONSERVER% to Distribute User ProfilesID: Q141714
|
If you want to specify a domain server that validates a user logon, use the environment variable %LOGONSERVER% in a PATH statement. This article describes how you can use %LOGONSERVER% to distribute user profiles.
Environment variables do not work in user profile paths unlike logon
scripts which are designed to run on the server that validates its logon
request. This makes it difficult to provide redundancy for user profiles.
When a user logs on, %LOGONSERVER% is defined and set to the name of the
validating computer. It is not propagated to a user's environment
variables prior to NT 4.0 SP3. Therefore, you cannot use the %LOGONSERVER%
environment variable in logon scripts before NT 4.0 SP3. For example, if
the user's profile path is %logonserver%\profiles\user1.man and the name
of the validating server is MYSERVER, the user profile path is set to
\\MYSERVER\profiles\user1.man. Therefore, if you maintain a copy of the
user profiles on each domain controller, users can access their user
profiles when the primary domain controller is unavailable. %LOGONSERVER%
is an undocumented environment variable.
When you specify a path statement for the user profile path, the following
entry in User Manager is valid:
%logonserver%\<share name>\<profile>.<usr or man>
NOTE: To simplify the maintenance of user profiles on multiple servers,
use Directory Replication to copy the user profiles from the primary
domain controller (PDC) to the backup domain controllers (BDCs).
Additional query words: prodnt sur
Keywords : kbnetwork ntdomain
Version : 3.5 3.51 4.0
Platform : winnt
Issue type :
Last Reviewed: February 3, 1999