Solved

Registry Changes through a GPO

Posted on 2010-08-27
4
652 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
ID: 33543840
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 33543867
0
 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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