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

  • Thread starter Thread starter Marc
  • Start date Start date
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".
 
Hey Marc,

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

Cheers,
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.
 
Back
Top