3,178 questions

Sort by: Updated
0 answers

CreateProcessW with JOB_LIST: guaranteed outcome if creator dies before PROCESS_INFORMATION is returned?

Environment: Windows Server 2025 x64 (AMD64), Win32 desktop APIs. I am looking for clarification of the supported Windows API contract when a process creating another process terminates unexpectedly inside CreateProcessW, before receiving a return value…

Windows development | Windows API - Win32
asked 2026-11-21T00:13:23.83+00:00
ThanhTrung 0 Reputation points
0 answers

Job object CPU rate control HARD_CAP: scheduling interval length and how to observe interval boundaries

I am trying to verify, with evidence, that a job object configured with JOB_OBJECT_CPU_RATE_CONTROL_ENABLE | JOB_OBJECT_CPU_RATE_CONTROL_HARD_CAP and CpuRate = 2500 never uses more than 25% of processor cycles in any scheduling interval. The job has no…

Windows development | Windows API - Win32
asked 2026-11-20T23:03:17.1633333+00:00
Alexander Vardi 0 Reputation points
1 answer

Supported user-mode NtCreateFile handle-relative directory traversal with reparse rejection and ancestor stability

Background I am evaluating a read-only user-mode Windows file acquisition mechanism for a fixed allowlist of regular files on a local NTFS volume. The objective is to open each pathname component relative to a previously validated directory handle,…

Windows development | Windows API - Win32
asked 2026-11-20T19:25:12.1933333+00:00
Arunagiri Subbiah 0 Reputation points
answered 2026-11-20T19:27:21.7966667+00:00

AI answer

0 answers

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
0 answers

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
1 answer

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-20T10:56:44.3033333+00:00
Harry Nguyen (WICLOUD CORPORATION) 860 Reputation points Microsoft External Staff Moderator
1 answer

Which OS version the system started pushing this WM_SETTINGCHANGE window message

When our app runs on a tablet, it is displayed in full-screen mode. The tablet comes with a docking station, and users can detach the tablet from the dock during use. Recently, due to changes in a specific OS version, the system pushes a WM_SETTINGCHANGE…

Windows development | Windows API - Win32
asked 2026-11-17T09:09:16.9733333+00:00
Xie Steven 831 Reputation points
edited a comment 2026-11-20T08:35:13.1933333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
1 answer

Supported Windows PowerShell 5.1 bootstrap in zero-capability LPAC with a private read-only registry view

We need to run the existing, unmodified x64 Windows PowerShell executable and its native PowerShell child inside LPAC with zero capabilities. The LPAC process exits before our script begins, reporting: “Cannot open registry key…

Windows development | Windows API - Win32
asked 2026-11-16T15:41:00.24+00:00
ali moghtaderi 0 Reputation points
commented 2026-11-20T08:35:00.7333333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
2 answers

Windows 11: TBS service missing with Error 1060 while TPM 2.0 is healthy

I am developing a Windows ERP security component that requires supported TPM 2.0 NV read/increment operations for monotonic anti-rollback protection. The TPM itself is healthy and ready, but: sc.exe qc TBS returns Error 1060: The specified service does…

Windows development | Windows API - Win32
asked 2026-11-20T06:26:12.3233333+00:00
GOVIND SINGH 0 Reputation points
answered 2026-11-20T08:19:22.9833333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 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
answered 2026-11-20T06:24:50.3266667+00:00
Nguyen Dam (WICLOUD CORPORATION) 1,740 Reputation points Microsoft External Staff Moderator
2 answers

Defender MpScanStart and proof of exact-file inspection and scan settlement

For an unelevated Windows desktop application scanning one harmless staged local file with Microsoft Defender Antivirus, is there a supported API or event that establishes which file revision was inspected and whether inspection was complete or the item…

