A
A
Alexey K2020-04-23 14:14:33
System administration
Alexey K, 2020-04-23 14:14:33

How to apply modified Windows system settings via .reg file to all new user profiles?

There is a need to apply modified Windows system settings via .reg file to all new user profiles.
for example

Windows Registry Editor Version 5.00
; назначить смену раскладки на горячие клавиши cltrl+shift
[HKEY_USERS\.DEFAULT\keyboard layout\toggle]
"hotkey"="2"
; установить шрифт Consolas по-умолчанию для CMD
[HKEY_USERS\.DEFAULT\Console]
"FaceName"="Consolas"

These settings will not work and all newly created user accounts will get default settings.
Has the right to exist another possible option
Windows Registry Editor Version 5.00
; назначить смену раскладки на горячие клавиши cltrl+shift
[HKEY_LOCAL_MACHINE\keyboard layout\toggle]
"hotkey"="2"
; установить шрифт Consolas по-умолчанию для CMD
[HKEY_LOCAL_MACHINE\Console]
"FaceName"="Consolas"

but it won't work either and will probably give an error when trying to "Merge".
So, how to apply the modified Windows system settings through the .reg file to all new user profiles?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2020-04-23
@alexsupra

for example, such a funny crutch,
take the user's SID identifier from the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList list
, filter only real users from it according to
https://support.microsoft.com/ru-ru/help/243330/ we...
option 2: the "real" user's ProfileImagePath starts with C:\Users the technical one has other paths in life :)
from there you can get the username,
generate a reg-file
in which to make several copies of the necessary entries, in which to change "HKEY_USERS\" .DEFAULT" to "HKEY_USERS\%SID-ID of the desired_user%"
import the reg file from the Administrator.

F
foxyhunt, 2020-05-10
@foxyhunt

Such issues are resolved centrally through the gpo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question