If you would have followed best practices, rather than modifying these GPOs, you would have created new custom GPOs and linked them to the relevant containers. In any case, if you’ve already modified these GPOs and want to restore the default content, follow these steps:

Log on as a domain administrator to a domain controller (DC).Open a command prompt (Start –> Run –> CMD).Reset the GPO(s).To reset the Domain GPO, type: dcgpofix /target:DomainTo reset the Default DC GPO, type: dcgpofix /target:DCTo reset both the Domain and Default Domain Controller GPOs, type: dcgpofix /target:bothAfter you enter the appropriate command for reseting, enter Y to both prompts.Close the command prompt.

If you type the command dcgpofix /target:both, you should expect to see the following output: