RE: C#: How do I orce a server to refresh its list of security groups from an Active Directory.

From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 03/26/04

  • Next message: Federico Moschini [328594]: "Re: How to solve it ?"
    Date: Fri, 26 Mar 2004 02:57:40 GMT
    
    

    Hi James,

    Regarding the issue, you may create process in C# application to execute
    "SECEDIT". It can force a Group Policy to be refreshed Immediately. For
    more inforamtion on this, you may take a look at following article:

    Using SECEDIT to Force a Group Policy Refresh Immediately
    http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q227302

    Hope this help,

    Luke
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)


  • Next message: Federico Moschini [328594]: "Re: How to solve it ?"

    Relevant Pages

    • Re: Remove GP from machine that has been removed from AD
      ... Location of the log file - %windir%\security\logs ... Execute a gpupdate /force, verify you get the 1202 event, and post the log ... CCNA, MCSE 2000/2003 + Security ... My machine took the normal> Group Policy. ...
      (microsoft.public.windows.group_policy)
    • Re: Transferring local computer policy
      ... defining a security template, ... using the import capability of the Group Policy snapin ... > I had found the secedit command before. ... >>> consistent across all our learning center computers. ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Local Policy
      ... Hi Thomas, ... "secedit /refreshpolicy only updates the Group Policy ... It will not refresh any other ...
      (microsoft.public.win2000.security)
    • Re: gpupdate /force command for W2k?
      ... secedit /refreshpolicy machine_policy /enforce ... Mark Heitbrink - MVP Windows Server - Group Policy ... Blog: gpupdate.spaces.live.com - english ... You can refresh the whole domain, per OU, or a handful of computers. ...
      (microsoft.public.windows.group_policy)
    • Re: Easy way to map drives for a group of users?
      ... | so how do you get it to execute? ... | via group policy. ... it for easy access. ... the location and name of the login script which was located on a share on a local member ...
      (microsoft.public.windows.server.scripting)