Solved

Registry Changes through a GPO

Posted on 2010-08-27
4
662 Views
Last Modified: 2012-05-10
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\Preferences
DWORD: ExchangeAddressDetect
Value: 0
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
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,
0
Comment
Question by:bob_kochanski
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 33544082
So  notice you have 2008 listed.  Have  you looked at deploying your registry settings using group policy preferences?   You would not need the login script.
Thanks
Mike
0
 

Author Closing Comment

by:bob_kochanski
ID: 33560315
Worked like a charm.  

Thanks,
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question