Udostępnij za pośrednictwem


Storeadm.exe (Isolated Storage Tool)

Updated: April 2011

The Isolated Storage tool lists or removes all existing stores for the current user.

This tool is automatically installed with Visual Studio and with the Windows SDK. To run the tool, we recommend that you use the Visual Studio Command Prompt or the Windows SDK Command Prompt (CMD Shell). These utilities enable you to run the tool easily, without navigating to the installation folder. For more information, see Visual Studio and Windows SDK Command Prompts.

  • If you have Visual Studio installed on your computer: On the taskbar, click Start, click All Programs, click Visual Studio, click Visual Studio Tools, and then click Visual Studio Command Prompt.

    -or-

    If you have the Windows SDK installed on your computer: On the taskbar, click Start, click All Programs, click the folder for the Windows SDK, and then click Command Prompt (or CMD Shell).

  • At the command prompt, type the following:

storeadm [/list][/machine][/remove][/roaming][/quiet]

Parameters

Option

Description

/h[elp]

Displays command syntax and options for the tool.

/list

Displays all existing stores for the current user. This includes the stores for all applications or assemblies executed by this user.

/machine

Selects the machine store. Use this option with the /list or /remove option to specify that the action should apply to the machine store.

New in the .NET Framework 2.0

/quiet

Specifies quiet mode; suppresses informational output so that only error messages appear.

/remove

Permanently removes all existing stores for the current user.

/roaming

Selects the roaming store. Use this option with the /list or /remove options to specify that the action should apply to the roaming store.

/?

Displays command syntax and options for the tool.

Remarks

Running Storeadm.exe from the command line without specifying any options displays the syntax and options for the tool.

The /list and /remove options are typically used one at a time; however, if two or more options are specified they will be performed in the order in which they appear on the command line.

Applications have a choice of saving to one of two stores for a user or to the machine store:

  • The local store exists in a location that is guaranteed not to roam (on Windows 2000 and later) even if user data roaming is enabled for the user.

  • The roaming store exists in a location that is able to roam, but can only do so if roaming is enabled for the user via Windows NT administration.

  • The machine store is common to all users on a machine and is stored under a common directory on that machine.

    Note

    The machine store is new in the .NET Framework version 2.0.

Whether roaming is actually enabled for the user does not affect the administration of Storeadm.exe. Running the tool without any options applies all actions to the local store. Running the tool with the /roaming option applies all actions to the store that is able to roam. Running the tool with the /machine option applies all actions to the machine store.

See Also

Reference

Visual Studio and Windows SDK Command Prompts

Other Resources

.NET Framework Tools

Isolated Storage

Change History

Date

History

Reason

April 2011

Added information about using the Visual Studio and Windows SDK Command Prompts.

Information enhancement.