@echo off REM pcdmis-probe-debug.bat - find why custom probes don't show in PC-DMIS. REM REM *** RUN AS THE OPERATOR (the account that launches PC-DMIS), NOT elevated. *** REM The probe search path + VirtualStore are per-user, so it must run in that REM account to see the right view. Machine-wide ProgramData/ACLs are read anyway. REM REM Output: C:\Logs\CMM\pcdmis-probe-debug--.txt setlocal set "HERE=%~dp0" echo. echo Running PC-DMIS probe debug as %USERDOMAIN%\%USERNAME% ... echo (If the title bar says Administrator, STOP - run as the operator instead.) echo. powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%HERE%pcdmis-probe-debug.ps1" echo. echo --------------------------------------------------------------- echo Done. Collect C:\Logs\CMM\pcdmis-probe-debug-*.txt echo --------------------------------------------------------------- pause