reg key explaination

F

Fred

Hi, i've read a post on a Dell user forum, that states that a key needs to
be added. they give the followinging info, but i do not understand exactly
what the guy is saying.
The post he put up is this.

reg add HKLM\System\CurrentControlSet\Services\Tcpip\Parameters /v
ArpRetryCount /t REG_DWORD /d 0 /f

Can someone translate this into what soft of key i need to add.

TIA
 
K

keving98

Hi, i've read a post on a Dell user forum, that states that a key needs to
be added. they give the followinging info, but i do not understand exactly
what the guy is saying.
The post he put up is this.

reg add HKLM\System\CurrentControlSet\Services\Tcpip\Parameters /v
ArpRetryCount /t REG_DWORD /d 0 /f

Can someone translate this into what soft of key i need to add.

TIA

Type that entire line at a command prompt and hit enter. It will add
a REG_DWORD value named ArpRetryCount with a value of 0 to HKLM\System
\CurrentControlSet\Services\Tcpip\Parameters.

Typing "reg add /?" at the command prompt reveals:

REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d
Data] [/f]

KeyName [\\Machine\]FullKey
Machine Name of remote machine - omitting defaults to the
current
machine Only HKLM and HKU are available on remote
machines
FullKey ROOTKEY\SubKey
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected
ROOTKEY

/v The value name, under the selected Key, to add

/ve adds an empty value name <no name> for the key

/t RegKey data types
[ REG_SZ | REG_MULTI_SZ | REG_DWORD_BIG_ENDIAN |
REG_DWORD | REG_BINARY | REG_DWORD_LITTLE_ENDIAN |
REG_NONE | REG_EXPAND_SZ ]
If omitted, REG_SZ is assumed

/s Specify one charactor that you use as the separator in your
data
string for REG_MULTI_SZ. If omitted, use "\0" as the
separator

/d The data to assign to the registry ValueName being added

/f Force overwriting the existing registry entry without
prompt

Examples:

REG ADD \\ABC\HKLM\Software\MyCo
Adds a key HKLM\Software\MyCo on remote machine ABC

REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead
Adds a value (name: Data, type: REG_BINARY, data: fe340ead)

REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail
Adds a value (name: MRU, type: REG_MUTLI_SZ, data: fax\0mail\0\0)

REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%
%
Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%)
Notice: Use the double percentage ( %% ) inside the expand string

Kevin G
 

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