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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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…