I am looking for some insight here as I am by far no expert in writing.vbs or .bat file scripts. I have a situation where I am looking to add a DWord value to 2 seperate registry keys:
I am looking to push this out through a logon script in a GPO however I have not had much success in doing this. I am wondering if it has something to do with either the fact that it is a HKEY_CURRENT_USER vs a HKEY_LOCAL_MACHINE or maybe it has something to do with permissions.
I have created (let me rephrase, copied) a .bat file which looks like:
regedit /s DisableAutoStartup.reg
regedit /s ExchangeAddressDetect.reg
Any insight on this would be greatly appreciated as I am trying to meet a deadline.