Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Registry Changes through a GPO

Posted on 2010-08-27
4
Medium Priority
?
667 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 57

Accepted Solution

by:
Mike Kline earned 2000 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

877 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