bob_kochanski
asked on
Registry Changes through a GPO
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:
HKEY_CURRENT_USER\Software \Microsoft \Office\12 .0\Outlook \Preferenc es
DWORD: ExchangeAddressDetect
Value: 0
HKEY_CURRENT_USER\Software \Microsoft \Office\12 .0\Outlook \AutoDisco ver
DWORD: DisableAutoStartup
Value: 1
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:
@ECHO OFF
regedit /s DisableAutoStartup.reg
regedit /s ExchangeAddressDetect.reg
cls
Any insight on this would be greatly appreciated as I am trying to meet a deadline.
Thanks,
HKEY_CURRENT_USER\Software
DWORD: ExchangeAddressDetect
Value: 0
HKEY_CURRENT_USER\Software
DWORD: DisableAutoStartup
Value: 1
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:
@ECHO OFF
regedit /s DisableAutoStartup.reg
regedit /s ExchangeAddressDetect.reg
cls
Any insight on this would be greatly appreciated as I am trying to meet a deadline.
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked like a charm.
Thanks,
Thanks,
https://www.experts-exchange.com/questions/21646655/Changing-the-registry-with-a-GPO.html
https://www.experts-exchange.com/questions/24465700/Deplying-registry-updates-via-GPO-issue.html
https://www.experts-exchange.com/questions/23499245/Help-with-Custom-GPO-and-registry-settings.html
I hope this helps !