Dcgpofix

Updated: April 17, 2012

Applies To: Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012, Windows 8

Recreates the default Group Policy Objects (GPOs) for a domain. For examples of how this command can be used, see Examples.

Syntax

 
 
 
DCGPOFix [/ignoreschema] [/target: {Domain | DC | Both}] [/?]

Parameters

 

Parameter

Description

/ignoreschema

Ignores the version of the Active Directory® schema mc

when you run this command. Otherwise, the command only works on the same schema version as the Windows version in which the command was shipped.

/target {Domain | DC | Both}

Specifies which GPO to restore. You can restore the Default Domain Policy GPO, the Default Domain Controllers GPO, or both.

/?

Displays Help at the command prompt.

Remarks

 
  • The dcgpofix command is available in Windows Server 2008 R2 and Windows Server 2008, except on Server Core installations.

  • Although the Group Policy Management Console (GPMC) is distributed with Windows Server 2008 R2 and Windows Server 2008, you must install Group Policy Management as a feature through Server Manager.

Examples

 

Restore the Default Domain Policy GPO to its original state. You will lose any changes that you have made to this GPO. As a best practice, you should configure the Default Domain Policy GPO only to manage the default Account Policies settings, Password Policy, Account Lockout Policy, and Kerberos Policy. In this example, you ignore the version of the Active Directory schema so that the dcgpofix command is not limited to same schema as the Windows version in which the command was shipped.

 
 
dcgpofix /ignoreschema /target:Domain

Restore the Default Domain Controllers Policy GPO to its original state. You will lose any changes that you have made to this GPO. As a best practice, you should configure the Default Domain Controllers Policy GPO only to set user rights and audit policies. In this example, you ignore the version of the Active Directory schema so that the dcgpofix command is not limited to same schema as the Windows version in which the command was shipped.

 
 
dcgpofix /ignoreschema /target:DC

最新文章

  1. [shell]. 点的含义
  2. 每天一个linux命令(21):tar命令
  3. 说说Thread.Sleep(0)的那些奇怪的事
  4. js和jquery实现tab选项卡
  5. Finding Nemo(bfs)
  6. C#--方法的参数类型
  7. CCNP路由实验(2) -- OSPF
  8. c++ 覆盖、重载、隐藏
  9. 正则匹配去掉字符串中的html标签
  10. jQuery整理笔记9----函数形式发展
  11. 用ajax对数据进行查看人员信息
  12. centos7防火墙导致不能访问的
  13. centos7安装jdk环境
  14. Modifying namespace in XML document programmatically
  15. C++中类的静态成员与实例成员的区别
  16. python容器数据类型的特色
  17. 在eclipse中编译调试ns3
  18. ASp.net中Froms验证方式
  19. 《JAVA与模式》之迭代器模式
  20. 【Cf #449 C】Willem, Chtholly and Seniorious(set维护线段)

热门文章

  1. 超链接显示网站 A,访问后进入网站 B
  2. Oracle Business Intelligence Enterprise Edition 12.2.1.2.0 Books
  3. Garmin APP开发之入门
  4. Java反序列化漏洞详解
  5. 部署JavaWeb时出现 If a file is locked,you can wait until
  6. 8. String to Integer
  7. 在maven项目中 配置代理对象远程调用crm
  8. webpack4简单入门
  9. Vscdoe技巧1
  10. 【C++学习笔记】 链式前向星