Reset Default Group Policy
I am trying to reset the default group policies, Default Domain Controllers Policy and Default Domain Policy.
When I run the dcgpofix /target:both (with or without /ignoreschema) I get the prompts "You are about to restore Default Domain Policy and Default Domain Controller Policy for the following domain XXXXX.local as well as "This operation will replace all 'User Rights Assignments' made in the chosen GPOs. This might cause some server applications to fail. Do you want to continue" in which I choose Y for both.
It tries to run but then fails saying "Unable to delete the file or directory E:\Windows\SYSVOL\sysvol\XXXXX.local\Policies{31B2F340-016D-11D2-945F-00C04FB984F9}\USER\Preferences\ScheduledTasks"
If I try them one at a time (/target:dc or /target:domain) I get the same error for domain but for /target:dc it says "Unable to delete the file or directory E:\Windows\SYSVOL\sysvol\XXXXX.local\Policies{6AC1786C-016F-11D2-945F-00C04FB984F9}\MACHINE\Microsoft\Windows NT*."
I've tried going to the delegation in the GPMC as well as ADSI edit and adding specific permissions to my user account to no avail. The account I am using as a full domain/enterprise administrator.
I'm not sure what else to try here. I need to restore these policies. The OS is Server 2019 Standard.
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more