[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2852
  • Last Modified:

creating an ADM template for reg_dword value 0?

I need to create an ADM template for the following registry entry...

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"EnableDeadGWDetect"=dword:00000000

I've performed this in the past using a "regtoadm" tool I've found.  The difference this time is the value of the reg_dword.  GPMC will not allow me to set to 0.  It has to be 1 or greater.

I've looked at some other ADM templates in the "inf" folder and attempted to code my own with notepad with no luck.

Any ideas on how I can create this ADM template with a reg_dword value of 0?

Thanks.
0
NEARNG
Asked:
NEARNG
1 Solution
 
oBdACommented:
Try this:

CLASS MACHINE

CATEGORY !!AdditionalSettings
  CATEGORY !!TCPIP
    POLICY "Enable Dead Gateway Detection"
      KEYNAME "SYSTEM\CurrentControlSet\Services\Tcpip\Parameters"
      PART "Enabled: Enables dead gateway detection" TEXT END PART
      PART "Disabled: Disables dead gateway detection" TEXT END PART
      VALUENAME EnableDeadGWDetect
      VALUEON NUMERIC 1
      VALUEOFF NUMERIC 0
    END POLICY
  END CATEGORY
END CATEGORY

[strings]
AdditionalSettings="Additional Settings"
TCPIP="TCP/IP Settings"
0
 
Network_Data_SupportCommented:
http://www.desktopstandard.com/PolicyMakerRegistryExtension.aspx

template for editing the registry via group policy. its free and very good might be of some use for you
0
 
NEARNGAuthor Commented:

That worked!  Thank you!
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now