Norbert,
This is one syntax I have used:
Class Machine
CATEGORY "Network Interface"
KEYNAME
"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0005"
POLICY "Out of Standby"
EXPLAIN "Bring Network Interface out of Standby"
VALUENAME "PnPCapabilities"
VALUEON 32
VALUEOFF 48
END POLICY
END CATEGORY
I add it and the category fold shows up but no policy. I added yours and
the same thing happens, I am at a lost why neither of these are working.
"Norbert Fehlauer [MVP]" wrote:
> Paul wrote:
> Hi,
>
> > I need to create a template to change a registry edit, the key is
> >
> > SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0005"
> > name="PnPCapabilities" type="REG_DWORD" value="00000020"
> >
> > I am looking for a easy enable and make the value change from
> > 00000030 to 00000020, but I am unable to get it to work and I've
> > tried all kind of syntax.
>
> Where is your problem? Could have been helpful to know what you already
> tried. 
>
> Try this:
>
> CLASS MACHINE
>
> CATEGORY "Your Category"
> KEYNAME
> "SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0005"
> POLICY "PNP"
> PART "PnPCapabilities" NUMERIC REQUIRED SPIN 1
> DEFAULT 32
> VALUENAME "PnPCapabilities"
> END PART
> END POLICY
>
> END CATEGORY
>
> HTH
> Norbert
> --
> Dilbert's words of wisdom #14: Don't be irreplaceable - if you can't be
> replaced, you can't be promoted.
>
>