Link to home
Start Free TrialLog in
Avatar of RFExpert
RFExpert

asked on

HKCU registry hive does not follow user with roaming profile.

We have an application that uses a registry setting in the HKCU hive.  We want to set the users up with roaming profiles so that no matter which PC they log into, they will still have the same settings for this app.

I thought that with Windows 2000, the HKCU would follow a roaming profile.  That does not happen.
Avatar of sweatbeast
sweatbeast

HKCU should follow the user by default - presumably you have defined a valid profile path for the user in AD?
Avatar of RFExpert

ASKER

We have a valid profile path in active directory.
profiles do not change anything in the registry so the fact that you have roaming profiles is irrelevant.  That being said, if you change a setting in HKCU on computer1 for user1 and then user1 logs into computer2, there is no mechanism built into the OS to carry that registry change you made in compter1 to computer2. Sorry sweatbeast but i dont know what you are talking about when you say that HKCU follows users. Registry settings are local.  Say a user logs into 10 pcs on the network named pc 1 thru 10 and then one day t decide to log into PC 11, which one of the other 10 PCs would pc 11 pull the registry settings from??? would it just "guess"? of course not.  And say we are talking about the situation we have here where RFExpert made the registry change on one PC... how would future logins on other PCs "know" that the change made is correct? why would it pull the registry change off of that PC and not one of the other PCs that the user has logged onto in the past??  If it "follows" the user like you say,  what would happen if the PC that the user logged onto last was turned off? would the user just not get an HKCU registry key at all then?  HKCU following a user brings up alot of problems/issues doesn't it?  the reason is simple, it doesn't follow the user at all. test it out for yourself and you'll see if you make a change on one PCs HKCU and then log into another PC it won't be there, (b/c it doesn't follow)

to solve the problem at hand you have 3 options

1.  change it manually
2.  change it via a script somehow on all the PCs
3.  find some way to synch HKCU.  Ive never heard about this being done and this brings up many issues that ive mentioned above.
If the user logs out and in again does HKCU persist?
ASKER CERTIFIED SOLUTION
Avatar of sweatbeast
sweatbeast

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Could some policy be involved?

This could be applied via local policy or via AD at the site, domain or OU level.

From XP I use A MS tool, rsop.msc, to find out the 'Resulting Set of Policy'
for a user, logged on to a named machine.
the user was not logging off properly.