Skip to content

Commit

Permalink
refactor: move troubleshooting/diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta committed Oct 20, 2023
1 parent 5a40d73 commit 02e4aec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ for %%a in (
choice /c:yn /n /m "Would you like to disable Diagnostic Policy Service (DPS)? Note: It breaks Data Usage page in Settings [Y/N] "
if %errorlevel% == 1 call setSvc.cmd DPS 4

:: Disable DiagLog autologger
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v "Start" /t REG_DWORD /d "0" /f > nul

echo Finished, please reboot your device for changes to apply.
pause
exit /b
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
call setSvc.cmd DPS 2
call setSvc.cmd WdiServiceHost 3
call setSvc.cmd WdiSystemHost 3
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v "Start" /t REG_DWORD /d "1" /f > nul

echo Finished, please reboot your device for changes to apply.
pause
Expand Down

0 comments on commit 02e4aec

Please sign in to comment.