@echo off REM gocmm-debug.bat - launcher for gocmm-debug.ps1 REM REM *** RUN THIS AS THE OPERATOR (the locked-down shop-floor user). *** REM *** DO NOT right-click "Run as administrator" - that hides the bug. *** REM REM Reproduces the goCMM "Requested registry access is not allowed" error and REM dumps the goCMM registry key's ACL so we can confirm the lockdown stripped REM the BUILTIN\Users write grant. Output lands in C:\Logs\CMM\. setlocal set "HERE=%~dp0" echo. echo Running goCMM debug as %USERDOMAIN%\%USERNAME% ... echo (If you see "Administrator: ..." in this window title, STOP - run as the operator instead.) echo. powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%HERE%gocmm-debug.ps1" echo. echo --------------------------------------------------------------- echo Done. Collect everything under C:\Logs\CMM\ (the .txt and .reg). echo --------------------------------------------------------------- pause