6,629 questions with Windows development-related tags

Sort by: Updated
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
commented 2026-10-14T11:20:30.8966667+00:00
RLWA32 52,936 Reputation points
0 answers

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
Windows development

A set of tools and technologies that enable developers to build, optimize, and deploy applications and services within the Windows ecosystem.

6 questions
asked 2026-10-14T11:16:07.72+00:00
X-Tech 0 Reputation points
1 answer

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
asked 2026-09-30T01:59:00.2933333+00:00
Jin Cheng 0 Reputation points
commented 2026-10-14T10:19:03.9133333+00:00
Zack Nguyen (WICLOUD CORPORATION) 245 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-09T10:02:50.45+00:00
Win32Researcher-3667 0 Reputation points
commented 2026-10-14T10:16:59.0833333+00:00
Zack Nguyen (WICLOUD CORPORATION) 245 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-05T06:58:59.37+00:00
HH222 0 Reputation points
edited a comment 2026-10-14T10:13:01.31+00:00
Zack Nguyen (WICLOUD CORPORATION) 245 Reputation points Microsoft External Staff Moderator
2 answers

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
asked 2026-10-11T16:01:42.8933333+00:00
Matthew Johnson 0 Reputation points
commented 2026-10-14T09:51:12.57+00:00
Taki Ly (WICLOUD CORPORATION) 5,710 Reputation points Microsoft External Staff Moderator
1 answer

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)
asked 2026-10-14T09:07:40.15+00:00
Abhishek Naik 0 Reputation points
answered 2026-10-14T09:08:45.6066667+00:00

AI answer

2 answers

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)
asked 2026-06-01T10:55:44.7833333+00:00
StevenS 20 Reputation points
commented 2026-10-14T08:45:24.23+00:00
bmorn 0 Reputation points
1 answer

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)
asked 2026-10-14T06:36:28.6133333+00:00
Jhasim Hassan 0 Reputation points
answered 2026-10-14T06:37:28.2+00:00

AI answer

1 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
asked 2026-09-20T11:13:34.3933333+00:00
Krystal Bei 0 Reputation points
edited an answer 2026-10-14T06:25:38.41+00:00
Taki Ly (WICLOUD CORPORATION) 5,710 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-08T18:46:09.19+00:00
Balázs 0 Reputation points
commented 2026-10-14T06:07:49.5633333+00:00
Zack Nguyen (WICLOUD CORPORATION) 245 Reputation points Microsoft External Staff Moderator
5 answers

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
asked 2026-10-13T18:54:34.17+00:00
OUTZA Developer 0 Reputation points
answered 2026-10-14T03:28:36.19+00:00
2 answers

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
asked 2023-03-11T17:42:44.18+00:00
Gudimalla Akhil 0 Reputation points
answered 2026-10-13T18:11:06.6333333+00:00
Liam Kelly 0 Reputation points
1 answer

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
asked 2026-10-02T08:51:19.57+00:00
Hubert 0 Reputation points
edited a comment 2026-10-13T09:55:33.04+00:00
Zack Nguyen (WICLOUD CORPORATION) 245 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-13T01:58:06.39+00:00
Phat Dat 0 Reputation points
edited a comment 2026-10-13T09:36:38.0166667+00:00
Zack Nguyen (WICLOUD CORPORATION) 245 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-13T05:06:36.9633333+00:00
Sephiroth_FF 0 Reputation points
answered 2026-10-13T06:53:01.7066667+00:00
Taki Ly (WICLOUD CORPORATION) 5,710 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-03T20:24:57.9433333+00:00
Corrie Janse van vuuren 0 Reputation points
commented 2026-10-13T06:43:36.2166667+00:00
Percy Nguyen (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-10-01T04:10:16.4466667+00:00
Tô Tử Siêu 0 Reputation points
answered 2026-10-13T06:33:22.1466667+00:00
Tô Tử Siêu 0 Reputation points
1 answer

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
asked 2026-10-02T16:27:11.9733333+00:00
Hangkun Ung 0 Reputation points
commented 2026-10-13T06:11:00.79+00:00
Percy Nguyen (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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…

Windows development | Windows API - Win32
asked 2026-10-03T16:01:55.6166667+00:00
soso 60 Reputation points
accepted 2026-10-13T05:52:04.36+00:00
soso 60 Reputation points