Smart App Control blocks locally compiled .NET DLLs (0x800711C7) – Supported free code-signing solution?

Erdem Küpeli 0 Reputation points
2026-11-30T00:40:47.7633333+00:00

Hello,

I am developing a private AI-assisted software development ecosystem in Türkiye, using multiple AI coding agents, including OpenAI Codex, JetBrains Junie, GitHub Copilot and Google Antigravity.

We are encountering a confirmed Smart App Control compatibility issue when executing locally compiled .NET assemblies.

Environment

  • Windows 11 Home 26H2, build 26300.9974

Smart App Control: ON / Enforcement

.NET SDK: 11.0.100

Compilation: successful, zero errors and warnings

Runtime error: HRESULT 0x800711C7

Host process: dotnet.exe

Confirmed Windows Code Integrity evidence

Event IDs: 3033, 3077 and 3089

Policy: VerifiedAndReputableDesktop

Policy ID: 27555.1000.240208

Policy GUID: 0283ac0f-fff1-49ae-ada1-8a933130cad6

Status: 0xC0E90002

Requested Signing Level: 2

Validated Signing Level: 1

TotalSignatureCount: 0

PublisherName: Unknown

IssuerName: Unknown

KnownRoot: 0

All four signature information events were successfully correlated with their corresponding block events.

Solutions already investigated

Azure Artifact Signing (formerly Trusted Signing)

Microsoft Store MSIX Private Audience

Microsoft Security Intelligence file submission

Self-signed certificates and local certificate authorities

Open-source code-signing programs

Windows Developer Mode

Existing signed Windows tools and Node.js

Unfortunately, we have not established a supported zero-cost solution suitable for private software development in Türkiye.

Technical questions

Is there a free trusted Authenticode code-signing program, developer sponsorship or research grant available to private software developers in Türkiye?

Is there a supported local development workflow for executing newly compiled private .NET assemblies while keeping Smart App Control fully enabled?

Can Microsoft Security Intelligence establish positive Smart App Control reputation for an unsigned, fixed-version private helper application?

Can Microsoft Store-signed MSIX packages distributed through Private Audience support native helper components running under separate local Windows accounts, S4U scheduled tasks or supported noninteractive service identities?

Does Microsoft provide an existing signed and supported interface for secure Windows file-handle operations, including FILE_ID_128 and same-handle file validation and mutation, without requiring a newly compiled unsigned DLL?

Is there a recommended development workflow for AI coding agents that frequently generate and compile new local applications while Smart App Control remains enabled?

Can Microsoft provide technical assistance, developer credits, sponsorship or an alternative supported signing workflow for this project without additional financial cost?

Our project aims to improve secure AI-assisted software development, agent isolation and reliable local automation.

We are committed to keeping Smart App Control, Microsoft Defender, firewall rules and existing sandbox protections enabled.

We are not requesting security bypasses, unsupported policy modifications or instructions to disable Smart App Control.

Any official documentation, supported technical solutions or developer experiences would be greatly appreciated.

Thank you for your assistance.

