- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
POLICY Name [KEYNAME Subkey] EXPLAIN Help VALUENAME Value [Parts] END POLICY in Visual Studio .NET
POLICY Name [KEYNAME Subkey] EXPLAIN Help VALUENAME Value [Parts] END POLICY ECC200 Generator In .NET Using Barcode printer for ASP.NET Control to generate, create Data Matrix image in ASP.NET applications. www.OnBarcode.comMake Barcode In VS .NET Using Barcode drawer for ASP.NET Control to generate, create bar code image in ASP.NET applications. www.OnBarcode.comName This is the name of the policy as you want to see it in the Group Policy editor. Use a descriptive but short name. Subkey This is an optional subkey of HKLM or HKCU to use for the category. Do not include either root key in the path, though, because the preceding CLASS keyword specifies which of these root keys to use. If you specify a subkey, all subcategories, policies, and parts use it unless they specifically provide a subkey of their own. Enclose names that contain spaces in double quotes. 140 Data Matrix 2d Barcode Generator In C#.NET Using Barcode maker for .NET Control to generate, create DataMatrix image in .NET framework applications. www.OnBarcode.comMake Data Matrix ECC200 In .NET Framework Using Barcode creation for Visual Studio .NET Control to generate, create Data Matrix 2d barcode image in .NET framework applications. www.OnBarcode.comHelp Value
Drawing Data Matrix In Visual Basic .NET Using Barcode maker for .NET Control to generate, create Data Matrix 2d barcode image in .NET applications. www.OnBarcode.comUCC.EAN - 128 Generation In VS .NET Using Barcode encoder for ASP.NET Control to generate, create UCC.EAN - 128 image in ASP.NET applications. www.OnBarcode.comThis is the string that the Group Policy editor displays on the Explain tab and on the Extended tab of the policy's dialog box. This is the registry value to modify. Enabling the policy sets the REG_DWORD value to 0x01. Select the Not Configured option or disable the policy, and the policy editor removes the value from the registry. To specify values other than the default 0x01, use the VALUEON and VALUEOFF keywords directly following the VALUENAME keyword: GTIN - 12 Generation In Visual Studio .NET Using Barcode generator for ASP.NET Control to generate, create UPC-A image in ASP.NET applications. www.OnBarcode.comData Matrix Generator In .NET Using Barcode drawer for ASP.NET Control to generate, create Data Matrix image in ASP.NET applications. www.OnBarcode.comVALUEON [NUMERIC] Enabled VALUEOFF [NUMERIC] Disabled
Bar Code Drawer In VS .NET Using Barcode creator for ASP.NET Control to generate, create barcode image in ASP.NET applications. www.OnBarcode.comPaint Barcode In .NET Framework Using Barcode encoder for ASP.NET Control to generate, create barcode image in ASP.NET applications. www.OnBarcode.comWhen you use these keywords, the policy editor sets the registry value to Enabled when you enable the policy and sets the value to Disabled when you disable the policy. The default value type is REG_SZ, but you can change it to REG_DWORD by prefixing the value with the keyword NUMERIC. Regardless, setting the policy to Not Configured removes the value altogether. Example Listing 6 6: example.adm Print Barcode In .NET Framework Using Barcode creation for ASP.NET Control to generate, create barcode image in ASP.NET applications. www.OnBarcode.comDraw Postnet 3 Of 5 In VS .NET Using Barcode maker for ASP.NET Control to generate, create USPS POSTal Numeric Encoding Technique Barcode image in ASP.NET applications. www.OnBarcode.comCLASS MACHINE CATEGORY "Disk Quotas" KEYNAME "Software\Policies\MS\DiskQuota" POLICY "Enable disk quotas" EXPLAIN "Enables and disables disk quotas management." VALUENAME "Enable" VALUEON NUMERIC 1 VALUEOFF NUMERIC 0 END POLICY END CATEGORY UPC A Drawer In Java Using Barcode encoder for Java Control to generate, create UPC A image in Java applications. www.OnBarcode.comEncode DataMatrix In None Using Barcode creator for Online Control to generate, create DataMatrix image in Online applications. www.OnBarcode.comKeywords The valid keywords within a POLICY section include the following: ACTIONLISTOFF ACTIONLISTON END KEYNAME PART VALUENAME VALUEOFF VALUEON HELP POLICY Note Additional keywords are available for policies, but they are for developers creating policy 141 Data Matrix Recognizer In Java Using Barcode reader for Java Control to read, scan read, scan image in Java applications. www.OnBarcode.comCode 128B Maker In Visual Studio .NET Using Barcode maker for Reporting Service Control to generate, create ANSI/AIM Code 128 image in Reporting Service applications. www.OnBarcode.comextensions. For example, CLIENTEXT associates a client side extension with a policy via the extension's GUID. I'm not covering these because they don't fit our purposes here. Print Code 128 Code Set B In Java Using Barcode maker for Java Control to generate, create ANSI/AIM Code 128 image in Java applications. www.OnBarcode.comCreate 2D Barcode In VB.NET Using Barcode generation for .NET Control to generate, create Matrix 2D Barcode image in .NET applications. www.OnBarcode.comEXPLAIN
Encode Code128 In VB.NET Using Barcode creator for .NET Control to generate, create Code 128A image in VS .NET applications. www.OnBarcode.comReading Barcode In Visual C# Using Barcode Control SDK for Visual Studio .NET Control to generate, create, read, scan barcode image in VS .NET applications. www.OnBarcode.comThe EXPLAIN keyword provides help text for a specific policy. In Windows 2000 and Windows XP, each policy's dialog box includes an Explain tab, which provides details about the policy settings. You also see this help text on the Extended tab of the editor's right pane in Windows XP. Each policy you create for Windows 2000 and Windows XP should contain one EXPLAIN keyword followed by a full description of the policy and its settings. Although I don't show this in my examples (trying to keep them simple), you should enclose this keyword between #if version >=3 and #endif to prevent earlier versions of the policy editor from choking on these keywords: Listing 6 7: example.adm #if version >= 3 EXPLAIN "Enables and disables disk quotas management." #endif
VALUENAME
The VALUENAME keyword identifies the registry value that the policy editor modifies when you enable or disable the policy. The syntax is VALUENAME Name. You saw an example of this keyword in the section "POLICY." Unless you set the VALUEON and VALUEOFF keywords, described in the next section, the policy editor creates the policy as a REG_DWORD value: Enabled. Sets the value to 0x01 Disabled. Removes the value Not Configured. Removes the value VALUENAME, VALUEON, and VALUEOFF describe the value that enables and disables the policy. If you want to define additional settings that enable you to collect additional values to refine the policy, you must use the PART keyword. Settings in a PART section are in the bottom part of the policy's dialog box. VALUEON and VALUEOFF
You can use the VALUEON and VALUEOFF keywords to write specific values based on the state of the policy. The section "POLICY" contains an example of how these keywords are used. The syntaxes are VALUEON [NUMERIC] Enabled and VALUEOFF [NUMERIC] Disabled. By default, the policy editor creates the value as a REG_SZ value; if you want it to create the value as a REG_DWORD value, prefix it with the NUMERIC keyword. For example: VALUEON 0 // Created as a REG_SZ value containing "0" VALUEOFF NUMERIC 1 // Created as a REG_DWORD value containing 0x01
|
|