Share via


AddSysparseReg

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Use the AddSysparseReg parameter to add a persistent custom dimension to the Sysparse registry key. This parameter functions only when WttCmd executes from a system context.

Syntax

wttcmd.exe /addsysparsereg /v:<name> [/d:<data>] [/t:<datatype>]
Argument Description

/v:<name>

The name of a value in the Sysparse registry key. This value can be either of type REG_SZ or of type REG_MULTI_SZ depending on the data type specified in the /t argument.

/d:<data>

The data to add to the registry.

/t:<datatype>

The data type of the registry value. Supported data types are: REG_SZ (the default) REG_MULTI_SZ.

 

Examples

wttcmd.exe /addsysparsereg /v:DimensionName /d:DimensionData /t:reg_multi_sz

Remarks

If <name> does not exist, the AddSysparseReg parameter adds a registry key called <name>, with a value of <data>.

If <name> exists, and its data type is REG_SZ, the AddSysparseReg parameter replaces the value stored in <name> with a new value of <data>.

If <name> exists, and its data type is REG_MULTI_SZ, the AddSysparseReg parameter appends the new value in <data> to the registry key specified in <data>.

 

 

Build date: 9/14/2012