Windows for home | Windows 11 | Security and privacy
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-30T00:43:35.8366667+00:00

    Smart App Control has no supported per-file developer allowlist, so frequently rebuilt private .NET assemblies can run deterministically in enforcement mode only when every executable artifact is trusted-signed or delivered as a Store-signed MSIX package.

    Your Code Integrity events are consistent with documented behavior: in enforcement mode, unknown unsigned binaries are blocked unless Microsoft’s intelligence service predicts them safe; a signed dotnet.exe host does not confer trust on an unsigned DLL loaded into it.^1^

    Practical supported workflows

    1. Store-signed MSIX, where the application model fits

    For a zero-certificate-cost production route:

    1. Package the application and all executable helpers inside an MSIX submission.
    2. Submit the .msixupload or .appxupload through Partner Center.
    3. Select Pricing and availability → Visibility → Private audience.
    4. Add each tester’s personal Microsoft account to a known user group.
    5. After certification, install from the private Store listing.

    The Store re-signs MSIX/AppX packages with a Microsoft certificate; no CA certificate, PFX, token, or HSM is required.^2^ Private Audience users must use the personal Microsoft accounts listed in the group; work or school accounts cannot acquire the private app.^3^

    This is not a general solution for arbitrary generated DLLs outside the package. Store certification cannot validate code generated and written to disk after submission, and modules cannot be loaded into processes outside the package.^4^

    For background helpers:

    • MSIX supports session-0 services under LocalSystem, LocalService, or NetworkService.
    • It does not support per-user Windows services.
    • Packaged services require restricted capabilities. Store approval is not expected for most ordinary submissions, particularly for LocalSystem services.^5^

    Consequently, Private Audience alone does not establish support for arbitrary separate-user or S4U task architectures. Refactor to an in-package full-trust process plus IPC where possible, or obtain restricted-capability approval before relying on packaged services.

    2. Trusted signing outside the Store

    Microsoft’s guidance is to sign every EXE, DLL, installer, script, plug-in, helper, updater, and other executable artifact—not only the main application.^6^

    For an individual developer in Türkiye, Azure Artifact Signing Public Trust is not presently listed as eligible: individual enrollment is limited to the USA and Canada. The documented alternative is a worldwide OV certificate, which is not free.^7^

    The only documented free non-Store possibility is conditional: SignPath Foundation offers signing to qualifying open-source projects. It does not cover a private-source project unless its eligibility requirements are met.^7^

    Self-signed certificates, locally trusted roots, Developer Mode, and open-source signing utilities do not create Microsoft Trusted Root Program trust for SAC.

    Reputation and Security Intelligence submissions

    A fixed unsigned helper could eventually acquire positive cloud reputation, but this is nondeterministic and tied to signals including the file hash. Recompiling changes the hash, so it is unsuitable for an agent workflow that produces frequent builds. SAC can still block an unsigned file unless it already has positive reputation.^8^

    Security Intelligence submission is for suspected malware, missed detections, and false-positive analysis. It does not document a mechanism to grant SAC approval or guarantee reputation.^9^

    Existing signed interface for handle-safe file operations

    Windows already exposes the required operations through signed Kernel32.dll APIs:

    • GetFileInformationByHandleEx(handle, FileIdInfo, ...) returns the volume serial number and 128-bit file ID.
    • Compare both values to determine whether two open handles identify the same file.
    • Use SetFileInformationByHandle for supported mutations while retaining the opened handle.^10^ ^11^

    A compact managed declaration is:

    [StructLayout(LayoutKind.Sequential)]
    struct FileIdInfo {
        public ulong VolumeSerialNumber;
        public ulong FileIdLow;
        public ulong FileIdHigh;
    }
    
    [DllImport("kernel32.dll", SetLastError = true)]
    static extern bool GetFileInformationByHandleEx(
        SafeFileHandle file, int infoClass,
        out FileIdInfo info, uint size);
    
    static FileIdInfo ReadId(SafeFileHandle h) {
        if (!GetFileInformationByHandleEx(
            h, 18, out var id, (uint)Marshal.SizeOf<FileIdInfo>()))
            throw new Win32Exception(Marshal.GetLastWin32Error());
        return id;
    }
    

    Compare VolumeSerialNumber, FileIdLow, and FileIdHigh while both handles remain open. This removes the need for a custom native helper DLL, but the managed assembly containing the P/Invoke code must itself still satisfy SAC.

    Development-machine architecture

    For continuously generated code, the supported deterministic choices are:

    1. Keep SAC enabled on the production/security-validation machine and compile/run experimental code on a separate development VM or machine.
    2. Store-package stable builds and use SAC machines only for testing certified packages.
    3. Replace SAC with a custom App Control for Business policy that trusts your controlled build/signing path.

    The third option retains application control but does not keep Smart App Control enabled. App Control policies apply device-wide, can use hashes, signer metadata, paths, managed installers, or ISG, and are effective on Windows Home, although its App Control PowerShell cmdlets are unavailable there.^12^ Windows Sandbox is not available on Windows Home.^13^

    Appropriate Microsoft escalation routes

    Different Microsoft-side decisions require different channels:

    • Store certification, Private Audience, or restricted capabilities: open a Partner Center support request from the developer dashboard and include the intended service identities, S4U design, package manifest, and certification requirement.
    • Artifact Signing eligibility, regional availability, or billing: use Azure portal → Help + support → Create a support request. Ask specifically whether an organization identity in Türkiye—not an individual profile—qualifies and whether any Azure sponsorship can pay for the service.
    • Startup credits or sponsorship: apply through Microsoft for Startups and request written confirmation that Artifact Signing consumption is eligible; the available documentation does not establish that eligibility.^14^
    • Case-specific Windows/SAC behavior: open a Microsoft Support case at https://support.microsoft.com/ and attach the correlated 3033/3077/3089 events, hashes, signatures, and minimal reproduction.
    • Product changes such as a developer mode or local allowlist: submit through Feedback Hub → Security and Privacy → Smart App Control.^15^

    No published Microsoft program in the cited material guarantees free trusted Authenticode signing, credits, or sponsorship for a private individual project in Türkiye.


    References

    1. Smart App Control overview
    2. App package requirements for MSIX app
    3. Choose visibility options for MSIX apps
    4. Prepare to package a desktop application
    5. App capability declarations
    6. Signing files and checking signatures
    7. Code signing options for Windows app developers
    8. SmartScreen reputation for Windows app developers
    9. Submit files for analysis
    10. GetFileInformationByHandleEx function (winbase.h)
    11. FILE_ID_INFO structure (winbase.h)
    12. App Control for Business and AppLocker feature availability
    13. Windows Sandbox
    14. Azure Kullanımını ve Faturalandırmayı Anlamak | Microsoft Learn
    15. Smart App Control Frequently Asked Questions | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.