Missing UIAccess on Windows 11 24H2 when started using short path names.
-
Build
uitest.exe. -
Sign
uitest.exe:signtool sign /f <certificate.pfx> /p <password> /fd SHA256 uitest.exe -
Create a new folder in the
C:\Program Filesfolder. Copyuitest.exeinto the newly created folder. -
Run Process Explorer. Right click the columns header and select Select Columns. Add the Integrity Level and UI Access columns.
-
Open an elevated command prompt and run:
"C:\Program Files\uitest\uitest.exe". Output:
integrity level: 3000
ui access: 1
Process Explorer shows "UI Access" in the UI Access column.
- Open an elevated command prompt and run:
"C:\PROGRA~1\uitest\uitest.exe". Output:
integrity level: 3000
ui access: 0
Process Explorer shows nothing in the UI Access column.