Set a registry key for the default user template
If you want to set a registry key in HKEY_CURRENT_USER for all users, you can do this with GPO, or by writing a batch file which runs at startup and checks the registry for every user.
But there is also an other way (for new users).
Key: HKCU\Software\SAP\General Name: Language Value: EN (REG_SZ)
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\temp\Software\SAP\General] "Language"="EN"
reg load HKLM\temp c:\users\default\ntuser.dat reg import %~dp0SAP.reg reg unload HKLM\temp
Now when a new user logs in, he gets a copy of the registry of the default user and has the key set in his own tree. :-)
Was this article helpful? Then please donate to keep The IT Community alive...
If you found this article helpful please share it, comment and help others by writing your own article.
Translate this page:
Articles found in the same category: