Nelviticus
Programmer
I have 5.1 surround sound speakers connected to my PC but every time I re-start Windows the sound settings get changed back to stereo. I can manually change them to 5.1 and everything works fine - the speaker test successfully plays sounds from each one - but when I re-boot it's back to stereo again.
After a bit of experimenting with exporting registry keys before and after changing settings then running a differencing tool on the output, I have come up with a small .reg file with the 5.1 settings. If I manually merge this back into the registry after a re-boot it sets the speakers back to 5.1 again.
The problem is how to merge it automatically, since this triggers a UAC prompt. I tried creating a batch file to do it (regedit /s myfile.reg), then creating a shortcut to the batch file in the StartUp folder and giving the shortcut 'run as administrator' permissions (which itself required a registry entry). However this didn't work; the changes weren't merged in.
Any idea how this can be done? You can probably do it with Group Policy but I know absolutely zero about how that works.
Thanks
Nelviticus
After a bit of experimenting with exporting registry keys before and after changing settings then running a differencing tool on the output, I have come up with a small .reg file with the 5.1 settings. If I manually merge this back into the registry after a re-boot it sets the speakers back to 5.1 again.
The problem is how to merge it automatically, since this triggers a UAC prompt. I tried creating a batch file to do it (regedit /s myfile.reg), then creating a shortcut to the batch file in the StartUp folder and giving the shortcut 'run as administrator' permissions (which itself required a registry entry). However this didn't work; the changes weren't merged in.
Any idea how this can be done? You can probably do it with Group Policy but I know absolutely zero about how that works.
Thanks
Nelviticus