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