[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 127
  • Last Modified:

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
0
HalCHub
Asked:
HalCHub
  • 4
  • 3
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
hkey_users\.default
0
 
Adam LeinssCommented:
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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
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
 
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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now