From eb5b7e8bcaeb2cfb66e4970f1daa7707c9061ff9 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Thu, 13 Jun 2024 20:45:52 +0100 Subject: [PATCH] feat(procexp): prompt for pcw service --- .../Process Explorer/Install Process Explorer.cmd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Process Explorer/Install Process Explorer.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Process Explorer/Install Process Explorer.cmd index 1d506fe1ac..43e5084533 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Process Explorer/Install Process Explorer.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Process Explorer/Install Process Explorer.cmd @@ -31,9 +31,13 @@ if %ERRORLEVEL% NEQ 0 ( echo Configuring Process Explorer... :: Run Process Explorer only in one instance reg add "HKCU\SOFTWARE\Sysinternals\Process Explorer" /v "OneInstance" /t REG_DWORD /d "1" /f > nul -sc config pcw start=disabled > nul reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe" /v "Debugger" /t REG_SZ /d "%windir%\AtlasModules\Apps\ProcessExplorer\procexp.exe" /f > nul +echo The 'pcw' service in Windows is needed for Task Manager and performance counters. +echo Disabling it matters less as you have Process Explorer, but software and Windows might have unexpected issues. +choice /c:yn /n /m "Would you like to disable it? [Y/N] " +sc config pcw start=disabled > nul + echo] echo Finished, changes have been applied. pause