text
stringlengths
0
4.23k
list vdisk
Load metadata
Loads a metadata .cab file prior to importing a transportable shadow copy or loads the writer metadata in the case of a restore. If used without parameters, load metadata displays help at the command prompt.
Syntax
load metadata [<drive>:][<path>]<metadata.cab>
Parameters
Parameter
Description
[<drive>:][<path>]
Specifies the location of the metadata file.
metadata.cab
Specifies the metadata .cab file to load.
[<drive>:][<path>]
Remarks
You can use the import command to import a transportable shadow copy based on the metadata specified by load metadata.
You must run this command before the begin restore command, to load the selected writers and components for the restore.
Examples
To load a metadata file called metafile.cab from the default location, type:
load metadata metafile.cab
lodctr
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Allows you to register or save performance counter name and registry settings in a file and designate trusted services.
Syntax
lodctr <filename> [/s:<filename>] [/r:<filename>] [/t:<servicename>]
Parameters
Parameter
Description
<filename>
Specifies the name of the initialization file that registers the performance counter name settings and explanatory text.
/s:<filename>
Specifies the name of the file to which the performance counter registry settings and explanatory text are saved.
/r
Restores counter registry settings and explanatory text from current registry settings and cached performance files related to the registry.
/r:<filename>
Specifies the name of the file that restores the performance counter registry settings and explanatory text.Warning: If you use this command, you'll overwrite all performance counter registry settings and explanatory text, replacing them with the configuration defined in the specified file.
/t:<servicename>
Indicates that service <servicename> is trusted.
/?
Displays help at the command prompt.
<filename>
<filename>
<filename>
Warning: If you use this command, you'll overwrite all performance counter registry settings and explanatory text, replacing them with the configuration defined in the specified file.
<servicename>
<servicename>
Remarks
Examples
To save the current performance registry settings and explanatory text to file "perf backup1.txt", type:
lodctr /s:"perf backup1.txt"
logman create alert
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Creates an alert data collector.
Syntax
logman create alert <[-n] <name>> [options]
Parameters
Parameter
Description