Distributing Registry Changes with .reg file

You can send a .reg file to users in an e-mail message, put a .reg file on a network share and direct users to the network share to run it, or you can add a command to the users’ logon scripts to automatically import the .reg file when they log on. When users run the .reg file, they receive the following messages:

Registry Editor
Are you sure you want to add the information in path of .reg file to the registry?

If the user clicks Yes, the user receives the following message:

Registry Editor
Information in path of .reg file has been successfully entered into the registry.

Regedit.exe supports a /s command-line switch to not display these messages. For example, to silently run the .reg file (with the /s switch) from a login script batch file, use the following syntax:

regedit.exe /s path of .reg file

You can also use Group Policy or System Policy to distribute registry changes across your network. For additional information, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms954395.aspx

Note If the changes work, you can send the registration file to the appropriate users on the network.

 

Reference: How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file

Leave a Reply

Your email address will not be published. Required fields are marked *