Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

reg commands

Feedback

In this article

Performs operations on registry subkey information and values in registry entries.

Some operations enable you to view or configure registry entries on local or remote computers, while others allow you to configure only local computers. Usingreg to configure the registry of remote computers limits the parameters that you can use in some operations. Check the syntax and parameters for each operation to verify that they can be used on remote computers.

Caution

Don't edit the registry directly unless you have no alternative. The registry editor bypasses standard safeguards, allowing settings that can degrade performance, damage your system, or even require you to reinstall Windows. You can safely alter most registry settings by using the programs in Control Panel or Microsoft Management Console (MMC). If you must edit the registry directly, back it up first.

Syntax

reg addreg comparereg copyreg deletereg exportreg importreg loadreg queryreg restorereg savereg unload

Parameters

ParameterDescription
reg addAdds a new subkey or entry to the registry.
reg compareCompares specified registry subkeys or entries.
reg copyCopies a registry entry to a specified location on the local or remote computer.
reg deleteDeletes a subkey or entries from the registry.
reg exportCopies the specified subkeys, entries, and values of the local computer into a file for transfer to other servers.
reg importCopies the contents of a file that contains exported registry subkeys, entries, and values into the registry of the local computer.
reg loadWrites saved subkeys and entries into a different subkey in the registry.
reg queryReturns a list of the next tier of subkeys and entries that are located under a specified subkey in the registry.
reg restoreWrites saved subkeys and entries back to the registry.
reg saveSaves a copy of specified subkeys, entries, and values of the registry in a specified file.
reg unloadRemoves a section of the registry that was loaded using thereg load operation.

Related links


Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo