LoginScript that changes \HKCU\Software\Policies\Microsoft\

Posted on 2004-11-08
Last Modified: 2011-04-14
I need to make this change to everyones KHCU.


So that their Outlook looks for the template in Public Folders, so that we can change the security settings.

Currently I'm asking them to log out, then I do a remote manange, add them to the admin group, they log in and run the reg key. Then they log out, and then I remote them from the admin group before they log in again. I've only done a few this way, since it was critical that their Outlook security settings was lowered.

I have read something about how you can do these things via Group Policy, but I can't seem to get that to work.
And the users just get a Access Denied to the registry when they try to add the reg key themselves without having
admin rights.

I thought about using the "run-as" feature, but I don't want to post any passwords in any login script files.

I started to look at making custom policy files, which might be the solution.

If anyone has any idea to what I can do here, that would be great.

Question by:TubeDriven
    1 Comment
    LVL 70

    Accepted Solution


    I thought that one downloaded with a Policy Template to allow you to enable it in GPO. Still, if not this one will handle it for you - Just save it as Office.adm (or something similar):


        CATEGORY "Microsoft Office"

            POLICY "Use Security Settings from the Exchange Server"

                KEYNAME "Software\Policies\Microsoft\Security"

                VALUENAME "CheckAdminSettings"
                VALUEON NUMERIC 1
                VALUEOFF NUMERIC 0

            END POLICY


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Server 2008 DHCP replication 12 53
    Massive network latency 1 37
    Offline files query 1 29
    ip address(es) of current connection? 27 64
    There are several problems reported according slow link speeds or poor performance in TMG 2010, UAG 2010 or ISA 2006. I want to collect here some of the common issues together to give a brief overview what can be the reason. Nevertheless, not all of…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 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

    15 Experts available now in Live!

    Get 1:1 Help Now