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]


For detailed info, please check this link:,-modify,-or-delete-registry-subkeys-and-values-by-using-a-.reg-file