Win7 reg.ini examples?
Hi there, I have a registry key modification I need to distribute to 30 PCs in a Windows 7 Enterprise lab environment. It appears that Windows 7 has regini.exe built-in, but I can't find any examples of how to use it to push a regkey out to several PCs. I'm comfortable using batch files. Say I have a regkey "example.reg" and I want to send this off to a Windows 7 PC \\pc01. Can I do this using regini, and if so, what's the correct syntax? If not, what tool can I use to do this sort of thing. I'm logged on as a user with admin privs, and yes I'm aware of all the usual warnings about editing the registry. regini -m \\pc01 ???? Thanks for any help! Sir_timbit
September 18th, 2010 4:30pm

If you have a domain controller/active directory in place, which if not in place you really should have, you can use Group Policy Preferences to distribute any registry settings to these 30 machines centrally.Blogging about Windows for IT pros at www.theexperienceblog.com
Free Windows Admin Tool Kit Click here and download it now
September 19th, 2010 2:40am

From what I've read, that seems to require Windows 2008 or 2008 r2. I still have Windows 2003 Server. Exactly where in GPP do you go to perform registry changes? I've installed the add-on for my local Windows 7 Professional box, but I don't see anything obvious for doing registry changes. This is why I'd prefer to use regini if I could just find some practical examples on how to use it. How can you use GPP to distribute registry settings to remote machines? Can you give me an example?
September 19th, 2010 11:25pm

That is a very common misconception, actually all you need is a Windows 7 client on which you install RSAT (Remote Server Administration Tools) and then create or manage a GPO object from the Group Policy Management Tools on the Windows 7 machine. The GPO Preferences settings will work in environments where you only have domain controllers on Windows Server 2003. When you create the GPO (doamin GPO) and edit it, you will see two root choices for each User configuration and Computer configuration, one Policies and one Preferences. Under the Preferences section you have the possibility to add either user registry settings or computer registry settings (depending on where the registry settings you want to change are located). You can add or change specific values och include an entire registry hive of keys and values.Blogging about Windows for IT pros at www.theexperienceblog.com
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 8:38am

You can do this in (at least) two ways: Command line: reg add HKLM\Software\Company\Whateverkey /v Value /d Data [/t Type, i.e. REG_DWORD] Or file: Paste the following into a file called something.reg and run the command "regedit /s something.reg" Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Company\Whateverkey] "Value"=dword:00000001 "Value"="Data"
September 20th, 2010 9:29am

Thanks for both responses. I went with reg add as that was the quickest solution for me at the moment, but I'll play with GPP as time permits.
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2010 10:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics