How to change (Default) string value using ADM (administrative Template)

M

Marc

By default, when you create a registry key, the key gets
populated with a string called (default) with a value of
(value not set). I want to modify that string with the
value of one using a ADM file.

To create this string with a merge file (.reg) it uses
the @ symbol

[HKEY_CURRENT_USER\Software\RealNetworks\RealMediaSDK\6.0
\Preferences\New Key #1]
@=""

But in a ADM file, the @ value will give you a string
named @. I have tried several combinations without any
success.

CLASS USER

CATEGORY "RealPlayer 10"

KEYNAME "Software\RealNetworks\RealMediaSDK\6.0
\Preferences\AttemptRTSPvHTTP"
POLICY "Attempt to use HTTP for All Content"
PART "Check to enforce setting on; uncheck to
enforce setting off" CHECKBOX
VALUENAME " "
VALUEON 1
VALUEOFF 0
END PART
END POLICY
END CATEGORY

I have tried to change the VALUENAME
To... "(Default)", "@", "Default".
 
J

Jeremy

Hey Marc,

If you want to write to the (Default) value, use "" (double quotes)
with no spaces in between.
e.g. VALUENAME ""

Cheers,
Jeremy.
 
J

Jeremy

Hey Marc,

If you want to write to the (Default) value, use "" (double quotes)
with no spaces in between.
e.g. VALUENAME ""

Cheers,
Jeremy.
 

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