Windows development | Windows API - Win32
asked 2026-11-19T22:30:22.3233333+00:00
Jeremiah ‎DiPilato 0 Reputation points
answered 2026-11-20T03:57:22.5833333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
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-20T03:17:00.77+00:00
Zack Nguyen (WICLOUD CORPORATION) 405 Reputation points Microsoft External Staff Moderator
1 answer

CreateProcessW + JOB_LIST: child lifetime if the caller terminates before the API returns

I am seeking clarification of the supported Windows API contract for one process-lifetime scenario. No orphaned process has been observed or reproduced; this is a documentation question. Assume the following valid setup: A user-mode caller creates an…

Windows development | Windows API - Win32
asked 2026-11-12T13:52:32.4233333+00:00
Mateusz Paradiuk 0 Reputation points
commented 2026-11-20T02:21:46.0333333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
2 answers

Does Windows 11 support exact-version activation for full-trust desktop MSIX?

On Windows 11 x64, a normal non-elevated desktop caller independently authorizes PackageFullName A and a manifest Application ID for a registered full-trust desktop MSIX staged in Windows-managed storage, with package integrity enforcement intended. The…

Windows development | Windows API - Win32
asked 2026-11-06T15:35:09.7366667+00:00
Tom Apperson 0 Reputation points
commented 2026-11-20T02:16:34.1166667+00:00
Harry Nguyen (WICLOUD CORPORATION) 860 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Is there a documented or configurable timeout for blocking Win32 print spooler APIs (OpenPrinter, WritePrinter, etc.) with network printers?

We use the Win32 print spooler APIs (OpenPrinter / OpenPrinter2W, StartDocPrinter, WritePrinter, GetPrinter, EnumPrinters, ClosePrinter) in a desktop application that works with network printers. The OpenPrinter documentation says that calls to a remote…

Windows development | Windows API - Win32
asked 2026-11-19T04:49:22.4366667+00:00
Rohan Pande 535 Reputation points
accepted 2026-11-19T18:22:18.37+00:00
Rohan Pande 535 Reputation points
2 answers

Windows 11 NTFS: SE_SACL_PROTECTED stays enabled after removing audit rule

Environment Windows 11, build 26300, NTFS. Elevated Windows PowerShell 5.1. SeSecurityPrivilege available in the elevated session. Security auditing enabled for File System. Problem I need to restore the original SACL inheritance protection state of an…

Windows development | Windows API - Win32
asked 2026-11-16T10:39:44.58+00:00
מרסלו גלר 0 Reputation points
commented 2026-11-19T11:00:59.7366667+00:00
Taki Ly (WICLOUD CORPORATION) 5,805 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-19T10:31:45.4033333+00:00
Harry Nguyen (WICLOUD CORPORATION) 860 Reputation points Microsoft External Staff Moderator
2 answers

Is a classic kernel Process End timestamp guaranteed to be no later than the process becoming signaled?

I am reviewing a preserved trace from a synthetic process lifecycle experiment. Does Windows provide a documented guarantee that the raw ETW Process End timestamp is no later than the instant when the corresponding process object becomes signaled? Please…

Windows development | Windows API - Win32
asked 2026-11-16T10:09:56.2733333+00:00
박 내석 0 Reputation points
commented 2026-11-19T08:54:11.4666667+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
2 answers

GetTokenInformation(TokenHasRestrictions): supported output type, valid bytes and applicability on Windows 11 25H2 x64 build 26200.9457

We are seeking an authoritative API-contract clarification, not asking to bypass a failed security check. The TOKEN_INFORMATION_CLASS documentation describes TokenHasRestrictions (class 21) as returning a DWORD. An existing saved invocation on the target…

Windows development | Windows API - Win32
asked 2026-11-15T04:30:46.1166667+00:00
OTAKU 0 Reputation points
commented 2026-11-19T08:47:57.4+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 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
edited an answer 2026-11-19T07:41:57.95+00:00
Harry Nguyen (WICLOUD CORPORATION) 860 Reputation points Microsoft External Staff Moderator