title: Using wildcard entries to edit registry using a batch file
body: <p>I am trying to create a batch file to edit</p>
  <pre><code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_04B5&amp;PID_0680&amp;MI_00\8&amp;3AFFB273&amp;0&amp;0000\Device Parameters\SensorPermissions
  S-1-1-0 
  </code></pre>
  <p>I would like to set it from 00000000 to 00000001</p>
  <p>I am setting this up for multiple machines as part of a ghost image however <code>8&amp;3AFFB273&amp;0&amp;0000</code> is a different reg entry on each individual machine, is there any way I can put a wild card in to bypass this section?</p>
  <p>Here is my .reg file</p>
  <pre><code>Windows Registry Editor Version 5.00
  
  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_04B5&amp;PID_0680&amp;MI_00\8&amp;3AFFB273&amp;0&amp;0000\Device Parameters\SensorPermissions]
  &quot;S-1-1-0&quot;=dword:00000001
  </code></pre>
  <p>This is my batch file</p>
  <pre><code>echo off
  regedit /s 'c:\users\user\desktop\regfile.reg' 
  shutdown /r /t 60
  </code></pre>