Custom ADM

G

Guest

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.

Any help would be great, Thanks
 
N

Norbert Fehlauer [MVP]

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
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top