# Setting list of registry values

**URL:** https://www.finalbuilder.com/forums/t/setting-list-of-registry-values/800
**Category:** Discussion
**Created:** [April 4, 2008, 5:10am UTC](https://www.finalbuilder.com/forums/t/setting-list-of-registry-values/800 "2008-04-04T05:10:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 4, 2008, 5:10am UTC](https://www.finalbuilder.com/forums/t/setting-list-of-registry-values/800/1 "2008-04-04T05:10:13Z")

</div>

Hi,

until now, we excecuted manually (with double-click) a \*.res file for to set 50 registry values into the registry.

We would like to automate this with FinalBuilder.

FinalBuilder has the functionality "Set Registry Value" under "Registry & Ini" but this allows only to set

one registry value.

It would be tedious to use the "Set Registry Value" functionality for each of the 50 values.

&nbsp;

Are there any other possibilities to set a long list with registry values with FinalBuilder?

&nbsp;

Thanks,

&nbsp;

Jens

&nbsp;

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [April 7, 2008, 3:01am UTC](https://www.finalbuilder.com/forums/t/setting-list-of-registry-values/800/2 "2008-04-07T03:01:32Z")

</div>

You can use a list iterator (that will iterate over a list of values, in your case registry keys), and then use the Set Registry Key as a child action of the iterator. You’ll need to define a variable to hold the current value of the iterator to use in the Set Registry action.   
  
 .t8

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [April 7, 2008, 5:19am UTC](https://www.finalbuilder.com/forums/t/setting-list-of-registry-values/800/3 "2008-04-07T05:19:06Z")

</div>

The other thing you may want to consider is to use the “Execute Program” action to run the program   
  
 %SystemRoot%\regedit.exe   
  
 with arguments   
  
 /S “C:\Path\To\Regfile.reg” (or similar)   
  
 … that will register the contents of the .reg file without prompting.   
  
 Regards,   
  
 Angus
