Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
Continue using a pinned Autorunsc 14.2 binary for SYSTEM-context inventory and report the 14.3 behavior to Microsoft/Sysinternals as a reproducible version-specific regression.
The command syntax is valid: -a * selects all autostart categories, while the final * selects all user profiles. Microsoft explicitly documents the final * for scanning every profile ^1^. Since 14.2 succeeds on the same machine and 14.3 fails for every profile—including named users—changing switch order or profile selection is not a useful next step.
Production workaround
Place 14.2 in a version-specific directory that NinjaOne does not update or overwrite. A separate directory prevents replacement only if the applicable NinjaOne deployment and update policies leave it unchanged.
The following example:
- verifies that the pinned executable exists;
- keeps CSV output separate from diagnostics;
- preserves Autorunsc’s exit code;
- returns
2if the pinned binary is missing.
Adjust the paths first, and ensure the output directory exists.
@echo off
setlocal
set "EXE=C:\Tools\Sysinternals\Autoruns-14.2\autorunsc64.exe"
set "OUT=C:\ProgramData\NinjaRMMAgent\autoruns.csv"
if not exist "%EXE%" (
echo Missing pinned Autorunsc 14.2: "%EXE%" 1>&2
exit /b 2
)
"%EXE%" -accepteula -nobanner -a * -s -h -c * >"%OUT%" 2>"%OUT%.err"
set "RC=%ERRORLEVEL%"
exit /b %RC%
Do not modify ProfileList, ProfileImagePath, or users’ NTUSER.DAT files as a workaround. The same profiles work with 14.2, so the available evidence does not establish damaged Windows profiles.
Confirm and capture the regression
Run one controlled test outside NinjaOne under SYSTEM. This separates Autorunsc behavior from any RMM-specific environment handling.
Capture the following for both 14.2 and 14.3:
$files = @(
'C:\Tools\Sysinternals\Autoruns-14.2\autorunsc64.exe',
'C:\Tools\Sysinternals\Autoruns-14.3\autorunsc64.exe'
)
Get-Item $files | Select-Object FullName,
@{N='Version';E={$_.VersionInfo.FileVersion}},
Length, LastWriteTime
Get-FileHash $files -Algorithm SHA256
Also record:
- Exact command line and execution identity (
NT AUTHORITY\SYSTEM). - Windows edition and build.
- Standard output, standard error, and exit code from each version.
- Whether both versions came from the same Microsoft download package.
- Confirmation that 14.3 also reproduces outside NinjaOne.
Version 14.3 changed Autorunsc to align its capabilities with the GUI, in addition to bug fixes, so the version boundary is relevant to the report ^2^.
Process Monitor evidence
If Microsoft requests deeper diagnostics, capture both executions with Process Monitor:
- Start Process Monitor as administrator.
- Add a filter: Process Name is
autorunsc64.exe→ Include. - Clear existing events.
- Run 14.3 as SYSTEM and reproduce the messages.
- Stop capture and save All events in native PML format.
- Repeat separately with 14.2.
Process Monitor records Registry and file-system operations, process identity, command line, user/session details, results, and thread stacks, making the paired traces suitable for finding the operation that differs between releases ^3^.
Escalation
Only Microsoft/Sysinternals can diagnose and correct an underlying Autorunsc 14.3 defect. Report it through a Microsoft support case or the official Microsoft Q&A Sysinternals channel, attaching:
- 14.2 and 14.3 output/error files;
- both file versions and SHA-256 hashes;
- Windows build;
- exact SYSTEM launch method;
- reproduction result outside NinjaOne;
- paired Process Monitor PML files.
No official release note currently identifies Error expanding profile path as a known 14.3 issue. Therefore, describe it as a reproducible suspected regression rather than a confirmed known bug.
References