Created
October 11, 2022 09:50
-
-
Save manelrodero/ccc9bece319cf6f1fc559c158b2ec68a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: https://learn.microsoft.com/en-us/archive/blogs/askds/a-treatise-on-group-policy-troubleshootingnow-with-gpsvc-log-analysis | |
:: https://learn.microsoft.com/en-us/answers/questions/120736/gpos-not-applied-ad-group-issue.html | |
:: http://www.sysprosoft.com/policyreporter.shtml | |
echo GPO Debug Activation: | |
echo - Adding "GPSvcDebugLevel" registry key... | |
reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics" /v "GPSvcDebugLevel" /t REG_DWORD /d 0x00030002 /f > nul | |
if not exist "%windir%\debug\usermode" ( | |
echo - Creating %windir%\debug\usermode... | |
mkdir "%windir%\debug\usermode" | |
) | |
echo - Updating GPO... | |
gpupdate /force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment