3,196 questions

Sort by: Updated
2 answers

Authoritative Windows API clarification requested: can a VOLUME_NAME_NT root path be reopened by user-mode NtCreateFile?

I am seeking an authoritative Windows API contract clarification rather than observed behavior on one machine. For a user-mode Windows desktop application on a local fixed NTFS or ReFS volume: CreateFileW opens the filesystem root directory using the…

Windows development | Windows API - Win32
asked 2026-11-18T06:15:16.2933333+00:00
Ashish Sharma 0 Reputation points
commented 2026-11-25T02:38:16.1633333+00:00
Nguyen Dam (WICLOUD CORPORATION) 1,750 Reputation points Microsoft External Staff Moderator
2 answers

technical support ticket for Windows 11 filesystem API behaviour.

Hello Microsoft Support, I am requesting assistance with opening a technical support ticket for Windows 11 filesystem API behaviour. We are developing a Windows application and require an authoritative clarification concerning the Microsoft NtCreateFile…

Windows development | Windows API - Win32
asked 2026-11-17T18:15:26.79+00:00
Rock Haywood 0 Reputation points
commented 2026-11-25T02:28:51.8866667+00:00
Harry Nguyen (WICLOUD CORPORATION) 865 Reputation points Microsoft External Staff Moderator
1 answer

Windows 11 PSEC API returns 0x80070002 under session-0 batch logon — request for Windows engineering guidance.

Hello, I'm requesting technical guidance regarding the native Windows CreateProcessSecurityEnvironment API, exported by processmodel.dll. We previously submitted a detailed investigation to the Microsoft MXC…

Windows development | Windows API - Win32
asked 2026-11-20T15:36:53.13+00:00
DJones 0 Reputation points
commented 2026-11-25T02:27:01.26+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
3 answers

NtCreateFile + OBJ_DONT_REPARSE: User-Mode Support and Leaf Reparse Point Handling

NtCreateFile: Is OBJ_DONT_REPARSE supported for user-mode, handle-relative directory opens, including the final path component? We are evaluating a security-sensitive Windows directory traversal design and need clarification of the documented contract…

Windows development | Windows API - Win32
asked 2026-11-17T11:50:51.5+00:00
soner peker 0 Reputation points
commented 2026-11-25T02:24:58.9466667+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
1 answer

Why does Windows decode AVIF 4:4:4 with matrix_coefficients=0 correctly at 8 bpc but incorrectly at 10/12 bpc?

Question Why does the Windows AVIF decoder handle matrix_coefficients = 0 (MC_IDENTITY, full range) correctly at 8 bits per channel, but produce wrong colours at 10 and 12 bpc? Is the identity path above 8 bpc simply not implemented, or is there a…

Windows development | Windows API - Win32
asked 2026-11-13T19:58:50.34+00:00
luoye-cpu 5 Reputation points
commented 2026-11-25T02:23:11.7033333+00:00
Harry Nguyen (WICLOUD CORPORATION) 865 Reputation points Microsoft External Staff Moderator
1 answer

Does Windows 11 26H2 allow TPM2_NV_Extend through TBS for a virtual service account?

On Windows 11 26H2 (OS build 26300.10075, tpm.sys file version 10.0.26100.9549), the TPM lists TPM2_NV_Extend (0x00000136) in its TPM2_GetCapability response for TPM_CAP_COMMANDS. I am considering a Windows service running under its own virtual account,…

Windows development | Windows API - Win32
asked 2026-11-20T17:40:53.0966667+00:00
ilan golan 0 Reputation points
commented 2026-11-25T02:12:55.04+00:00
Harry Nguyen (WICLOUD CORPORATION) 865 Reputation points Microsoft External Staff Moderator
2 answers

Supported least-privilege ACL contract for persisted ECDSA keys in Microsoft Software KSP

Environment An isolated Hyper-V Windows test guest, using a LocalService service with its specific enabled/restricted service SID. Machine-scoped persisted ECDSA P-256 key; Microsoft Software Key Storage Provider; Signing usage; ExportPolicy.None. The…

Windows development | Windows API - Win32
asked 2026-11-22T00:32:17.4+00:00
Marco Silveira 0 Reputation points
commented 2026-11-25T01:32:13.7833333+00:00
Marco Silveira 0 Reputation points
3 answers

Microsoft Software KSP: NCryptOpenKey returns NTE_BAD_KEYSET after successful NCryptFinalizeKey with protected DACL

I am investigating a Windows CNG key-access issue using the Microsoft Software Key Storage Provider on Windows 11. Problem A non-production ECDSA P-256 machine key is successfully created, configured, finalized, and read back using its original key…

Windows development | Windows API - Win32
asked 2026-11-24T17:43:12.7033333+00:00
Agnel Vanjare 0 Reputation points
answered 2026-11-24T17:49:51.33+00:00
Agnel Vanjare 0 Reputation points
1 answer

Does ActiveProcessLimit=0 synchronize in-flight Windows Job Object assignments?

I am investigating a Windows Job Object process-lifecycle synchronization question involving JOB_OBJECT_LIMIT_ACTIVE_PROCESS. Environment: Windows build 26200. The intended compatibility baseline includes Windows 10 and Windows Server 2016 or…

Windows development | Windows API - Win32
asked 2026-11-23T14:24:54.5366667+00:00
Kenster 0 Reputation points
commented 2026-11-24T12:56:55.5633333+00:00
Kenster 0 Reputation points
2 answers

Does user-mode NtCreateFile support OBJ_DONT_REPARSE with RootDirectory for secure directory creation on Windows 11?

Dear Microsoft Windows Developer Support Team, We are designing a local Windows service architecture that requires secure creation of a new directory inside an existing, verified filesystem directory. Our target environment is Windows 11 Home 26H2, x64,…

Windows development | Windows API - Win32
asked 2026-11-19T18:21:31.8133333+00:00
immobiliare savelli 0 Reputation points
commented 2026-11-24T11:12:18.26+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
1 answer

WM_DDE_INITIATE not forwarded by DefSubclassProc to 32-bit ANSI window procedure

On Windows 11 25H2 build 26200.9974, a controlled test with two 32-bit ANSI windows shows different handling of WM_DDE_INITIATE when SetWindowSubclass is used. Reproduction: Create two otherwise equivalent ANSI windows in a 32-bit process and subclass…

Windows development | Windows API - Win32
asked 2026-11-23T17:35:56.63+00:00
Christophe Carron 0 Reputation points
commented 2026-11-24T11:01:15.3+00:00
Christophe Carron 0 Reputation points
1 answer

Supported Windows 11 integration for remote assistance at the physical console lock screen

We develop a signed Windows desktop app for remote assistance. An administrator installs its service and explicitly enables unattended access on the device. An authorized operator connects to the physical console through an outbound Internet connection.…

Windows development | Windows API - Win32
asked 2026-11-23T12:41:12.69+00:00
Javi Piqueras 0 Reputation points
commented 2026-11-24T10:59:03.06+00:00
Javi Piqueras 0 Reputation points
1 answer

Windows 11: Job Object inheritance when the creator terminates inside CreateProcessW

We are reviewing the supported Win32 process lifecycle guarantees for the following scenario. A trusted process S is already a verified member of an outer Job Object J_G before it is permitted to create untrusted child processes. J_G has…

Windows development | Windows API - Win32
asked 2026-11-19T06:15:41.6566667+00:00
Peter Geyer 20 Reputation points
commented 2026-11-24T10:56:38.5133333+00:00
Taki Ly (WICLOUD CORPORATION) 5,805 Reputation points Microsoft External Staff Moderator
2 answers

Supported completion barrier for interrupted CreateProcessW with PROC_THREAD_ATTRIBUTE_JOB_LIST

Hello, I am seeking authoritative clarification about Windows process-creation and Job Object semantics, specifically when a process creator exits or becomes unavailable while CreateProcessW is in progress. Background We are designing a native Windows…

Windows development | Windows API - Win32
asked 2026-11-24T09:56:04.5566667+00:00
CiS 0 Reputation points
answered 2026-11-24T10:54:37.8633333+00:00
Tony Thach (WICLOUD CORPORATION) 1,445 Reputation points Microsoft External Staff Moderator
1 answer

Resource-bound guarantees for Windows CNG/Authenticode verification

We need implementation-specific documentation supporting conservative resource reservations before any candidate read or provider initialization. This is an evidence inquiry, not a request to install, execute or change Windows settings. Scope is only…

Windows development | Windows API - Win32
asked 2026-11-19T01:41:05.95+00:00
Antoine Bourbeau-Callender 0 Reputation points
commented 2026-11-24T09:10:52.2333333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
2 answers

Which Defender API confirms inspection of a specific file revision and when callbacks have finished?

For Microsoft Defender Antivirus platform 4.18.26100.4-0, which supported local API can an unelevated Windows desktop app use to determine whether Defender inspected the exact file revision it submitted? MpScanStart documents scan completion,…

Windows development | Windows API - Win32
asked 2026-11-18T17:59:54.8133333+00:00
Jeremiah ‎DiPilato 0 Reputation points
commented 2026-11-24T09:10:27.0433333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
2 answers

Can a Windows service show the physical sign-in screen after Win+L and before the first sign-in after a restart, without RDP?

We develop OMS Assist, a 64-bit Windows remote support application. An administrator installs our service on managed devices and explicitly enables unattended access. We want an authorized technician to see the same live image that someone standing in…

Windows development | Windows API - Win32
asked 2026-11-21T16:15:52.3766667+00:00
Okan Murat SÖNMEZ 0 Reputation points
commented 2026-11-24T09:03:31.04+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
1 answer

Windows/NTFS: What supported user-mode API can durably persist directory entries without flushing the volume root?

I am looking for a supported Windows API or documented call sequence that allows a standard, non-elevated user-mode application to durably persist filesystem namespace changes on local NTFS, without opening or flushing the volume root directory. Use…

Windows development | Windows API - Win32
asked 2026-11-21T09:56:29.9166667+00:00
tkm 0 Reputation points
commented 2026-11-24T08:47:14.02+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator
2 answers

GetTokenInformation(TokenIsLessPrivilegedAppContainer) returns error 87 on Windows 11 26H2

I'm investigating how to verify that a newly created child process is running as a Less Privileged AppContainer (LPAC) before calling ResumeThread. Environment Windows 11 26H2, build 26300.9457, running in a Hyper-V guest. Standard non-elevated…

Windows development | Windows API - Win32
asked 2026-11-19T23:38:14.3233333+00:00
Alexander Vardi 0 Reputation points
commented 2026-11-24T07:25:46.3766667+00:00
Tony Thach (WICLOUD CORPORATION) 1,445 Reputation points Microsoft External Staff Moderator
1 answer

Microsoft Software KSP: generic access-right mapping for persisted CNG keys and export-policy changes after finalization

We are qualifying a Windows service in an isolated laboratory and need clarification about the documented security contract of the Microsoft Software Key Storage Provider. Configuration and required policy Persisted, machine-scoped ECDSA P-256 key. …

Windows development | Windows API - Win32
asked 2026-11-19T02:51:53.23+00:00
Marco Silveira 0 Reputation points
commented 2026-11-24T06:08:34.01+00:00
Gatlin Le (WICLOUD CORPORATION) 1,495 Reputation points Microsoft External Staff Moderator