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
LVL 1
HalCHubAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
hkey_users\.default
0
Adam LeinssServer SpecialistCommented:
It pulls from NETLOGON\Default User on the DC first.  If this does not exist, it pulls HKCU from C:\users\default user.
0
HalCHubAuthor Commented:
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
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

David Johnson, CD, MVPOwnerCommented:
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.
0
HalCHubAuthor Commented:
David

Can you please explain further ?
0
David Johnson, CD, MVPOwnerCommented:
a script like the following
if %computername% = 'sample' then %id% = 1
if %computername% = 'sample1' then %id% =2
.....
REG ADD HKLU\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\%id%
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HalCHubAuthor Commented:
other than %computername% how can I retrieve other environment variables for a workstation at the time of login ?
0
David Johnson, CD, MVPOwnerCommented:
at a command prompt type 'set' and you will see the list of environmental variables
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.