6,752 questions

Sort by: Updated
1 answer

Documented JOB_LIST guarantees when the CreateProcessW caller terminates

I am designing a Windows 10 x64 process supervisor using Windows Job Objects. The intended implementation uses CreateProcessW with STARTUPINFOEX, EXTENDED_STARTUPINFO_PRESENT, and PROC_THREAD_ATTRIBUTE_JOB_LIST to assign a child process to a Job Object…

Windows development | Windows API - Win32
asked 2026-11-09T17:20:16.0333333+00:00
Branislav Lazic 0 Reputation points
commented 2026-11-13T02:21:52.7833333+00:00
Harry Nguyen (WICLOUD CORPORATION) 690 Reputation points Microsoft External Staff Moderator
2 answers

What Job Object access rights are required for PROC_THREAD_ATTRIBUTE_JOB_LIST?

I am implementing Windows x64 process creation using STARTUPINFOEXW, UpdateProcThreadAttribute, and PROC_THREAD_ATTRIBUTE_JOB_LIST. The Microsoft documentation describes this attribute as an ordered list of Job Object handles, but I cannot find an…

Windows development | Windows API - Win32
asked 2026-11-10T06:49:44.76+00:00
piyawith demon 0 Reputation points
commented 2026-11-13T02:20:56.6533333+00:00
Harry Nguyen (WICLOUD CORPORATION) 690 Reputation points Microsoft External Staff Moderator
1 answer

Windows AppContainer process fails to start with error 0xC0000142

I need help diagnosing a Windows application startup problem. A Python process exits with error 0xC0000142 (STATUS_DLL_INIT_FAILED) before it produces any output. A simple Python startup test fails with the same error in both an ordinary AppContainer and…

Windows development | Windows API - Win32
asked 2026-11-05T17:57:43.16+00:00
commented 2026-11-13T02:11:31.22+00:00
Harry Nguyen (WICLOUD CORPORATION) 690 Reputation points Microsoft External Staff Moderator
1 answer

NtCreateFile: Supported API contract for secure handle-relative file and directory creation with reparse-point protection

Hello, I am designing a reusable security-sensitive Windows filesystem component and would appreciate clarification from Microsoft Windows Filesystem / Object Manager specialists regarding the officially supported API contract for creating files and…

Windows development | Windows API - Win32
asked 2026-11-03T17:23:47.5566667+00:00
Pavel Poliak 0 Reputation points
commented 2026-11-13T02:09:09.09+00:00
Percy Nguyen (WICLOUD CORPORATION) 240 Reputation points Microsoft External Staff Moderator
1 answer

Windows 11 26H2 (26300.9818): GetTcpTable2 returns state 0 for a verified listening socket

Windows_TCP_SyntheticResult.txtWindows 11 26H2 build 26300.9818: native IPv4 TCP tables report state 0 for a demonstrably listening synthetic socket Summary I observed an inconsistency between a socket owned by a small standalone Python program and the…

Windows development | Windows API - Win32
asked 2026-11-04T18:05:29.1+00:00
Pask Pask 0 Reputation points
commented 2026-11-12T20:02:32.87+00:00
Pask Pask 0 Reputation points
2 answers

How to configure IIS 10 IISCertificateMappingAuthenticationModule for a classic mode application.

We are using IIS 10 on Windows Server 2022 servers to run a classic mode soap application, and we are now required to convert to IISCertificateMappingAuthentication from AnonymousAuthentication. All my attempts at reconfiguring the IIS security have been…

Windows development | Internet Information Services
asked 2026-11-05T22:45:05.39+00:00
Cross, Don (Omaha) 1 Reputation point
commented 2026-11-12T16:43:11.09+00:00
Cross, Don (Omaha) 1 Reputation point
2 answers

IiS server has frequent stoppage of App Pool

server has frequent stoppage of App Pool. Everyday we need to restart app pool. Please anyone facing this issue in past

Windows development | Internet Information Services
asked 2026-11-11T18:41:08.44+00:00
Allen Francis 26 Reputation points
commented 2026-11-12T16:32:33.8566667+00:00
Allen Francis 26 Reputation points
2 answers

Permissions needed for WriteProcessMemory appear to be inaccurately documented

The documentation for the WriteProcessMemory function states that the process handle passed to the function "must have PROCESS_VM_WRITE and PROCESS_VM_OPERATION access to the process." This appears to be inaccurate as a handle obtained without…

Windows development | Windows API - Win32
asked 2026-11-01T15:32:59.41+00:00
RLWA32 52,946 Reputation points
commented 2026-11-12T15:27:07.58+00:00
RLWA32 52,946 Reputation points
0 answers

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

