Link to home
Start Free TrialLog in
Avatar of HalCHub
HalCHubFlag for United States of America

asked on

hku/hkcu values source windows 7

When I new user logs into a Win7 system for the first time  on a domain system are there a source registry records used as a template to create hku/hkcu

thanks
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

hkey_users\.default
It pulls from NETLOGON\Default User on the DC first.  If this does not exist, it pulls HKCU from C:\users\default user.
Avatar of HalCHub

ASKER

is there a way to set registry items via the GPO for a user on a specific machine.

We have some software that uses the registry for its setting and multiple people can log into a desktop.  Depending upon which desktop they are at I need to set a workstation id and all users at that desktop would have the same workstation id.

The registry item is saved in hkcu and not hklm
you would need a group policy and a script that will assign a workstation id to a %computername%  and then add this to the registry.
Avatar of HalCHub

ASKER

David

Can you please explain further ?
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

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
Avatar of HalCHub

ASKER

other than %computername% how can I retrieve other environment variables for a workstation at the time of login ?
at a command prompt type 'set' and you will see the list of environmental variables