Modify Windows Registry via Reg File

by , under Windows Batch

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 :

[code language=”bash”]regedit /S file.reg[/code]

file.reg

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