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:
- Package the application and all executable helpers inside an MSIX submission.
- Submit the
.msixuploador.appxuploadthrough Partner Center. - Select Pricing and availability → Visibility → Private audience.
- Add each tester’s personal Microsoft account to a known user group.
- 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, orNetworkService. - It does not support per-user Windows services.
- Packaged services require restricted capabilities. Store approval is not expected for most ordinary submissions, particularly for
LocalSystemservices.^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
SetFileInformationByHandlefor 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:
- Keep SAC enabled on the production/security-validation machine and compile/run experimental code on a separate development VM or machine.
- Store-package stable builds and use SAC machines only for testing certified packages.
- 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
- Smart App Control overview
- App package requirements for MSIX app
- Choose visibility options for MSIX apps
- Prepare to package a desktop application
- App capability declarations
- Signing files and checking signatures
- Code signing options for Windows app developers
- SmartScreen reputation for Windows app developers
- Submit files for analysis
- GetFileInformationByHandleEx function (winbase.h)
- FILE_ID_INFO structure (winbase.h)
- App Control for Business and AppLocker feature availability
- Windows Sandbox
- Azure Kullanımını ve Faturalandırmayı Anlamak | Microsoft Learn
- Smart App Control Frequently Asked Questions | Microsoft Support