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
With the secure desktop enabled, no user-mode program (incl. AI agents) can confirm/cancel UAC prompts - is there a supported approach?
Environment / Context Windows 11 Build 26300; default UAC configuration: EnableLUA=1, ConsentPromptBehaviorAdmin=5, PromptOnSecureDesktop=1 (secure desktop enabled). Role: AI agent (automation agent) - performs authorized test/deployment tasks on a…
Windows development
A set of tools and technologies that enable developers to build, optimize, and deploy applications and services within the Windows ecosystem.
How can I disable Bluetooth connectability?
I have a console application that enumerates all Bluetooth radios on the system and finds only one. I then call BluetoothEnableDiscovery(NULL, FALSE) followed by BluetoothEnableIncomingConnections(NULL, FALSE) for that radio. However,…
Windows development | Windows API - Win32
Windows CreateProcessW with PROC_THREAD_ATTRIBUTE_JOB_LIST: documented guarantees if the caller terminates before the API returns
Hello, I would like to clarify the documented Windows API guarantees for process creation using CreateProcessW, STARTUPINFOEXW, and PROC_THREAD_ATTRIBUTE_JOB_LIST. We are evaluating this mechanism for reliable process containment. No particular Windows…
Windows development | Windows API - Win32
PeakWorkingSetSize exceeds HARDWS_MAX_ENABLE limit by one page on Windows 11
On Windows 11 build 26300, with a 64-bit Python 3.12.10 child, the parent creates the child suspended, calls SetProcessWorkingSetSizeEx with minimum 1,048,576 bytes, maximum 33,554,432 bytes and flags 0x6, and verifies those exact values with…
Windows development | Windows API - Win32
Tbsi_GetDeviceInfo / TPM_DEVICE_INFO output schema, initialization, compatibility and side-effect contract
We are reviewing the documented contract for one possible future metadata-only call to Tbsi_GetDeviceInfo, without opening a TBS context or submitting TPM commands. This is a documentation clarification request, not a request to run diagnostics. The…
Windows development | Windows API - Win32
NDISTest CheckConnectivity fails with "Corruption detected in the NetBuffer received" on HLK 10.1.26100.8328, also with 3rd party adapters
Subject: NDISTest CheckConnectivity fails with "Corruption detected in the NetBuffer received" on HLK 10.1.26100.8328, also with stock adapters Hello, We are preparing an HLK submission for a virtual Ethernet adapter (NetAdapterCx miniport) and…
Windows development | Windows Driver Kit (WDK)
AI answer
Regression in 25H2 HLK Studio (26100.8328): Create Package crashes when adding driver folder, works in previous build 26100.7705
Hi Microsoft team, We encountered a reproducible issue in the Windows 11 25H2 HLK environment after updating the HLK server from build 26100.7705 to 26100.8328. Environment: HLK Server OS: Windows Server 2019 Standard HLK Controller Version:…
Windows development | Windows Driver Kit (WDK)
HLK Certification – Which Device Target and Test Suite Are Required for a Bluetooth HCI-over-UART Transport Driver?
We are developing a custom Windows Bluetooth HCI-over-UART (H4) transport driver using KMDF for a Bluetooth controller on Windows 11 IoT Enterprise ARM64. Our driver handles the UART HCI transport and exposes the Bluetooth function through the BTHX…
Windows development | Windows Driver Kit (WDK)
AI answer
SetFileSecurityW changes control bits from 0x8404 to 0x9004 / 0xb004: can DACL-only operations restore the original state?
I am investigating Windows security-descriptor behavior in a synthetic directory test. The test machine currently reports Windows 11, version 25H2, OS build 26200.9457. Operation and observations SetFileSecurityW returned success when called…
Windows development | Windows API - Win32
Recommended Windows 11 sandbox architecture for safely running .NET, Node.js and Gradle tools using PSEC/MXC
I am developing a local AI-assisted development application for Windows 11 x64. It needs to execute development tools such as .NET, Node.js and Gradle while preventing executed project code from accessing files outside an explicitly approved…
Windows development | Windows API - Win32
Windows Security API Clarification — TokenHasRestrictions ReturnLength of 1
To the Windows Security API team: We request clarification regarding Advapi32!GetTokenInformation with TOKEN_INFORMATION_CLASS value 21, TokenHasRestrictions. Microsoft's documentation specifies a DWORD result indicating whether the token has ever been…
Windows development | Windows API - Win32
How to fix the error "Cannot write Configuration file" while changing any site bindings
whenever I try to change any site bindings I get the error below: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config Error: Cannot write configuration file 1. The disk space is enough. 2.checked the permissions on the…
Windows development | Internet Information Services
Can't relaunch an Xbox app game until its lingering RuntimeBroker.exe exits
Problem After I exit a game launched from the Xbox app, the game process closes, but its RuntimeBroker.exe keeps running for 45-60 seconds While that RuntimeBroker is still alive, I cannot relaunch the game. Relaunching shows this error: The game…
Windows development | Windows API - Win32
Supported Windows primitive for atomically invalidating a pending action on session lock/switch
We are evaluating a local Windows application with a protected authority and untrusted ordinary user applications. We need a supported API contract, not a timing workaround. A user approves one immutable, exact operation. Until execution is genuinely…
Windows development | Windows API - Win32
Custom spatial-sound format registration + object metadata in APOs
Is there any supported path for a third-party ISpatialAudioClient implementation (own CLSID + format GUID, registered under HKLM\...\Multimedia\Audio\Spatial\Encoder) to appear in the Settings > Sound > Spatial sound format list? A 1.5GB…
Windows development | Windows API - Win32
ESENT durable commit: log namespace and application-created directories on NTFS
I am assessing the supported durability contract for an offline Windows application using the in-box ESENT engine on local NTFS, from a non-administrator account. This is a documentation question; no data-loss bug is being alleged. Assume supported…
Windows development | Windows API - Win32
No response to Windows App SDK push PFN mapping request after 20 days, push still 403
Hi, I'm working on push notifications for our Windows app Poscura (Flutter, packaged MSIX) and I'm stuck waiting on a PFN mapping request. On Sep 11 I emailed [email protected] (subject: "Windows App SDK Push Notifications Mapping…
Windows development | Windows App SDK
Cloud Filter FETCH_PLACEHOLDERS Callback Timed Out
I am seeing "Error 0x800701AA means "The cloud operation was not completed before the time-out period expired." But for FETCH_PLACEHOLDERS callback. However, subsequent explorer navigation to the folder path with this error no longer…
Windows development | Windows API - Win32
Windows TSF installer: same-process Profile/Category readback is stale after successful registration/unregistration
I am developing a native C++ Text Service using the Windows Text Services Framework (TSF). This is a follow-up to an earlier Microsoft Q&A discussion in which I observed that a newly added or removed Language…