Birthday Reminder program no longer works. (It has worked in windows 11 until recently

bday.exe no longer starts and displays the birthdays of people in the database. I can't even find the database...I think it is embedded in the executable (bday.exe). How do I make the program work again or is there a similar program that would…

Windows development | Windows API - Win32
asked 2026-11-09T22:09:44.41+00:00
B Laycraft 0 Reputation points
commented 2026-11-12T13:18:12.61+00:00
Carl-L 24,990 Reputation points Microsoft External Staff Moderator
2 answers

Supported external association between active IME composition and its rendering window

Question We are building an external window-sharing tool. Which supported API combination associates a selected application's current input/composition context with its separate Microsoft IME preedit rendering HWND (or equivalent capturable surface),…

Windows development | Windows API - Win32
asked 2026-10-31T09:46:13.0133333+00:00
paopao 5 Reputation points
commented 2026-11-12T10:45:28.4733333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
0 answers

HLK "Wdf - Check Umdf/Kmdf Function Table Test" fails for UMDF 2 driver installed to Driver Store (DIRID 13)

Both "Wdf - Check Umdf Function Table Test" and "Wdf - Check Kmdf Function Table Test" fail for our UMDF 2 driver. The driver itself does not seem to be the cause: the test looks for the driver binary in a fixed location,…

Windows development | Windows Driver Kit (WDK)
asked 2026-11-12T09:18:46.32+00:00
Paul Sievers 25 Reputation points
1 answer

Supported user-mode NtCreateFile sequence for handle-relative opens without reparse traversal

Hello, We are designing a read-only diagnostic reader for one existing file on local NTFS. Before allowing real-file access, we need to establish a supported opening sequence that cannot silently follow a filesystem reparse point. Our proposed approach…

Windows development | Windows API - Win32
asked 2026-11-08T04:41:16.22+00:00
Bulqe 0 Reputation points
edited a comment 2026-11-12T08:12:02.7733333+00:00
Percy Nguyen (WICLOUD CORPORATION) 240 Reputation points Microsoft External Staff Moderator
1 answer

Windows Job Object reports ActiveProcesses=1 after worker exit and an unexpected PID

I'm developing a paper/simulation-only Python research platform on Windows using CPython 3.13.15 and Win32 APIs. I'm investigating unexpected Windows Job Object membership and how to establish safe process termination and resource cleanup. Environment…

Windows development | Windows API - Win32
asked 2026-10-12T18:07:09.4633333+00:00
Carlos Garcia 0 Reputation points
edited a comment 2026-11-12T07:53:02.7833333+00:00
Percy Nguyen (WICLOUD CORPORATION) 240 Reputation points Microsoft External Staff Moderator
2 answers

Supported Win32 mechanism for authorization revocation and plaintext release

I am developing a Windows local AI application with a trusted broker and an untrusted client process. The broker holds protected source data and controls authorization. The client must never receive unrestricted source handles, keys, or other…

Windows development | Windows API - Win32
asked 2026-11-12T06:36:54.8566667+00:00
AIPilotDeveloper 0 Reputation points
commented 2026-11-12T07:07:03.21+00:00
AIPilotDeveloper 0 Reputation points
2 answers

Windows/SQLite: Can supervised quiescence prove safe resource release when native failures are hidden?

I’m developing a paper/simulation-only Python research platform on Windows and would appreciate guidance from engineers experienced with Windows native resource lifetimes, SQLite, and process containment. Environment Windows 11 25H2, build 26200.9711 …

Windows development | Windows API - Win32
asked 2026-11-10T17:31:55.93+00:00
Carlos Garcia 0 Reputation points
edited a comment 2026-11-12T06:20:16.6166667+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
1 answer

NtCreateFile: Is FILE_DIRECTORY_FILE compatible with FILE_OPEN_REPARSE_POINT for secure directory creation?

Dear Microsoft Windows Developer Support Team, We are developing a Windows desktop application that requires secure directory creation using native Windows filesystem APIs. During our implementation review, we identified an ambiguity in Microsoft's…

Windows development | Windows API - Win32
asked 2026-11-06T12:00:54.26+00:00
Suresh kumar V 0 Reputation points
commented 2026-11-12T06:14:50.79+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
2 answers

Windows user-mode NtCreateFile: reparse rejection, directory-handle namespace stability, and safe post-create guard handoff

Windows user-mode NtCreateFile: reparse rejection, directory-handle namespace stability, and safe post-create guard handoff We seek an authoritative, version-qualified support contract for local desktop directory creation and namespace confinement.…

Windows development | Windows API - Win32
asked 2026-11-11T22:23:14.46+00:00
Mesut Topal 0 Reputation points
answered 2026-11-12T06:04:44.6266667+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
1 answer

Supported Windows DNS Client instrumentation for caller-to-result correlation

On supported Windows 11 releases, is there a documented extension point or provider contract that lets a diagnostic tool correlate a DNS request from an existing desktop process with the result returned through the shared Windows DNS Client resolver? Is…

Windows development | Windows API - Win32
asked 2026-11-04T16:22:48.5366667+00:00
落合 卓也 0 Reputation points
commented 2026-11-12T04:35:31.7333333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
2 answers

Can a separate process verify WHP partition deletion on Windows 11?

On Windows 11 26H2 x64 (build 26300.9711), can a separate read-only process verify that a specific Windows Hypervisor Platform (WHP) partition has been deleted after the controller is lost, without relying on the stop caller receiving the…

Windows development | Windows API - Win32
asked 2026-11-08T19:17:18.5666667+00:00
Gurjinder Singh Gill 0 Reputation points
commented 2026-11-12T03:25:18.9366667+00:00
Zack Nguyen (WICLOUD CORPORATION) 405 Reputation points Microsoft External Staff Moderator