1

There is a software tweak that I have to make for all users on a terminal server system, that is not available to me as a group policy option, but which exists as a key in regedit under HKEY_CURRENT_USER\SOFTWARE.

If I was willing to write some code (making this no longer a pure IT question) I suppose I could somehow reverse engineer which HKEY_USERS keys are for which users that need the fix.

To save me from logging in as 10 users on a terminal server and just double clicking a .reg file, is there some tool I could use, that will "deploy a registry change to HKEY_CURRENT_USERS for a set of users on a single machine"?

MadHatter
  • 78,442
  • 20
  • 178
  • 229
Warren P
  • 1,195
  • 7
  • 20
  • 35

3 Answers3

2

If the server is Windows Server 2008, Windows Server 2008 R2 or Windows Server 2102 you can create a local Non-Administrators group policy object that will apply to all non-administrators logging on to the server. You should be able to deploy the REG file in a logon script.

joeqwerty
  • 108,377
  • 6
  • 80
  • 171
1

you can via GPO have the machines in question run a script that pushes the staged regkey you want to those machines.

DRO
  • 11
  • 4
1

create a key (String Value) in HKCU\Software\Microsoft\Windows\CurrentVersion\Run and point it to a batch file that says:

@ECHO OFF
IF EXIST %userprofile%\reg_ran exit
C:\directoryAllCanAccess\regfile.REG
echo "It Ran" >> %userprofile%\reg_ran

Or just point HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce directly to the C:\directory_all_can_access\REG file, I think that would work too.