ColorConsole [Version 1.3.3000]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS>REG /?

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved


REG Operation [Parameter List]

 Operation  [ QUERY   | ADD    | DELETE  | COPY    |
              SAVE    | LOAD   | UNLOAD  | RESTORE |
              COMPARE | EXPORT | IMPORT ]

Return Code: (Except of REG COMPARE)

 0 - Succussful
 1 - Failed

For help on a specific operation type:

 REG Operation /?

Examples:

 REG QUERY /?
 REG ADD /?
 REG DELETE /?
 REG COPY /?
 REG SAVE /?
 REG RESTORE /?
 REG LOAD /?
 REG UNLOAD /?
 REG COMPARE /?
 REG EXPORT /?
 REG IMPORT /?



C:\WINDOWS>REG QUERY /?

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved


REG QUERY KeyName [/v ValueName | /ve] [/s]

 KeyName    [\Machine\]FullKey
   Machine - Name of remote machine,  omitting defaults to the current machine
        Only HKLM and HKU are available on remote machines
   FullKey  - in the form of ROOTKEY\SubKey name
        ROOTKEY  [ HKLM | HKCU | HKCR | HKU | HKCC ]
        SubKey  - The full name of a registry key under the selected ROOTKEY
 /v  query for a specific registry key  
        ValueName  - The name, under the selected Key, to query
        if omitted, all values under the Key are queried
 /ve query for the default value or empty value name <no name>
 /s  queries all subkeys and values

Examples:

 REG QUERY HKLM\Software\Microsoft\ResKit /v Version
   Displays the value of the registry value Version

 REG QUERY HKLM\Software\Microsoft\ResKit\Nt\Setup /s
   Displays all subkeys and values under the registry key Setup



C:\WINDOWS>REG ADD /?

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved


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














... Windows-10




Windows 10 How To

... Windows 10 FAQ
... Windows 10 How To




The command reg - Console Registry Tool for Windows - .....

HTTP: ... console/en/130.htm
0.421
9224

What is tracert.exe?

 /

How to teach your handwriting style on Windows 10/11 and the recognizer?

 /

Thunderbird Konto löschen, entfernen, Einstellungen?

 /

Can I run a simple ping with TraceRouteOK?

 /

Windows 7 turn off groups view files and directorys?

 /

Monochrome desktop backgrounds on Windows 11 or 10!

 /

Hide the Switch User at Login Screen on Windows 10/11?

 /

Auto login in Windows 10 excluding password?

 /

The difference in file explorer between favorites and Quick links?

 /

The network path was not found on Windows 10 / 11!

 /

Help, no remote desktop connection to Windows 10/11 possible. why not?

 /

How can I use the command history in Windows PowerShell?

 /