Dapplo.Ini.WindowsPolicies 2.0.16

Prefix Reserved
dotnet add package Dapplo.Ini.WindowsPolicies --version 2.0.16
                    
NuGet\Install-Package Dapplo.Ini.WindowsPolicies -Version 2.0.16
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dapplo.Ini.WindowsPolicies" Version="2.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dapplo.Ini.WindowsPolicies" Version="2.0.16" />
                    
Directory.Packages.props
<PackageReference Include="Dapplo.Ini.WindowsPolicies" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dapplo.Ini.WindowsPolicies --version 2.0.16
                    
#r "nuget: Dapplo.Ini.WindowsPolicies, 2.0.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Dapplo.Ini.WindowsPolicies@2.0.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dapplo.Ini.WindowsPolicies&version=2.0.16
                    
Install as a Cake Addin
#tool nuget:?package=Dapplo.Ini.WindowsPolicies&version=2.0.16
                    
Install as a Cake Tool

Dapplo.Ini.WindowsPolicies

Makes every setting of a Dapplo.Ini application administrable through Windows policies: Group Policy (gpedit.msc, GPMC), Intune or a .reg file.

builder.AddWindowsPolicies("MyCompany", "MyProduct");
Kind Registry key Effect
Mandatory HKLM or HKCU SOFTWARE\Policies\<Vendor>\<Product>\<Section>\<Key> the key is constant, users can't change it
Recommended HKLM or HKCU SOFTWARE\Policies\<Vendor>\<Product>\Recommended\<Section>\<Key> a default users can change
  • Values are mapped by the property type (DWORD → bool / integers, SZ → string, enum by name, lists, dictionaries); an invalid value is reported to the listener and skipped, a load never fails because of a policy.
  • Policy changes are picked up while the application runs.
  • AdmxGenerator writes an administrative template (ADMX + ADML per language) for gpedit, GPMC and Intune; also available as the dotnet tool Dapplo.Ini.WindowsPolicies.Tool (dapplo-ini-admx).
  • PolicyRegFile exports section values as a .reg file.

Targets net48, net10.0-windows and net10.0 (template and .reg generation on any OS). See the wiki page Windows Policies.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.16 107 11/18/2026
2.0.13 237 11/10/2026
2.0.12 84 11/10/2026
2.0.9 97 11/10/2026