Enforcing the group policy,

Posted on 2006-04-14
Last Modified: 2011-11-19
Suppose that in a Windows machine you have set up a group policy and then you would like enforcing the group policy immediately , what command should you use?

I believe that once you set up the group policy there might be a delay after you click2 on the policy, so I guess that you need type a command to enforce it immediately.
Question by:kecoak
    LVL 48

    Accepted Solution

    Hi kecoak,

    from a client and on the server

    gpupdate /force    thats for xp  and 2003
    secedit /refreshpolicy user_policy /enforce   thats for 2000

    LVL 48

    Expert Comment


    sometimes a computer policy will take a couple of reboots to enforce though - just takes a little while to modify registry settings

    Author Comment

    how about for windows 2003?
    I can't get the secedit /refreshpolicy to work

    LVL 15

    Expert Comment

    W2K3 uses gpupdate..
    LVL 48

    Expert Comment

    thats what i wrote above

    gpupdate /force  for 2003 and xp machines

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    It is a known fact that servers reach the end of their lives. Some get there quicker than others, based on age, manufacturer, usage and several other factors. However, if your organization has spent time deploying Microsoft's Active Directory server…
    Learn about cloud computing and its benefits for small business owners.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    760 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

    9 Experts available now in Live!

    Get 1:1 Help Now