Does it have to be a batch file?
Maybe you can use a .reg file?
or a .wsh file?