Modify Windows Registry via Reg File

Every windows system admin may need to work with registry for some purposes. At least, all group policies or most installed programs make modifications in it.
To make changes in registry, “regedit” command is rather helpful. It also opens a gui if run without parameter. However, for bulk or repeating modifications, using a file can be better. Here is how to make use of it :

regedit /S file.reg

file.reg

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers]
[HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers]
[HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\AddIns]
[HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\AddIns\RDPDR]

For detailed info, please check this link:
https://support.microsoft.com/en-us/help/310516/how-to-add,-modify,-or-delete-registry-subkeys-and-values-by-using-a-.reg-file

Advertisements