Solved

Registry Changes through a GPO

Posted on 2010-08-27
4
645 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
  • 2
4 Comments
 
LVL 63

Expert Comment

by:SysExpert
Comment Utility
0
 
LVL 63

Expert Comment

by:SysExpert
Comment Utility
0
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
Comment Utility
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
Comment Utility
Worked like a charm.  

Thanks,
0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now