CROSS-PLATFORM COMMAND ATLAS

Windows CMD reference

Browse CMD shell built-ins and Microsoft-documented Windows command-line tools, with version and feature notes.

527 entriesSyntax and availability can vary by version, edition, installed modules and configuration. Follow the linked upstream documentation.
/
527 entries
System command

active command

On basic disks, marks the partition with focus as active. This guide lists the documented syntax and parameters for active; check Microsoft Learn for version, role and execution-context requirements.

activeOpen guide
System command

add command

Adds volumes to the set of volumes that are to be shadow copied, or adds aliases to the alias environment. This guide lists the documented syntax and parameters for add; check Microsoft Learn for version, role and execution-context requirements.

add add volume <volume> [provider <providerid>] add alias <aliasname> <aliasvalue>Open guide
System command

add alias command

Adds aliases to the alias environment. This guide lists the documented syntax and parameters for add alias; check Microsoft Learn for version, role and execution-context requirements.

add alias <aliasname> <aliasvalue>Open guide
System command

add volume command

Adds volumes to the Shadow Copy Set, which is the set of volumes to be shadow copied. This guide lists the documented syntax and parameters for add volume; check Microsoft Learn for version, role and execution-context requirements.

add volume <volume> [provider <providerid>]Open guide
System command

adprep command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for adprep; check Microsoft Learn for version, role and execution-context requirements.

adprep {/forestprep | /domainprep | /domainprep /gpprep | /rodcprep | /wssg | /silent}Open guide
System command

append command

Allows programs to open data files in specified directories as if they were in the current directory. This guide lists the documented syntax and parameters for append; check Microsoft Learn for version, role and execution-context requirements.

append [[<drive>:]<path>[;...]] [/x[:on|:off]] [/path:[:on|:off] [/e] append ;Open guide
System command

arp command

The `arp` command displays and modifies entries in the Address Resolution Protocol (ARP) cache. This guide lists the documented syntax and parameters for arp; check Microsoft Learn for version, role and execution-context requirements.

arp -s [inet_addr] [eth_addr] [if_addr] arp -d [inet_addr] [if_addr] arp -a [inet_addr] [-N if_addr] [-v]Open guide
System command

assign command

Assigns a drive letter or mount point to the volume with focus. This guide lists the documented syntax and parameters for assign; check Microsoft Learn for version, role and execution-context requirements.

assign [{letter=<d> | mount=<path>}] [noerr]Open guide
System command

assoc command

View or change the file-type association for a filename extension.

assoc [<.[ext]>[=[<filetype>]]]Open guide
System command

at command

Schedules commands and programs to run on a computer at a specified time and date. This guide lists the documented syntax and parameters for at; check Microsoft Learn for version, role and execution-context requirements.

at [\computername] [[id] [/delete] | /delete [/yes]] at [\computername] <time> [/interactive] [/every:date[,...] | /next:date[,...]] <command>Open guide
System command

atmadm command

Monitors connections and addresses that are registered by the atM call Manager on an asynchronous transfer mode (atM) network. This guide lists the documented syntax and parameters for atmadm; check Microsoft Learn for version, role and execution-context requirements.

atmadm [/c][/a][/s]Open guide
System command

attach-vdisk command

Attaches (sometimes called mounts or surfaces) a virtual hard disk (VHD) so that it appears on the host computer as a local hard disk drive. This guide lists the documented syntax and parameters for attach-vdisk; check Microsoft Learn for version, role and execution-context requirements.

attach vdisk [readonly] { [sd=<SDDL>] | [usefilesd] } [noerr]Open guide
System command

attrib command

Display or change file and directory attributes.

attrib [{+|-}r] [{+|-}a] [{+|-}s] [{+|-}h] [{+|-}o] [{+|-}i] [{+|-}x] [{+|-}p] [{+|-}u] [{+|-}b] [<drive>:][<path>][<filename>] [/s [/d] [/l]]Open guide
System command

attributes command

Displays, sets, or clears the attributes of a disk or volume. This guide lists the documented syntax and parameters for attributes; check Microsoft Learn for version, role and execution-context requirements.

attributes disk attributes volumeOpen guide
System command

attributes disk command

Displays, sets, or clears the attributes of a disk. This guide lists the documented syntax and parameters for attributes disk; check Microsoft Learn for version, role and execution-context requirements.

attributes disk [{set | clear}] [readonly] [noerr]Open guide
System command

attributes volume command

Displays, sets, or clears the attributes of a volume. This guide lists the documented syntax and parameters for attributes volume; check Microsoft Learn for version, role and execution-context requirements.

attributes volume [{set | clear}] [{hidden | readonly | nodefaultdriveletter | shadowcopy}] [noerr]Open guide
System command

auditpol command

Displays information about and performs functions to manipulate audit policies, including: This guide lists the documented syntax and parameters for auditpol; check Microsoft Learn for version, role and execution-context requirements.

auditpol command [<sub-command><options>]Open guide
System command

auditpol backup command

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 This guide lists the documented syntax and parameters for auditpol backup; check Microsoft Learn for version, role and execution-context requirements.

auditpol /backup /file:<filename>Open guide
System command

auditpol clear command

Deletes the per-user audit policy for all users, resets (disables) the system audit policy for all subcategories, and sets all the auditing options to disabled. This guide lists the documented syntax and parameters for auditpol clear; check Microsoft Learn for version, role and execution-context requirements.

auditpol /clear [/y]Open guide
System command

auditpol get command

This guide gathers the Microsoft Learn syntax and parameter reference for auditpol get, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

auditpol /getOpen guide
System command

auditpol list command

Lists audit policy categories and subcategories, or lists users for whom a per-user audit policy is defined. This guide lists the documented syntax and parameters for auditpol list; check Microsoft Learn for version, role and execution-context requirements.

auditpol /listOpen guide
System command

auditpol remove command

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 This guide lists the documented syntax and parameters for auditpol remove; check Microsoft Learn for version, role and execution-context requirements.

auditpol /remove [/user[:<username>|<{SID}>]]Open guide
System command

auditpol resourcesacl command

Configures global resource system access control lists (SACLs). This guide lists the documented syntax and parameters for auditpol resourcesacl; check Microsoft Learn for version, role and execution-context requirements.

auditpol /resourceSACLOpen guide
System command

auditpol restore command

Restores system audit policy settings, per-user audit policy settings for all users, and all auditing options from a file that is syntactically consistent with the comma-separated value (CSV) file format used by the /backup option. This guide lists the documented syntax and parameters for auditpol restore; check Microsoft Learn for version, role and execution-context requirements.

auditpol /restore /file:<filename>Open guide
System command

auditpol set command

Sets the per-user audit policy, system audit policy, or auditing options. This guide lists the documented syntax and parameters for auditpol set; check Microsoft Learn for version, role and execution-context requirements.

auditpol /setOpen guide
System command

autochk command

Runs when the computer is started and prior to Windows Server starting to verify the logical integrity of a file system. This guide lists the documented syntax and parameters for autochk; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

autoconv command

Converts file allocation table (Fat) and Fat32 volumes to the NTFS file system, leaving existing files and directories intact at startup after autochk runs. This guide lists the documented syntax and parameters for autoconv; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

autofmt command

Starts the Auto File System Format Utility, which formats a drive or partition when called from the Windows Recovery Console. This guide lists the documented syntax and parameters for autofmt; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

automount command

* 【8†Command-Line Syntax Key】 This guide lists the documented syntax and parameters for automount; check Microsoft Learn for version, role and execution-context requirements.

automount [ { enable | disable | scrub } ] [noerr]Open guide
System command

bcdboot command

Enables you to quickly set up a system partition, or to repair the boot environment located on the system partition. This guide lists the documented syntax and parameters for bcdboot; check Microsoft Learn for version, role and execution-context requirements.

bcdboot <source> [/l] [/s]Open guide
System command

bcdedit command

Boot Configuration Data (BCD) files provide a store that is used to describe boot applications and boot application settings. This guide lists the documented syntax and parameters for bcdedit; check Microsoft Learn for version, role and execution-context requirements.

bcdedit /command [<argument1>] [<argument2>] ...Open guide
System command

bdehdcfg command

Prepares a hard drive with the partitions necessary for BitLocker Drive Encryption. This guide lists the documented syntax and parameters for bdehdcfg; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg [-driveinfo <drive_letter>] [-target {default|unallocated|<drive_letter> shrink|<drive_letter> merge}] [-newdriveletter] [-size <size_in_mb>] [-quiet]Open guide
System command

bdehdcfg driveinfo command

Displays the drive letter, the total size, the maximum free space, and the partition characteristics. This guide lists the documented syntax and parameters for bdehdcfg driveinfo; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg -driveinfo <drive_letter>Open guide
System command

bdehdcfg newdriveletter command

Assigns a new drive letter to the portion of a drive used as the system drive. This guide lists the documented syntax and parameters for bdehdcfg newdriveletter; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -newdriveletter <drive_letter>Open guide
System command

bdehdcfg quiet command

Informs the bdehdcfg command-line tool that all actions and errors are not to be displayed in the command-line interface. This guide lists the documented syntax and parameters for bdehdcfg quiet; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -quietOpen guide
System command

bdehdcfg restart command

Informs the bdehdcfg command-line tool that the computer should be restarted after the drive preparation has concluded. This guide lists the documented syntax and parameters for bdehdcfg restart; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -restartOpen guide
System command

bdehdcfg size command

Specifies the size of the system partition when a new system drive is being created. This guide lists the documented syntax and parameters for bdehdcfg size; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg -target {default|unallocated|<drive_letter> shrink} -size <size_in_mb>Open guide
System command

bdehdcfg target command

Prepares a partition for use as a system drive by BitLocker and Windows Recovery. This guide lists the documented syntax and parameters for bdehdcfg target; check Microsoft Learn for version, role and execution-context requirements.

bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge}Open guide
System command

begin backup command

Starts a full backup session. This guide lists the documented syntax and parameters for begin backup; check Microsoft Learn for version, role and execution-context requirements.

begin backupOpen guide
System command

begin restore command

Starts a restore session and issues a PreRestore event to involved writers. This guide lists the documented syntax and parameters for begin restore; check Microsoft Learn for version, role and execution-context requirements.

begin restoreOpen guide
System command

bitsadmin command

Bitsadmin is a command-line tool used to create, download or upload jobs, and to monitor their progress. This guide lists the documented syntax and parameters for bitsadmin; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /? | /helpOpen guide
System command

bitsadmin addfile command

Adds a file to the specified job. This guide lists the documented syntax and parameters for bitsadmin addfile; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /addfile <job> <remoteURL> <localname>Open guide
System command

bitsadmin addfileset command

Adds one or more files to the specified job. This guide lists the documented syntax and parameters for bitsadmin addfileset; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /addfileset <job> <textfile>Open guide
System command

bitsadmin addfilewithranges command

Adds a file to the specified job. This guide lists the documented syntax and parameters for bitsadmin addfilewithranges; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /addfilewithranges <job> <remoteURL> <localname> <rangelist>Open guide
System command

bitsadmin cache command

Contains a list of the bitsadmin /cache switches. This guide lists the documented syntax and parameters for bitsadmin cache; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /help bitsadmin /cache /clear bitsadmin /cache /delete bitsadmin /cache /deleteURL bitsadmin /cache /list bitsadmin /cache /info bitsadmin /cache /getlimit bitsadmin /cache /setlimit bitsadmin /cache /getexpirationtime bitsadmin /cache /setexpirationtimeOpen guide
System command

bitsadmin cache and clear command

This guide gathers the Microsoft Learn syntax and parameter reference for bitsadmin cache and clear, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

bitsadmin /cache /clearOpen guide
System command

bitsadmin cache and delete command

Deletes a specific cache entry. This guide lists the documented syntax and parameters for bitsadmin cache and delete; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /delete recordIDOpen guide
System command

bitsadmin cache and deleteurl command

Deletes all cache entries for the given URL. This guide lists the documented syntax and parameters for bitsadmin cache and deleteurl; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /deleteURL URLOpen guide
System command

bitsadmin cache and getexpirationtime command

This guide gathers the Microsoft Learn syntax and parameter reference for bitsadmin cache and getexpirationtime, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

bitsadmin /cache /getexpirationtimeOpen guide
System command

bitsadmin cache and getlimit command

Retrieves the cache limit. This guide lists the documented syntax and parameters for bitsadmin cache and getlimit; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /getlimitOpen guide
System command

bitsadmin cache and help command

Displays the command-line usage for the cache switches. This guide lists the documented syntax and parameters for bitsadmin cache and help; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /helpOpen guide
System command

bitsadmin cache and info command

Dumps a specific cache entry. This guide lists the documented syntax and parameters for bitsadmin cache and info; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /info recordID [/verbose]Open guide
System command

bitsadmin cache and list command

Lists all cache entries. This guide lists the documented syntax and parameters for bitsadmin cache and list; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /list [/verbose]Open guide
System command

bitsadmin cache and setexpirationtime command

Sets the cache expiration time. This guide lists the documented syntax and parameters for bitsadmin cache and setexpirationtime; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /setexpirationtime secsOpen guide
System command

bitsadmin cache and setlimit command

Sets the cache size limit. This guide lists the documented syntax and parameters for bitsadmin cache and setlimit; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cache /setlimit percentOpen guide
System command

bitsadmin cancel command

Removes the job from the transfer queue and deletes all temporary files associated with the job. This guide lists the documented syntax and parameters for bitsadmin cancel; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /cancel <job>Open guide
System command

bitsadmin complete command

Completes the job. This guide lists the documented syntax and parameters for bitsadmin complete; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /complete <job>Open guide
System command

bitsadmin create command

Creates a transfer job with the given display name. This guide lists the documented syntax and parameters for bitsadmin create; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /create [type] displaynameOpen guide
System command

bitsadmin examples command

The following examples show how to use the `bitsadmin` tool to perform the most common tasks. This guide lists the documented syntax and parameters for bitsadmin examples; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

bitsadmin getaclflags command

Retrieves the access control list (ACL) propagations flags, reflecting whether items are inherited by child objects. This guide lists the documented syntax and parameters for bitsadmin getaclflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getaclflags <job>Open guide
System command

bitsadmin getbytestotal command

Retrieves the size of the specified job. This guide lists the documented syntax and parameters for bitsadmin getbytestotal; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getbytestotal <job>Open guide
System command

bitsadmin getbytestransferred command

Retrieves the number of bytes transferred for the specified job. This guide lists the documented syntax and parameters for bitsadmin getbytestransferred; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getbytestransferred <job>Open guide
System command

bitsadmin getclientcertificate command

Retrieves the client certificate from the job. This guide lists the documented syntax and parameters for bitsadmin getclientcertificate; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getclientcertificate <job>Open guide
System command

bitsadmin getcompletiontime command

Retrieves the time that the job finished transferring data. This guide lists the documented syntax and parameters for bitsadmin getcompletiontime; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getcompletiontime <job>Open guide
System command

bitsadmin getcreationtime command

Retrieves the creation time for the specified job. This guide lists the documented syntax and parameters for bitsadmin getcreationtime; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getcreationtime <job>Open guide
System command

bitsadmin getcustomheaders command

Retrieves the custom HTTP headers from the job. This guide lists the documented syntax and parameters for bitsadmin getcustomheaders; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getcustomheaders <job>Open guide
System command

bitsadmin getdescription command

Retrieves the description of the specified job. This guide lists the documented syntax and parameters for bitsadmin getdescription; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getdescription <job>Open guide
System command

bitsadmin getdisplayname command

Retrieves the display name of the specified job. This guide lists the documented syntax and parameters for bitsadmin getdisplayname; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getdisplayname <job>Open guide
System command

bitsadmin geterror command

Retrieves detailed error information for the specified job. This guide lists the documented syntax and parameters for bitsadmin geterror; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /geterror <job>Open guide
System command

bitsadmin geterrorcount command

Retrieves a count of the number of times the specified job generated a transient error. This guide lists the documented syntax and parameters for bitsadmin geterrorcount; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /geterrorcount <job>Open guide
System command

bitsadmin getfilestotal command

Retrieves the number of files in the specified job. This guide lists the documented syntax and parameters for bitsadmin getfilestotal; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getfilestotal <job>Open guide
System command

bitsadmin getfilestransferred command

Retrieves the number of files transferred for the specified job. This guide lists the documented syntax and parameters for bitsadmin getfilestransferred; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getfilestransferred <job>Open guide
System command

bitsadmin gethelpertokenflags command

Returns the usage flags for a 【8†helper token】 that is associated with a BITS transfer job. This guide lists the documented syntax and parameters for bitsadmin gethelpertokenflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /gethelpertokenflags <job>Open guide
System command

bitsadmin gethelpertokensid command

Returns the SID of a BITS transfer job's 【8†helper token】, if one is set. This guide lists the documented syntax and parameters for bitsadmin gethelpertokensid; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /gethelpertokensid <job>Open guide
System command

bitsadmin gethttpmethod command

Gets the HTTP verb to use with the job. This guide lists the documented syntax and parameters for bitsadmin gethttpmethod; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /gethttpmethod <Job>Open guide
System command

bitsadmin getmaxdownloadtime command

Retrieves the download timeout in seconds. This guide lists the documented syntax and parameters for bitsadmin getmaxdownloadtime; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getmaxdownloadtime <job>Open guide
System command

bitsadmin getminretrydelay command

Retrieves the length of time, in seconds, that the service will wait after encountering a transient error before trying to transfer the file. This guide lists the documented syntax and parameters for bitsadmin getminretrydelay; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getminretrydelay <job>Open guide
System command

bitsadmin getmodificationtime command

Retrieves the last time the job was modified or data was successfully transferred. This guide lists the documented syntax and parameters for bitsadmin getmodificationtime; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getmodificationtime <job>Open guide
System command

bitsadmin getnoprogresstimeout command

Retrieves the length of time, in seconds, that the service will try to transfer the file after a transient error occurs. This guide lists the documented syntax and parameters for bitsadmin getnoprogresstimeout; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getnoprogresstimeout <job>Open guide
System command

bitsadmin getnotifycmdline command

Retrieves the command-line command to run after the specified job finishes transferring data. This guide lists the documented syntax and parameters for bitsadmin getnotifycmdline; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getnotifycmdline <job>Open guide
System command

bitsadmin getnotifyflags command

Retrieves the notification flags for the specified job. This guide lists the documented syntax and parameters for bitsadmin getnotifyflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getnotifyflags <job>Open guide
System command

bitsadmin getnotifyinterface command

Determines whether another program has registered a COM callback interface (the notify interface) for the specified job. This guide lists the documented syntax and parameters for bitsadmin getnotifyinterface; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getnotifyinterface <job>Open guide
System command

bitsadmin getowner command

Displays the display name or GUID of the owner of the specified job. This guide lists the documented syntax and parameters for bitsadmin getowner; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getowner <job>Open guide
System command

bitsadmin getpeercachingflags command

Retrieves flags that determine if the files of the job can be cached and served to peers, and if BITS can download content for the job from peers. This guide lists the documented syntax and parameters for bitsadmin getpeercachingflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getpeercachingflags <job>Open guide
System command

bitsadmin getpriority command

Retrieves the priority of the specified job. This guide lists the documented syntax and parameters for bitsadmin getpriority; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getpriority <job>Open guide
System command

bitsadmin getproxybypasslist command

Applies to: Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin getproxybypasslist; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getproxybypasslist <job>Open guide
System command

bitsadmin getproxylist command

Retrieves the comma-delimited list of proxy servers to use for the specified job. This guide lists the documented syntax and parameters for bitsadmin getproxylist; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getproxylist <job>Open guide
System command

bitsadmin getproxyusage command

Retrieves the proxy usage setting for the specified job. This guide lists the documented syntax and parameters for bitsadmin getproxyusage; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getproxyusage <job>Open guide
System command

bitsadmin getreplydata command

Retrieves the server's upload-reply data in hexadecimal format for the job. This guide lists the documented syntax and parameters for bitsadmin getreplydata; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getreplydata <job>Open guide
System command

bitsadmin getreplyfilename command

Gets the path of the file that contains the server upload-reply for the job. This guide lists the documented syntax and parameters for bitsadmin getreplyfilename; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getreplyfilename <job>Open guide
System command

bitsadmin getreplyprogress command

Retrieves the size and progress of the server upload-reply. This guide lists the documented syntax and parameters for bitsadmin getreplyprogress; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getreplyprogress <job>Open guide
System command

bitsadmin getsecurityflags command

Reports the HTTP security flags for URL redirection and checks performed on the server certificate during the transfer. This guide lists the documented syntax and parameters for bitsadmin getsecurityflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getsecurityflags <job>Open guide
System command

bitsadmin getstate command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin getstate; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getstate <job>Open guide
System command

bitsadmin gettemporaryname command

This guide gathers the Microsoft Learn syntax and parameter reference for bitsadmin gettemporaryname, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

bitsadmin /gettemporaryname <job> <file_index>Open guide
System command

bitsadmin gettype command

Retrieves the job type of the specified job. This guide lists the documented syntax and parameters for bitsadmin gettype; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /gettype <job>Open guide
System command

bitsadmin getvalidationstate command

Reports the content validation state of the given file within the job. This guide lists the documented syntax and parameters for bitsadmin getvalidationstate; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /getvalidationstate <job> <file_index>Open guide
System command

bitsadmin help command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin help; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /help | /?Open guide
System command

bitsadmin info command

Displays summary information about the specified job. This guide lists the documented syntax and parameters for bitsadmin info; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /info <job> [/verbose]Open guide
System command

bitsadmin list command

Lists the transfer jobs owned by the current user. This guide lists the documented syntax and parameters for bitsadmin list; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /list [/allusers][/verbose]Open guide
System command

bitsadmin listfiles command

Lists the files in the specified job. This guide lists the documented syntax and parameters for bitsadmin listfiles; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /listfiles <job>Open guide
System command

bitsadmin makecustomheaderswriteonly command

Make a job's Custom HTTP Headers write-only. This guide lists the documented syntax and parameters for bitsadmin makecustomheaderswriteonly; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /makecustomheaderswriteonly <job>Open guide
System command

bitsadmin monitor command

Monitors jobs in the transfer queue that are owned by the current user. This guide lists the documented syntax and parameters for bitsadmin monitor; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /monitor [/allusers] [/refresh <seconds>]Open guide
System command

bitsadmin nowrap command

Truncates any line of output text extending beyond the right-most edge of the command window. This guide lists the documented syntax and parameters for bitsadmin nowrap; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /nowrapOpen guide
System command

bitsadmin peercaching command

Lists the /peercaching switches. This guide lists the documented syntax and parameters for bitsadmin peercaching; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peercaching /help bitsadmin /peercaching /setconfigurationflags bitsadmin /peercaching /getconfigurationflagsOpen guide
System command

bitsadmin peercaching and getconfigurationflags command

Gets the configuration flags that determine if the computer serves content to peers and if it can download content from peers. This guide lists the documented syntax and parameters for bitsadmin peercaching and getconfigurationflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peercaching /getconfigurationflags <job>Open guide
System command

bitsadmin peercaching and help command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin peercaching and help; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peercaching /helpOpen guide
System command

bitsadmin peercaching and setconfigurationflags command

Sets the configuration flags that determine if the computer can serve content to peers and if it can download content from peers. This guide lists the documented syntax and parameters for bitsadmin peercaching and setconfigurationflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peercaching /setconfigurationflags <job> <value>Open guide
System command

bitsadmin peers command

Lists the available /peers switches. This guide lists the documented syntax and parameters for bitsadmin peers; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peers /help bitsadmin /peers /discover bitsadmin /peers /clear bitsadmin /peers /listOpen guide
System command

bitsadmin peers and clear command

Applies to Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin peers and clear; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peers /clearOpen guide
System command

bitsadmin peers and discover command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin peers and discover; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peers /discoverOpen guide
System command

bitsadmin peers and help command

This guide gathers the Microsoft Learn syntax and parameter reference for bitsadmin peers and help, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

bitsadmin /peers /helpOpen guide
System command

bitsadmin peers and list command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin peers and list; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /peers /listOpen guide
System command

bitsadmin rawreturn command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin rawreturn; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /rawreturnOpen guide
System command

bitsadmin removeclientcertificate command

Removes the client certificate from the job. This guide lists the documented syntax and parameters for bitsadmin removeclientcertificate; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /removeclientcertificate <job>Open guide
System command

bitsadmin removecredentials command

Removes credentials from a job. This guide lists the documented syntax and parameters for bitsadmin removecredentials; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /removecredentials <job> <target> <scheme>Open guide
System command

bitsadmin replaceremoteprefix command

Changes the remote URL for all files in the job from oldprefix to newprefix, as necessary. This guide lists the documented syntax and parameters for bitsadmin replaceremoteprefix; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /replaceremoteprefix <job> <oldprefix> <newprefix>Open guide
System command

bitsadmin reset command

Cancels all jobs in the transfer queue owned by the current user. This guide lists the documented syntax and parameters for bitsadmin reset; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /reset [/allusers]Open guide
System command

bitsadmin resume command

Activates a new or suspended job in the transfer queue. This guide lists the documented syntax and parameters for bitsadmin resume; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /resume <job>Open guide
System command

bitsadmin setaclflag command

Sets the access control list (ACL) propagations flags for the job. This guide lists the documented syntax and parameters for bitsadmin setaclflag; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setaclflag <job> <flags>Open guide
System command

bitsadmin setclientcertificatebyid command

Specifies the identifier of the client certificate to use for client authentication in an HTTPS (SSL) request. This guide lists the documented syntax and parameters for bitsadmin setclientcertificatebyid; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setclientcertificatebyid <job> <store_location> <store_name> <hexadecimal_cert_id>Open guide
System command

bitsadmin setclientcertificatebyname command

Specifies the subject name of the client certificate to use for client authentication in an HTTPS (SSL) request. This guide lists the documented syntax and parameters for bitsadmin setclientcertificatebyname; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setclientcertificatebyname <job> <store_location> <store_name> <subject_name>Open guide
System command

bitsadmin setcredentials command

Adds credentials to a job. This guide lists the documented syntax and parameters for bitsadmin setcredentials; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setcredentials <job> <target> <scheme> <username> <password>Open guide
System command

bitsadmin setcustomheaders command

Add a custom HTTP header to a GET request sent to an HTTP server. This guide lists the documented syntax and parameters for bitsadmin setcustomheaders; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setcustomheaders <job> <header1> <header2> <...>Open guide
System command

bitsadmin setdescription command

Sets the description for the specified job. This guide lists the documented syntax and parameters for bitsadmin setdescription; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setdescription <job> <description>Open guide
System command

bitsadmin setdisplayname command

Sets the display name for the specified job. This guide lists the documented syntax and parameters for bitsadmin setdisplayname; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setdisplayname <job> <display_name>Open guide
System command

bitsadmin sethelpertoken command

Sets the current command prompt's primary token (or an arbitrary local user account's token, if specified) as a BITS transfer job's 【8†helper token】. This guide lists the documented syntax and parameters for bitsadmin sethelpertoken; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /sethelpertoken <job> [<user_name@domain> <password>]Open guide
System command

bitsadmin sethelpertokenflags command

Sets the usage flags for a 【8†helper token】 that is associated with a BITS transfer job. This guide lists the documented syntax and parameters for bitsadmin sethelpertokenflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /sethelpertokenflags <job> <flags>Open guide
System command

bitsadmin sethttpmethod command

Sets the HTTP verb to use. This guide lists the documented syntax and parameters for bitsadmin sethttpmethod; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /sethttpmethod <job> <httpmethod>Open guide
System command

bitsadmin setmaxdownloadtime command

Sets the download timeout in seconds. This guide lists the documented syntax and parameters for bitsadmin setmaxdownloadtime; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setmaxdownloadtime <job> <timeout>Open guide
System command

bitsadmin setminretrydelay command

Sets the minimum length of time, in seconds, that BITS waits after encountering a transient error before trying to transfer the file. This guide lists the documented syntax and parameters for bitsadmin setminretrydelay; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setminretrydelay <job> <retrydelay>Open guide
System command

bitsadmin setnoprogresstimeout command

Sets the length of time, in seconds, that BITS tries to transfer the file after the first transient error occurs. This guide lists the documented syntax and parameters for bitsadmin setnoprogresstimeout; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setnoprogresstimeout <job> <timeoutvalue>Open guide
System command

bitsadmin setnotifycmdline command

Sets the command-line command that runs after the job finishes transferring data or after a job enters a specified state. This guide lists the documented syntax and parameters for bitsadmin setnotifycmdline; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setnotifycmdline <job> <program_name> [program_parameters]Open guide
System command

bitsadmin setnotifyflags command

Sets the event notification flags for the specified job. This guide lists the documented syntax and parameters for bitsadmin setnotifyflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setnotifyflags <job> <notifyflags>Open guide
System command

bitsadmin setpeercachingflags command

Sets flags that determine if the files of the job can be cached and served to peers and if the job can download content from peers. This guide lists the documented syntax and parameters for bitsadmin setpeercachingflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setpeercachingflags <job> <value>Open guide
System command

bitsadmin setpriority command

Sets the priority of the specified job. This guide lists the documented syntax and parameters for bitsadmin setpriority; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setpriority <job> <priority>Open guide
System command

bitsadmin setproxysettings command

Sets the proxy settings for the specified job. This guide lists the documented syntax and parameters for bitsadmin setproxysettings; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setproxysettings <job> <usage> [list] [bypass]Open guide
System command

bitsadmin setreplyfilename command

Specifies the path of the file that contains the server upload-reply. This guide lists the documented syntax and parameters for bitsadmin setreplyfilename; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setreplyfilename <job> <file_path>Open guide
System command

bitsadmin setsecurityflags command

Sets security flags for HTTP to determine if BITS should check the certificate revocation list, ignore certain certificate errors, and define the policy to use when a server redirects the HTTP request. This guide lists the documented syntax and parameters for bitsadmin setsecurityflags; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setsecurityflags <job> <value>Open guide
System command

bitsadmin setvalidationstate command

Sets the content validation state of the given file within the job. This guide lists the documented syntax and parameters for bitsadmin setvalidationstate; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /setvalidationstate <job> <file_index> <TRUE|FALSE>Open guide
System command

bitsadmin suspend command

Suspends the specified job. This guide lists the documented syntax and parameters for bitsadmin suspend; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /suspend <job>Open guide
System command

bitsadmin takeownership command

Lets a user with administrative privileges take ownership of the specified job. This guide lists the documented syntax and parameters for bitsadmin takeownership; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /takeownership <job>Open guide
System command

bitsadmin transfer command

Transfers one or more files. This guide lists the documented syntax and parameters for bitsadmin transfer; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /transfer <name> [<type>] [/priority <job_priority>] [/ACLflags <flags>] [/DYNAMIC] <remotefilename> <localfilename>Open guide
System command

bitsadmin util command

Lists the /util switches. This guide lists the documented syntax and parameters for bitsadmin util; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /help bitsadmin /util /getieproxy bitsadmin /util /repairservice bitsadmin /util /setieproxy bitsadmin /util /versionOpen guide
System command

bitsadmin util and enableanalyticchannel command

Enables or disables the BITS client analytic channel. This guide lists the documented syntax and parameters for bitsadmin util and enableanalyticchannel; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /enableanalyticchannel TRUE|FALSEOpen guide
System command

bitsadmin util and getieproxy command

Retrieves the proxy usage for the given service account. This guide lists the documented syntax and parameters for bitsadmin util and getieproxy; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /getieproxy <account> [/conn <connectionname>]Open guide
System command

bitsadmin util and help command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for bitsadmin util and help; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /helpOpen guide
System command

bitsadmin util and repairservice command

If BITS fails to start, this switch attempts to resolve errors related to incorrect service configuration and dependencies on Windows services (such as LANManworkstation) and the network directory. This guide lists the documented syntax and parameters for bitsadmin util and repairservice; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /repairservice [/force]Open guide
System command

bitsadmin util and setieproxy command

Set the proxy settings to use when transferring files using a service account. This guide lists the documented syntax and parameters for bitsadmin util and setieproxy; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /setieproxy <account> <usage> [/conn <connectionname>]Open guide
System command

bitsadmin util and version command

Displays the version of BITS service (for example, 2.0). This guide lists the documented syntax and parameters for bitsadmin util and version; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /util /version [/verbose]Open guide
System command

bitsadmin wrap command

Wraps any line of output text extending beyond the rightmost edge of the command window to the next line. This guide lists the documented syntax and parameters for bitsadmin wrap; check Microsoft Learn for version, role and execution-context requirements.

bitsadmin /wrap <job>Open guide
System command

bootcfg command

Configures, queries, or changes Boot.ini file settings. This guide lists the documented syntax and parameters for bootcfg; check Microsoft Learn for version, role and execution-context requirements.

bootcfg <parameter> [arguments...]Open guide
System command

bootcfg addsw command

Adds operating system load options for a specified operating system entry. This guide lists the documented syntax and parameters for bootcfg addsw; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /addsw [/s <computer> [/u <domain>\<user> /p <password>]] [/mm <maximumram>] [/bv] [/so] [/ng] /id <osentrylinenum>Open guide
System command

bootcfg copy command

Makes a copy of an existing boot entry, to which you can add command-line options. This guide lists the documented syntax and parameters for bootcfg copy; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /copy [/s <computer> [/u <domain>\<user> /p <password>]] [/d <description>] [/id <osentrylinenum>]Open guide
System command

bootcfg dbg1394 command

Configures 1394 port debugging for a specified operating system entry. This guide lists the documented syntax and parameters for bootcfg dbg1394; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /dbg1394 {on | off}[/s <computer> [/u <domain>\<user> /p <password>]] [/ch <channel>] /id <osentrylinenum>Open guide
System command

bootcfg debug command

Adds or changes the debug settings for a specified operating system entry. This guide lists the documented syntax and parameters for bootcfg debug; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /debug {on | off | edit}[/s <computer> [/u <domain>\<user> /p <password>]] [/port {COM1 | COM2 | COM3 | COM4}] [/baud {9600 | 19200 | 38400 | 57600 | 115200}] [/id <osentrylinenum>]Open guide
System command

bootcfg default command

Specifies the operating system entry to designate as the default. This guide lists the documented syntax and parameters for bootcfg default; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /default [/s <computer> [/u <domain>\<user> /p <password>]] [/id <osentrylinenum>]Open guide
System command

bootcfg delete command

Deletes an operating system entry in the [operating systems] section of the Boot.ini file. This guide lists the documented syntax and parameters for bootcfg delete; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /delete [/s <computer> [/u <domain>\<user> /p <password>]] [/id <osentrylinenum>]Open guide
System command

bootcfg ems command

Enables the user to add or change the settings for redirection of the Emergency Management Services console to a remote computer. This guide lists the documented syntax and parameters for bootcfg ems; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /ems {on | off | edit}[/s <computer> [/u <domain>\<user> /p <password>]] [/port {COM1 | COM2 | COM3 | COM4 | BIOSSET}] [/baud {9600 | 19200 | 38400 | 57600 | 115200}] [/id <osentrylinenum>]Open guide
System command

bootcfg query command

Queries and displays the [boot loader] and [operating systems] section entries from Boot.ini. This guide lists the documented syntax and parameters for bootcfg query; check Microsoft Learn for version, role and execution-context requirements.

bootcfg /query [/s <computer> [/u <domain>\<user> /p <password>]]Open guide
System command

call command

Call another batch file or a label and return to the current script.

call [drive:][path]<filename> [<batchparameters>]] call [:<label> [<arguments>]]Open guide
System command

cd command

Display or change the current directory; /d can change the drive as well.

cd [/d] [<drive>:][<path>] cd [..]Open guide
System command

chdir command

Display or change the current directory; this is an alias of cd.

cd [/d] [<drive>:][<path>] cd [..]Open guide
System command

chkdsk command

Check a volume's file system and, with selected switches, attempt repairs.

chkdsk [<volume>[[<path>]<filename>]] [/f] [/v] [/r] [/x] [/i] [/c] [/l[:<size>]] [/b] [/scan] [/forceofflinefix] [/perf] [/spotfix] [/sdcleanup] [/offlinescanandfix] [/freeorphanedchains] [/markclean] [/?]Open guide
System command

cmd command

Start a new command interpreter with execution, environment and window options.

cmd [/c|/k] [/s] [/q] [/d] [/a|/u] [/t:{<b><f> | <f>}] [/e:{on | off}] [/f:{on | off}] [/v:{on | off}] [<string>]Open guide
System command

copy command

Copy one or more files to another file or directory.

copy [/d] [/v] [/n] [/y | /-y] [/z] [/a | /b] <source> [/a | /b] [+<source> [/a | /b] [+ ...]] [<destination> [/a | /b]]Open guide
System command

date command

Display or set the system date; /t displays without prompting for a change.

date [/t | <month-day-year>]Open guide
System command

del command

Delete selected files; recursive and quiet switches require careful path review.

del [/p] [/f] [/s] [/q] [/a[:]<attributes>] <names>Open guide
System command

dir command

List files and subdirectories, with filters, sorting and output-format switches.

dir [<drive>:][<path>][<filename>] [...] [/p] [/q] [/w] [/d] [/a[[:]<attributes>]][/o[[:]<sortorder>]] [/t[[:]<timefield>]] [/s] [/b] [/l] [/n] [/x] [/c] [/4] [/r]Open guide
System command

doskey command

Create command macros or display the current command history.

doskey [/reinstall] [/listsize=<size>] [/macros:[all | <exename>] [/history] [/insert | /overstrike] [/exename=<exename>] [/macrofile=<filename>] [<macroname>=[<text>]]Open guide
System command

exit command

Exit the command interpreter or return from a batch script with an exit code.

exit [/b] [<exitcode>]Open guide
System command

findstr command

Search files for matching text using literal or regular-expression patterns.

findstr [/b] [/e] [/l | /r] [/s] [/i] [/x] [/v] [/n] [/m] [/o] [/p] [/f:<file>] [/c:<string>] [/g:<file>] [/d:<dirlist>] [/a:<colorattribute>] [/off[line]] <strings> [<drive>:][<path>]<filename>[ ...]Open guide
System command

for command

Repeat a command over files, parsed text, directories or a numeric range.

for {%% | %}<variable> in (<set>) do <command> [<commandlineoptions>]Open guide
System command

ftype command

View or change the open command associated with a file type.

ftype [<filetype>[=[<opencommandstring>]]]Open guide
System command

help command

Display the command list or help for a command that provides a help topic.

help [<command>]Open guide
System command

if command

Run a command conditionally in a batch script.

if [not] ERRORLEVEL <number> <command> [else <expression>] if [not] <string1>==<string2> <command> [else <expression>] if [not] exist <filename> <command> [else <expression>] If command extensions are enabled, use the following syntax: if [/i] <string1> <compareop> <string2> <command> [else <expression>] if cmdextversion <number> <command> [else <expression>] if defined <variable> <command> [else <expression>]Open guide
System command

ipconfig command

Display or manage IP configuration and the DNS resolver cache.

ipconfig [/allcompartments] [/all] [/renew [<adapter>]] [/release [<adapter>]] [/renew6[<adapter>]] [/release6 [<adapter>]] [/flushdns] [/displaydns] [/registerdns] [/showclassid <adapter>] [/setclassid <adapter> [<classID>]]Open guide
System command

klist command

Displays a list of currently cached Kerberos tickets. This guide lists the documented syntax and parameters for klist; check Microsoft Learn for version, role and execution-context requirements.

klist [-lh <logonID.highpart>] [-li <logonID.lowpart>] tickets | tgt | purge | sessions | kcd_cache | get | add_bind | query_bind | purge_bindOpen guide
System command

ksetup command

Performs tasks related to setting up and maintaining Kerberos protocol and the Key Distribution Center (KDC) to support Kerberos realms. This guide lists the documented syntax and parameters for ksetup; check Microsoft Learn for version, role and execution-context requirements.

ksetupOpen guide
System command

ksetup addenctypeattr command

Adds the encryption type attribute to the list of possible types for the domain. This guide lists the documented syntax and parameters for ksetup addenctypeattr; check Microsoft Learn for version, role and execution-context requirements.

ksetup /addenctypeattr <domainname> {DES-CBC-CRC | DES-CBC-MD5 | RC4-HMAC-MD5 | AES128-CTS-HMAC-SHA1-96 | AES256-CTS-HMAC-SHA1-96}Open guide
System command

ksetup addhosttorealmmap command

Adds a service principal name (SPN) mapping between the stated host and the realm. This guide lists the documented syntax and parameters for ksetup addhosttorealmmap; check Microsoft Learn for version, role and execution-context requirements.

ksetup /addhosttorealmmap <hostname> <realmname>Open guide
System command

ksetup addkdc command

Adds a Key Distribution Center (KDC) address for the given Kerberos realm This guide lists the documented syntax and parameters for ksetup addkdc; check Microsoft Learn for version, role and execution-context requirements.

ksetup /addkdc <realmname> [<KDCname>]Open guide
System command

ksetup addkpasswd command

Adds a Kerberos password (kpasswd) server address for a realm. This guide lists the documented syntax and parameters for ksetup addkpasswd; check Microsoft Learn for version, role and execution-context requirements.

ksetup /addkpasswd <realmname> [<kpasswdname>]Open guide
System command

ksetup addrealmflags command

Applies to Windows Server (All supported versions) This guide lists the documented syntax and parameters for ksetup addrealmflags; check Microsoft Learn for version, role and execution-context requirements.

ksetup /addrealmflags <realmname> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4]Open guide
System command

ksetup changepassword command

Uses the Key Distribution Center (KDC) password (kpasswd) value to change the password of the logged-on user. This guide lists the documented syntax and parameters for ksetup changepassword; check Microsoft Learn for version, role and execution-context requirements.

ksetup /changepassword <oldpassword> <newpassword>Open guide
System command

ksetup delenctypeattr command

Removes the encryption type attribute for the domain. This guide lists the documented syntax and parameters for ksetup delenctypeattr; check Microsoft Learn for version, role and execution-context requirements.

ksetup /delenctypeattr <domainname>Open guide
System command

ksetup delhosttorealmmap command

Removes a service principal name (SPN) mapping between the stated host and the realm. This guide lists the documented syntax and parameters for ksetup delhosttorealmmap; check Microsoft Learn for version, role and execution-context requirements.

ksetup /delhosttorealmmap <hostname> <realmname>Open guide
System command

ksetup delkdc command

Deletes instances of Key Distribution Center (KDC) names for the Kerberos realm. This guide lists the documented syntax and parameters for ksetup delkdc; check Microsoft Learn for version, role and execution-context requirements.

ksetup /delkdc <realmname> <KDCname>Open guide
System command

ksetup delkpasswd command

Removes a Kerberos password server (kpasswd) for a realm. This guide lists the documented syntax and parameters for ksetup delkpasswd; check Microsoft Learn for version, role and execution-context requirements.

ksetup /delkpasswd <realmname> <kpasswdname>Open guide
System command

ksetup delrealmflags command

Removes realm flags from the specified realm. This guide lists the documented syntax and parameters for ksetup delrealmflags; check Microsoft Learn for version, role and execution-context requirements.

ksetup /delrealmflags <realmname> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4]Open guide
System command

ksetup domain command

Sets the domain name for all Kerberos operations. This guide lists the documented syntax and parameters for ksetup domain; check Microsoft Learn for version, role and execution-context requirements.

ksetup /domain <domainname>Open guide
System command

ksetup dumpstate command

Displays the current state of realm settings for all realms that are defined on the computer. This guide lists the documented syntax and parameters for ksetup dumpstate; check Microsoft Learn for version, role and execution-context requirements.

ksetup /dumpstateOpen guide
System command

ksetup getenctypeattr command

Retrieves the encryption type attribute for the domain. This guide lists the documented syntax and parameters for ksetup getenctypeattr; check Microsoft Learn for version, role and execution-context requirements.

ksetup /getenctypeattr <domainname>Open guide
System command

ksetup listrealmflags command

Lists the available realm flags that can be reported by ksetup. This guide lists the documented syntax and parameters for ksetup listrealmflags; check Microsoft Learn for version, role and execution-context requirements.

ksetup /listrealmflagsOpen guide
System command

ksetup mapuser command

Maps the name of a Kerberos principal to an account. This guide lists the documented syntax and parameters for ksetup mapuser; check Microsoft Learn for version, role and execution-context requirements.

ksetup /mapuser <principal> <account>Open guide
System command

ksetup removerealm command

Deletes all information for the specified realm from the registry. This guide lists the documented syntax and parameters for ksetup removerealm; check Microsoft Learn for version, role and execution-context requirements.

ksetup /removerealm <realmname>Open guide
System command

ksetup server command

Allows you to specify a name for a computer running the Windows operating system, so changes made by the ksetup command update the target computer. This guide lists the documented syntax and parameters for ksetup server; check Microsoft Learn for version, role and execution-context requirements.

ksetup /server <servername>Open guide
System command

ksetup setcomputerpassword command

Sets the password for the local computer. This guide lists the documented syntax and parameters for ksetup setcomputerpassword; check Microsoft Learn for version, role and execution-context requirements.

ksetup /setcomputerpassword <password>Open guide
System command

ksetup setenctypeattr command

Sets the encryption type attribute for the domain. This guide lists the documented syntax and parameters for ksetup setenctypeattr; check Microsoft Learn for version, role and execution-context requirements.

ksetup /setenctypeattr <domainname> {DES-CBC-CRC | DES-CBC-MD5 | RC4-HMAC-MD5 | AES128-CTS-HMAC-SHA1-96 | AES256-CTS-HMAC-SHA1-96}Open guide
System command

ksetup setrealm command

Sets the name of a Kerberos realm. This guide lists the documented syntax and parameters for ksetup setrealm; check Microsoft Learn for version, role and execution-context requirements.

ksetup /setrealm <DNSdomainname>Open guide
System command

ksetup setrealmflags command

This guide gathers the Microsoft Learn syntax and parameter reference for ksetup setrealmflags, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

ksetup /setrealmflags <realmname> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4]Open guide
System command

ktmutil command

Starts the Kernel Transaction Manager utility. This guide lists the documented syntax and parameters for ktmutil; check Microsoft Learn for version, role and execution-context requirements.

ktmutil list tms ktmutil list transactions [{TmGUID}] ktmutil resolve complete {TmGUID} {RmGUID} {EnGUID} ktmutil resolve commit {TxGUID} ktmutil resolve rollback {TxGUID} ktmutil force commit {GUID} ktmutil force rollback {GUID} ktmutil forgetOpen guide
System command

ktpass command

Configures the server principal name for the host or service in Active Directory Domain Services (AD DS) and generates a .keytab file that contains the shared secret key of the service. This guide lists the documented syntax and parameters for ktpass; check Microsoft Learn for version, role and execution-context requirements.

ktpassOpen guide
System command

label command

Creates, changes, or deletes the volume label (that is, the name) of a disk. This guide lists the documented syntax and parameters for label; check Microsoft Learn for version, role and execution-context requirements.

label [/mp] [<volume>] [<label>]Open guide
System command

list command

Displays a list of disks, of partitions in a disk, of volumes in a disk, or of virtual hard disks (VHDs). This guide lists the documented syntax and parameters for list; check Microsoft Learn for version, role and execution-context requirements.

list { disk | partition | volume | vdisk }Open guide
System command

list providers command

Lists shadow copy providers that are currently registered on the system. This guide lists the documented syntax and parameters for list providers; check Microsoft Learn for version, role and execution-context requirements.

list providersOpen guide
System command

list shadows command

Lists persistent and existing non-persistent shadow copies that are on the system. This guide lists the documented syntax and parameters for list shadows; check Microsoft Learn for version, role and execution-context requirements.

list shadows {all | set <setID> | id <shadowID>}Open guide
System command

list writers command

Lists writers that are on the system. This guide lists the documented syntax and parameters for list writers; check Microsoft Learn for version, role and execution-context requirements.

list writers [metadata | detailed | status]Open guide
System command

load metadata command

Loads a metadata .cab file prior to importing a transportable shadow copy or loads the writer metadata in the case of a restore. This guide lists the documented syntax and parameters for load metadata; check Microsoft Learn for version, role and execution-context requirements.

load metadata [<drive>:][<path>]<metadata.cab>Open guide
System command

lodctr command

Allows you to register or save performance counter name and registry settings in a file and designate trusted services. This guide lists the documented syntax and parameters for lodctr; check Microsoft Learn for version, role and execution-context requirements.

lodctr <filename> [/s:<filename>] [/r:<filename>] [/t:<servicename>]Open guide
System command

logman command

Creates and manages Event Trace Session and Performance logs and supports many functions of Performance Monitor from the command line. This guide lists the documented syntax and parameters for logman; check Microsoft Learn for version, role and execution-context requirements.

logman [create | query | start | stop | delete| update | import | export | /?] [options]Open guide
System command

logman create command

Creates a counter, trace, configuration data collector, or API. This guide lists the documented syntax and parameters for logman create; check Microsoft Learn for version, role and execution-context requirements.

logman create <counter | trace | alert | cfg | api> <[-n] <name>> [options]Open guide
System command

logman create alert command

Creates an alert data collector. This guide lists the documented syntax and parameters for logman create alert; check Microsoft Learn for version, role and execution-context requirements.

logman create alert <[-n] <name>> [options]Open guide
System command

logman create api command

Creates an API tracing data collector. This guide lists the documented syntax and parameters for logman create api; check Microsoft Learn for version, role and execution-context requirements.

logman create api <[-n] <name>> [options]Open guide
System command

logman create cfg command

Creates a configuration data collector. This guide lists the documented syntax and parameters for logman create cfg; check Microsoft Learn for version, role and execution-context requirements.

logman create cfg <[-n] <name>> [options]Open guide
System command

logman create counter command

Creates a counter data collector. This guide lists the documented syntax and parameters for logman create counter; check Microsoft Learn for version, role and execution-context requirements.

logman create counter <[-n] <name>> [options]Open guide
System command

logman create trace command

Create an event trace data collector. This guide lists the documented syntax and parameters for logman create trace; check Microsoft Learn for version, role and execution-context requirements.

logman create trace <[-n] <name>> [options]Open guide
System command

logman delete command

Deletes an existing data collector. This guide lists the documented syntax and parameters for logman delete; check Microsoft Learn for version, role and execution-context requirements.

logman delete <[-n] <name>> [options]Open guide
System command

logman import and logman export command

This guide gathers the Microsoft Learn syntax and parameter reference for logman import and logman export, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

logman import [-n] <name> -xml <name> [options] logman export [-n] <name> -xml <name> [options]Open guide
System command

logman query command

Queries data collector or data collector set properties. This guide lists the documented syntax and parameters for logman query; check Microsoft Learn for version, role and execution-context requirements.

logman query [providers|Data Collector Set name] [options]Open guide
System command

logman start and logman stop command

This guide gathers the Microsoft Learn syntax and parameter reference for logman start and logman stop, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

logman start <[-n] <name>> [options] logman stop <[-n] <name>> [options]Open guide
System command

logman update command

Updates an existing data collector. This guide lists the documented syntax and parameters for logman update; check Microsoft Learn for version, role and execution-context requirements.

logman update <counter | trace | alert | cfg | api> <[-n] <name>> [options]Open guide
System command

logman update alert command

Updates the properties of an existing alert data collector. This guide lists the documented syntax and parameters for logman update alert; check Microsoft Learn for version, role and execution-context requirements.

logman update alert <[-n] <name>> [options]Open guide
System command

logman update api command

Updates the properties of an existing API tracing data collector. This guide lists the documented syntax and parameters for logman update api; check Microsoft Learn for version, role and execution-context requirements.

logman update api <[-n] <name>> [options]Open guide
System command

logman update cfg command

Updates the properties of an existing configuration data collector. This guide lists the documented syntax and parameters for logman update cfg; check Microsoft Learn for version, role and execution-context requirements.

logman update cfg <[-n] <name>> [options]Open guide
System command

logman update counter command

Updates an existing counter data collector's properties. This guide lists the documented syntax and parameters for logman update counter; check Microsoft Learn for version, role and execution-context requirements.

logman update counter <[-n] <name>> [options]Open guide
System command

logman update trace command

Updates the properties of an existing event trace data collector. This guide lists the documented syntax and parameters for logman update trace; check Microsoft Learn for version, role and execution-context requirements.

logman update trace <[-n] <name>> [options]Open guide
System command

logoff command

Logs off a user from a session on a Remote Desktop Session Host server and deletes the session. This guide lists the documented syntax and parameters for logoff; check Microsoft Learn for version, role and execution-context requirements.

logoff [<sessionname> | <sessionID>] [/server:<servername>] [/v]Open guide
System command

lpq command

Displays the status of a print queue on a computer running Line printer Daemon (LPD). This guide lists the documented syntax and parameters for lpq; check Microsoft Learn for version, role and execution-context requirements.

lpq -S <servername> -P <printername> [-l]Open guide
System command

lpr command

Sends a file to a computer or printer sharing device running the Line printer Daemon (LPD) service in preparation for printing. This guide lists the documented syntax and parameters for lpr; check Microsoft Learn for version, role and execution-context requirements.

lpr [-S <servername>] -P <printername> [-C <bannercontent>] [-J <jobname>] [-o | -o l] [-x] [-d] <filename>Open guide
System command

macfile command

Manages File Server for Macintosh servers, volumes, directories, and files. This guide lists the documented syntax and parameters for macfile; check Microsoft Learn for version, role and execution-context requirements.

macfile directory[/server:\\<computername>] /path:<directory> [/owner:<ownername>] [/group:<groupname>] [/permissions:<permissions>]Open guide
System command

makecab command

Package existing files into a cabinet (.cab) file. This guide lists the documented syntax and parameters for makecab; check Microsoft Learn for version, role and execution-context requirements.

makecab [/v[n]] [/d var=<value> ...] [/l <dir>] <source> [<destination>] makecab [/v[<n>]] [/d var=<value> ...] /f <directives_file> [...]Open guide
System command

manage bde command

Turns on or turns off BitLocker, specifies unlock mechanisms, updates recovery methods, and unlocks BitLocker-protected data drives. This guide lists the documented syntax and parameters for manage bde; check Microsoft Learn for version, role and execution-context requirements.

manage-bde [-status] [-on] [-off] [-pause] [-resume] [-lock] [-unlock] [-autounlock] [-protectors] [-tpm]Open guide
System command

manage bde autounlock command

Manages the automatic unlocking of BitLocker-protected data drives. This guide lists the documented syntax and parameters for manage bde autounlock; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -autounlock [{-enable|-disable|-clearallkeys}] <drive> [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde changekey command

Modifies the startup key for an operating system drive. This guide lists the documented syntax and parameters for manage bde changekey; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -changekey [<drive>] [<pathtoexternalkeydirectory>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde changepassword command

Modifies the password for a data drive. This guide lists the documented syntax and parameters for manage bde changepassword; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -changepassword [<drive>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde changepin command

Modifies the PIN for an operating system drive. This guide lists the documented syntax and parameters for manage bde changepin; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -changepin [<drive>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde forcerecovery command

Forces a BitLocker-protected drive into recovery mode on restart. This guide lists the documented syntax and parameters for manage bde forcerecovery; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -forcerecovery <drive> [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde keypackage command

Generates a key package for a drive. This guide lists the documented syntax and parameters for manage bde keypackage; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -keypackage [<drive>] [-ID <keyprotectoryID>] [-path <pathtoexternalkeydirectory>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde lock command

Locks a BitLocker-protected drive to prevent access to it unless the unlock key is provided. This guide lists the documented syntax and parameters for manage bde lock; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -lock [<drive>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde off command

Decrypts the drive and turns off BitLocker. This guide lists the documented syntax and parameters for manage bde off; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -off [<volume>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde on command

Encrypts the drive and turns on BitLocker. This guide lists the documented syntax and parameters for manage bde on; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -on <drive> {[-recoverypassword <numericalpassword>]|[-recoverykey <pathtoexternaldirectory>]|[-startupkey <pathtoexternalkeydirectory>]|[-certificate]|Open guide
System command

manage bde pause command

Pauses BitLocker encryption or decryption. This guide lists the documented syntax and parameters for manage bde pause; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -pause [<volume>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde protectors command

Manages the protection methods used for the BitLocker encryption key. This guide lists the documented syntax and parameters for manage bde protectors; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -protectors [{-get|-add|-delete|-disable|-enable|-adbackup|-aadbackup}] <drive> [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde resume command

Resumes BitLocker encryption or decryption after it has been paused. This guide lists the documented syntax and parameters for manage bde resume; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -resume [<drive>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde setidentifier command

Sets the drive identifier field on the drive to the value specified in the Provide the unique identifiers for your organization Group Policy setting. This guide lists the documented syntax and parameters for manage bde setidentifier; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -setidentifier <drive> [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde status command

Provides information about all drives on the computer; whether or not they are BitLocker-protected, including: This guide lists the documented syntax and parameters for manage bde status; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -status [<drive>] [-protectionaserrorlevel] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde tpm command

Configures the computer's Trusted Platform Module (TPM). This guide lists the documented syntax and parameters for manage bde tpm; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -tpm [-turnon] [-takeownership <ownerpassword>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde unlock command

Unlocks a BitLocker-protected drive by using a recovery password or a recovery key. This guide lists the documented syntax and parameters for manage bde unlock; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -unlock {-recoverypassword -password | -recoverykey <pathtoexternalkeyfile>} <drive> [-certificate {-cf pathtocertificatefile | -ct certificatethumbprint} {-pin}] [-password] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde upgrade command

Upgrades the BitLocker version. This guide lists the documented syntax and parameters for manage bde upgrade; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -upgrade [<drive>] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

manage bde wipefreespace command

Wipes the free space on the volume, removing any data fragments that may have existed in the space. This guide lists the documented syntax and parameters for manage bde wipefreespace; check Microsoft Learn for version, role and execution-context requirements.

manage-bde -wipefreespace|-w [<drive>] [-cancel] [-computername <name>] [{-?|/?}] [{-help|-h}]Open guide
System command

mapadmin command

The mapadmin command-line utility administers User Name Mapping on the local or remote computer running Microsoft Services for Network File System. This guide lists the documented syntax and parameters for mapadmin; check Microsoft Learn for version, role and execution-context requirements.

mapadmin [<computer>] [-u <user> [-p <password>]] mapadmin [<computer>] [-u <user> [-p <password>]] {start | stop} mapadmin [<computer>] [-u <user> [-p <password>]] config <option[...]> mapadmin [<computer>] [-u <user> [-p <password>]] add -wu <windowsuser> -uu <UNIXuser> [-setprimary] mapadmin [<computer>] [-u <user> [-p <password>]] add -wg <windowsgroup> -ug <UNIXgroup> [-setprimary] mapadmin [<computer>] [-u <user> [-p <password>]] setprimary -wu <Windowsuser> [-uu <UNIXuser>] mapadmin [<computer>] [-u <user> [-p <password>]] setprimary -wg <Windowsgroup> [-ug <UNIXgroup>] mapadmin [<computer>] [-u <user> [-p <password>]] delete <option[...]> mapadmin [<computer>] [-u <user> [-p <password>]] list <option[...]> mapadmin [<computer>] [-u <user> [-p <password>]] backup <filename> mapadmin [<computer>] [-u <user> [-p <password>]] restore <filename>Open guide
System command

merge vdisk command

Merges a differencing virtual hard disk (VHD) with its corresponding parent VHD. This guide lists the documented syntax and parameters for merge vdisk; check Microsoft Learn for version, role and execution-context requirements.

merge vdisk depth=<n>Open guide
System command

mkdir command

Create a directory; command extensions can create intermediate directories.

mkdir [<drive>:]<path>Open guide
System command

mklink command

Create a symbolic link, hard link or directory junction.

mklink [[/d] | [/h] | [/j]] <link> <target>Open guide
System command

mmc command

Using mmc command-line options, you can open a specific mmc console, open mmc in author mode, or specify that the 32-bit or 64-bit version of mmc is opened. This guide lists the documented syntax and parameters for mmc; check Microsoft Learn for version, role and execution-context requirements.

mmc <path>\<filename>.msc [/a] [/64] [/32]Open guide
System command

mode command

Displays system status, changes system settings, or reconfigures ports or devices. This guide lists the documented syntax and parameters for mode; check Microsoft Learn for version, role and execution-context requirements.

mode com<m>[:] [baud=<b>] [parity=<p>] [data=<d>] [stop=<s>] [to={on|off}] [xon={on|off}] [odsr={on|off}] [octs={on|off}] [dtr={on|off|hs}] [rts={on|off|hs|tg}] [idsr={on|off}]Open guide
System command

more command

Displays one screen of output at a time. This guide lists the documented syntax and parameters for more; check Microsoft Learn for version, role and execution-context requirements.

<command> | more [/c] [/p] [/s] [/t<n>] [+<n>] more [[/c] [/p] [/s] [/t<n>] [+<n>]] < [<drive>:][<path>]<filename> more [/c] [/p] [/s] [/t<n>] [+<n>] [<files>]Open guide
System command

mount command

A command-line utility that mounts Network File System (NFS) network shares. This guide lists the documented syntax and parameters for mount; check Microsoft Learn for version, role and execution-context requirements.

mount [-o <option>[...]] [-u:<username>] [-p:{<password> | *}] {\\<computername>\<sharename> | <computername>:/<sharename>} {<devicename> | *}Open guide
System command

mountvol command

Creates, deletes, or lists a volume mount point. This guide lists the documented syntax and parameters for mountvol; check Microsoft Learn for version, role and execution-context requirements.

mountvol [<drive>:]<path volumename> mountvol [<drive>:]<path> /d mountvol [<drive>:]<path> /l mountvol [<drive>:]<path> /p mountvol /r mountvol [/n|/e] mountvol <drive>: /sOpen guide
System command

move command

Move files to another directory and control overwrite prompts.

move [{/y|-y}] [<source>] [<target>]Open guide
System command

mqbkup command

Backs up MSMQ message files and registry settings to a storage device and restores previously-stored messages and settings. This guide lists the documented syntax and parameters for mqbkup; check Microsoft Learn for version, role and execution-context requirements.

mqbkup {/b | /r} <folder path_to_storage_device>Open guide
System command

mqsvc command

Message Queuing technology enables apps running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. This guide lists the documented syntax and parameters for mqsvc; check Microsoft Learn for version, role and execution-context requirements.

mqsvc.exeOpen guide
System command

mqtgsvc command

Monitors a queue for incoming messages and performs an action, in the form of an executable file or COM component, when the rules of a trigger are evaluated as true. This guide lists the documented syntax and parameters for mqtgsvc; check Microsoft Learn for version, role and execution-context requirements.

mqtgsvc.exeOpen guide
System command

msdt command

Invokes a troubleshooting pack at the command line or as part of an automated script, and enables additional options without user input. This guide lists the documented syntax and parameters for msdt; check Microsoft Learn for version, role and execution-context requirements.

msdt </id <name> | /path <name> | /cab < name>> <</parameter> [options] … <parameter> [options]>>Open guide
System command

msg command

Sends a message to a user on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for msg; check Microsoft Learn for version, role and execution-context requirements.

msg {<username> | <sessionname> | <sessionID>| @<filename> | *} [/server:<servername>] [/time:<seconds>] [/v] [/w] [<message>]Open guide
System command

msiexec command

Provides the means to install, modify, and perform operations on Windows Installer from the command line. This guide lists the documented syntax and parameters for msiexec; check Microsoft Learn for version, role and execution-context requirements.

msiexec.exe [/i][/a][/j{u|m|/g|/t}][/x] <path_to_package> msiexec.exe /i <path_to_package> [/quiet][/passive][/q{n|b|r|f}]Open guide
System command

msinfo32 command

Opens the System Information tool to display a comprehensive view of the hardware, system components, and software environment on the local computer. This guide lists the documented syntax and parameters for msinfo32; check Microsoft Learn for version, role and execution-context requirements.

msinfo32 [/pch] [/nfo <path>] [/report <path>] [/computer <computername>] [/showcategories] [/category <categoryID>] [/categories {+<categoryID>(+<categoryID>)|+all(-<categoryID>)}]Open guide
System command

mstsc command

Creates connections to Remote Desktop Session Host servers or other remote computers and edits an existing Remote Desktop Connection (.rdp) configuration file. This guide lists the documented syntax and parameters for mstsc; check Microsoft Learn for version, role and execution-context requirements.

mstsc.exe [<connectionfile>] [/v:<server>[:<port>]] [/g:<gateway>] [/admin] [/f[ullscreen]] [/w:<width> /h:<height>] [/public] [/span] [/multimon] [/l] [/restrictedAdmin] [/remoteGuard] [/prompt] [/shadow:<sessionID> [/control] [/noConsentPrompt]] mstsc.exe /edit <connectionfile>Open guide
System command

nbtstat command

Displays NetBIOS over TCP/IP (NetBT) protocol statistics, NetBIOS name tables for both the local computer and remote computers, and the NetBIOS name cache. This guide lists the documented syntax and parameters for nbtstat; check Microsoft Learn for version, role and execution-context requirements.

nbtstat [/a <remotename>] [/A <IPaddress>] [/c] [/n] [/r] [/R] [/RR] [/s] [/S] [<interval>]Open guide
System command

net print command

Important This guide lists the documented syntax and parameters for net print; check Microsoft Learn for version, role and execution-context requirements.

net print {\\<computername>\<sharename> | \\<computername> <jobnumber> [/hold | /release | /delete]} [help]Open guide
System command

net user command

The `net user` command allows you to add, modify, or delete user accounts, and display detailed information about user accounts on a local computer or domain. This guide lists the documented syntax and parameters for net user; check Microsoft Learn for version, role and execution-context requirements.

net user [<UserName> {<Password> | *} [<Options>]] [/domain] net user [<UserName> {<Password> | *} /add [<Options>] [/domain]] net user [<UserName> [/delete] [/domain]] net user username [/times:{times | all}] net user username [/active: {yes | no}]Open guide
System command

netcfg command

Installs the Windows Preinstallation Environment (WinPE), a lightweight version of Windows used to deploy workstations. This guide lists the documented syntax and parameters for netcfg; check Microsoft Learn for version, role and execution-context requirements.

netcfg [/v] [/e] [/winpe] [/l ] /c /iOpen guide
System command

netdom command

`Netdom` is a command-line tool that enables administrators to manage Active Directory (AD) domains and trust relationships from the command line. This guide lists the documented syntax and parameters for netdom; check Microsoft Learn for version, role and execution-context requirements.

netdom [ ADD | COMPUTERNAME | HELP | JOIN | MOVE | MOVENT4BDC | QUERY | REMOVE | RENAMECOMPUTER | RESET | RESETPWD | TRUST | VERIFY ]Open guide
System command

netdom add command

The `netdom add` command adds a workstation or server account to a domain. This guide lists the documented syntax and parameters for netdom add; check Microsoft Learn for version, role and execution-context requirements.

netdom add machine [/Domain:domain] [/UserD:user] [/PasswordD:[password | *]]Open guide
System command

netdom computername command

The `netdom computername` command manages the primary and alternate names for a computer. This guide lists the documented syntax and parameters for netdom computername; check Microsoft Learn for version, role and execution-context requirements.

netdom computername machine [/UserO:user] [/PasswordO:[password | *]]Open guide
System command

netdom join command

The `netdom join` command joins a workstation or member server to a domain. This guide lists the documented syntax and parameters for netdom join; check Microsoft Learn for version, role and execution-context requirements.

netdom join machine /Domain:domain [/OU:ou path] [/UserD:user]Open guide
System command

netdom move command

The `netdom move` command moves a workstation or member server to a new domain. This guide lists the documented syntax and parameters for netdom move; check Microsoft Learn for version, role and execution-context requirements.

netdom move machine /Domain:domain [/OU:ou path]Open guide
System command

netdom movent4bdc command

The `netdom movent4bdc` command renames a Windows NT 4.0 backup domain controller (DC). This guide lists the documented syntax and parameters for netdom movent4bdc; check Microsoft Learn for version, role and execution-context requirements.

netdom movent4bdc machine [/Domain:domain] [/Reboot[:Time in seconds]]Open guide
System command

netdom query command

The `netdom query` command retrieves information from a domain about its membership and trust relationships. This guide lists the documented syntax and parameters for netdom query; check Microsoft Learn for version, role and execution-context requirements.

netdom query [/Domain:domain] [/Server:server]Open guide
System command

netdom remove command

The `netdom remove` command removes a workstation or server from a domain. This guide lists the documented syntax and parameters for netdom remove; check Microsoft Learn for version, role and execution-context requirements.

netdom remove machine [/Domain:domain] [/UserD:user]Open guide
System command

netdom renamecomputer command

The `netdom renamecomputer` command renames a domain workstation or member server and its corresponding domain account. This guide lists the documented syntax and parameters for netdom renamecomputer; check Microsoft Learn for version, role and execution-context requirements.

netdom renamecomputer machine /NewName:new-nameOpen guide
System command

netdom reset command

The `netdom reset` command resets the secure connection between a workstation and a domain controller (DC). This guide lists the documented syntax and parameters for netdom reset; check Microsoft Learn for version, role and execution-context requirements.

netdom reset machine [/Domain:domain] [/Server:server]Open guide
System command

netdom resetpwd command

The `netdom resetpwd` command resets the secure channel password of the machine account for a domain controller (DC). This guide lists the documented syntax and parameters for netdom resetpwd; check Microsoft Learn for version, role and execution-context requirements.

netdom resetpwd /Server:domain-controller /UserD:user /PasswordD:[password | *]Open guide
System command

netdom trust command

The `netdom trust` command allows administrators to manage, establish, verify, or reset trust relationships between domains. This guide lists the documented syntax and parameters for netdom trust; check Microsoft Learn for version, role and execution-context requirements.

netdom trust trusting_domain_name /Domain:trusted_domain_name [/UserD:user]Open guide
System command

netdom verify command

The `netdom verify` command checks the secure channel between a specified computer and a domain controller to ensure trust and connectivity are intact. This guide lists the documented syntax and parameters for netdom verify; check Microsoft Learn for version, role and execution-context requirements.

netdom verify machine [/Domain:domain] [/UserO:user] [/PasswordO:[password | *]] [/SecurePasswordPrompt]Open guide
System command

netsh command

View and manage network contexts and settings through subcommands.

netsh [-a <Aliasfile>] [-c <Context>] [-r <RemoteMachine>] [-u <DomainName>\<Username>] [-p <Password> | *] [<Command> | -f <ScriptFile>]Open guide
System command

netsh add command

The `netsh add` command is used to install helper Dynamic Link Libraries (DLL) allowing for more specialized network configurations. This guide lists the documented syntax and parameters for netsh add; check Microsoft Learn for version, role and execution-context requirements.

netsh add helper [file]Open guide
System command

netsh advfirewall command

Configures and manages Windows Firewall with Advanced Security, including profiles, rules, logging, connection security and monitoring. This guide lists the documented syntax and parameters for netsh advfirewall; check Microsoft Learn for version, role and execution-context requirements.

netsh advfirewall consec | dump | export | firewall | help | import | mainmode | monitor | reset | set | show | ? netsh advfirewall [consec | firewall | mainmode] <add> <delete> <dump> <help> <set> <show> <?> netsh advfirewall [monitor] <delete> <dump> <help> <show> <?> netsh advfirewall export <path\filename> netsh advfirewall import <path\filename> netsh advfirewall reset [export <path\filename>] netsh advfirewall set [allprofiles | currentprofile | domainprofile | privateprofile | publicprofile] state <on> <off> <notconfigured> netsh advfirewall set firewallpolicy <blockinbound> <blockinboundalways> <allowinbound> <allowoutbound> <blockoutbound> <notconfigured> netsh advfirewall set settings <localfirewallrules> <localconsecrules> <inboundusernotification> <remotemanagement> <unicastresponsetomulticast> netsh advfirewall set logging <allowedconnections> <droppedconnections> <filename> <maxfilesize> netsh advfirewall set global [statefulftp | statefulpptp] <enable> <disable> <notconfigured> netsh advfirewall set global ipsec [strongcrlcheck <value>] [saidletimemin <value>] [defaultexemptions <value>] [ipsecthroughnat <value>] [authzcomputergrp <value>] [authzusergrp <value>] netsh advfirewall set global mainmode [mmkeylifetime <value>] [mmsecmethods <value>] [mmforcedh <value>] netsh advfirewall show [allprofiles | currentprofile | domainprofile | privateprofile | publicprofile] <state> <firewallpolicy> <settings> <logging> netsh advfirewall show global <ipsec> <statefulftp> <statefulpptp> <mainmode> <categories> netsh advfirewall show <store>Open guide
System command

netsh branchcache command

The `netsh branchcache` command is used in Windows to manage BranchCache, a feature that speeds up access to data in branch offices. This guide lists the documented syntax and parameters for netsh branchcache; check Microsoft Learn for version, role and execution-context requirements.

netsh branchcache dump | exportkey | flush | help | importkey | reset | set | show | smb | ? netsh branchcache exportkey [outputfile=]<File Path> [passphrase]=<Pass Phrase> netsh branchcache importkey [inputfile=]<File Path> [passphrase]=<Pass Phrase> netsh branchcache set [cachesize | key | localcache | publicationcache | publicationcachesize | service] netsh branchcache set [cachesize | publicationcachesize] [size=]{DEFAULT|<number>} [[percent=]{TRUE|FALSE}] netsh branchcache set key [[passphrase=]<Pass Phrase>] netsh branchcache set [localcache | publicationcache] [directory=]{DEFAULT|<File Path>} netsh branchcache set service [mode=]{DISABLED|LOCAL|DISTRIBUTED|HOSTEDSERVER|HOSTEDCLIENT}Open guide
System command

netsh bridge command

The `netsh bridge` command configures network adapter bridge settings in Windows. This guide lists the documented syntax and parameters for netsh bridge; check Microsoft Learn for version, role and execution-context requirements.

netsh bridge [add | create | destroy | dump | help | list | remove | set | show | ?] netsh bridge add <Adapter ID> to <Bridge GUID> netsh bridge create [<Adapter ID #1> <Adapter ID #2>] netsh bridge destroy <Bridge GUID> netsh bridge list netsh bridge remove <Adapter ID> from <Bridge GUID> netsh bridge remove all from <Bridge GUID> netsh bridge set adapter [id=]<integer> [[forcecompatmode=]enable|disable] netsh bridge show adapterOpen guide
System command

netsh delete command

The `netsh delete` command is used to remove helper Dynamic Link Libraries (DLL) allowing for more specialized network configurations. This guide lists the documented syntax and parameters for netsh delete; check Microsoft Learn for version, role and execution-context requirements.

netsh delete helper [file]Open guide
System command

netsh dhcpclient command

The `netsh dhcpclient` command is used to configure and manage settings for the DHCP client, including enabling tracing and exporting diagnostic logs. This guide lists the documented syntax and parameters for netsh dhcpclient; check Microsoft Learn for version, role and execution-context requirements.

netsh dhcpclient [list | help | ? | trace] netsh dhcpclient list netsh dhcpclient trace <enable> <disable> netsh dhcpclient trace <dump>Open guide
System command

netsh dnsclient command

The `netsh dnsclient` command is used to configure and manage Domain Name System (DNS) client settings on a Windows computer. This guide lists the documented syntax and parameters for netsh dnsclient; check Microsoft Learn for version, role and execution-context requirements.

netsh dnsclient [add | delete | dump | help | set | show | ?] netsh dnsclient add dnsserver [name=]<string> [address=]<IP address> [[index=]<integer>] [[validate=]yes|no] netsh dnsclient add encryption [server=]<IP address> [dohtemplate=]<string> [dothost=]<hostname>:<port> [[autoupgrade=]yes|no] [[udpfallback=]yes|no] netsh dnsclient add global [[doh=]yes|no|auto] [[dot=]yes|no] [[ddr=]yes|no]Open guide
System command

netsh dump command

The `netsh dump` command generates a script that saves the system's current network settings. This guide lists the documented syntax and parameters for netsh dump; check Microsoft Learn for version, role and execution-context requirements.

netsh dumpOpen guide
System command

netsh exec command

The `netsh exec` command executes a script file. This guide lists the documented syntax and parameters for netsh exec; check Microsoft Learn for version, role and execution-context requirements.

netsh exec <ScriptFile>Open guide
System command

netsh http command

The `netsh http` command enables you to configure and manage HTTP settings for the HTTP Service in Windows. This guide lists the documented syntax and parameters for netsh http; check Microsoft Learn for version, role and execution-context requirements.

netsh http [add | delete | dump | flush | help | show | update | ?] netsh http add cacheparam [type=](cacherangechunksize|maxcacheresponsesize)Open guide
System command

netsh interface command

This guide gathers the Microsoft Learn syntax and parameter reference for netsh interface, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

netsh interface [6to4 | clat | dump | fl48 | fl68 | help | httpstunnel | ipv4 | ipv6 | isatap | portproxy | set | show | tcp | teredo | udp | ?]Open guide
System command

netsh ipsec command

The `netsh ipsec` command is used to configure and manage Internet Protocol Security (IPsec) policies and settings. This guide lists the documented syntax and parameters for netsh ipsec; check Microsoft Learn for version, role and execution-context requirements.

netsh ipsec [dump | dynamic | help | static | ?] netsh ipsec dynamic add mmpolicy [name=]<string> [qmpermm=]<integer> [mmlifetime=]<integer> [softsaexpirationtime=]<integer> [mmsecmethods=](sec#1 sec#2 ... sec#n) netsh ipsec dynamic add qmpolicy [name=]<string> [soft=](yes|no) [pfsgroup=](GRP1|GRP2|GRP3|GRPMM|NOPFS) [qmsecmethods=](neg#1 neg#2 ... neg#n) netsh ipsec dynamic add rule [srcaddr=](ipv4|ipv6|ipv4-ipv4|ipv6-ipv6|dns|server) [dstaddr=](ipv4|ipv6|ipv4-ipv4|ipv6-ipv6|dns|server)Open guide
System command

netsh lan command

The `netsh lan` command allows you to manage and configure local area network (LAN) settings on your computer. This guide lists the documented syntax and parameters for netsh lan; check Microsoft Learn for version, role and execution-context requirements.

netsh lan add | delete | dump | export | help | reconnect | set | show | ? netsh lan add profile [filename=]<string> [interface=]<string> netsh lan delete profile [interface=]<string> netsh lan export profile [folder=]<string> [interface=]<string> netsh lan reconnect [interface=]<string> netsh lan set autoconfig [enabled=] <yes|no> [interface=] <string> netsh lan set blockperiod [value=]<0-60> netsh lan set eapuserdata [filename=]<string> [allusers]<yes|no> [interface=]<string> netsh lan set profileparameter [[interface=]<string>]Open guide
System command

netsh mbn command

The `netsh mbn` command is used to configure, monitor, and troubleshoot Mobile Broadband (MBN) interfaces, including cellular modems and SIM-based network connections. This guide lists the documented syntax and parameters for netsh mbn; check Microsoft Learn for version, role and execution-context requirements.

netsh mbn [add | connect | delete | disconnect | dump | help | set | show | test | ?] netsh mbn add dmprofile [interface=]<string> [name=]<string> netsh mbn add profile [interface=]<string> [name=]<string> netsh mbn connect [interface=]<string> [connmode=]tmp|name [name=]<string> netsh mbn delete dmprofile [interface=]<string> [name=]<string> netsh mbn delete profile [interface=]<string> [name=]<string>Open guide
System command

netsh namespace command

The `netsh namespace` command retrieves and displays namespace policy information from a Windows system. This guide lists the documented syntax and parameters for netsh namespace; check Microsoft Learn for version, role and execution-context requirements.

netsh namespace [dump] [show] [help] [?] netsh namespace show <effectivepolicy> <policy> [namespace=] <string>Open guide
System command

netsh netio command

The `netsh netio` command is used to manage network binding filters, allowing administrators to control which clients can bind to specific network providers. This guide lists the documented syntax and parameters for netsh netio; check Microsoft Learn for version, role and execution-context requirements.

netsh netio [add | delete | dump | help | show | ?] netsh netio add bindingfilter [npi=]<string> [client=]<string> [provider=]<string>Open guide
System command

netsh nlm command

The `netsh nlm` command allows admins to manage the Network Location Manager (NLM) settings and behavior by manually overriding how Windows classifies the network connection quality. This guide lists the documented syntax and parameters for netsh nlm; check Microsoft Learn for version, role and execution-context requirements.

netsh nlm [ dump | enum | help | query | set | show | ?] netsh nlm enum <connection> <network> netsh nlm query all netsh nlm set connectionquality [<guid> [good|bad|ignore]] netsh nlm show <connectivity> <cost>Open guide
System command

netsh ras command

The `netsh ras` command manages Remote Access Service (RAS) settings. This guide lists the documented syntax and parameters for netsh ras; check Microsoft Learn for version, role and execution-context requirements.

netsh ras [aaaa | add | delete | diagnostics | dump | help | ip | ipv6 | set | show | ?] netsh ras aaaa add acctserver [name=]server [secret=]secret [init-score=]InitialScore [port=]portOpen guide
System command

netsh rpc command

The `netsh rpc` command enables administrators to configure, manage, and troubleshoot Remote Procedure Call (RPC) service settings, including selective binding, firewall filtering, and access control for RPC traffic. This guide lists the documented syntax and parameters for netsh rpc; check Microsoft Learn for version, role and execution-context requirements.

netsh rpc [add | delete | dump | filter | help | reset | show | ?] netsh rpc add <subnet> netsh rpc delete <subnet> netsh rpc dump netsh rpc filter add condition [field=]<string> [matchtype=]<string> [data=]<string> netsh rpc filter add filter netsh rpc filter add rule [layer=]<string> [actiontype=]<string> [[filterkey=]<string>]Open guide
System command

netsh set command

The `netsh set` command allows administrators to specify the target machine for subsequent network configuration tasks, enabling operations on either local or remote systems. This guide lists the documented syntax and parameters for netsh set; check Microsoft Learn for version, role and execution-context requirements.

netsh set machine [name=]<string> [user=][[DomainName\]UserName] [pwd=][Password | *]Open guide
System command

netsh show command

The `netsh show` command displays information about defined command aliases and available dynamic link library (DLL) modules. This guide lists the documented syntax and parameters for netsh show; check Microsoft Learn for version, role and execution-context requirements.

netsh show <alias> <helper>Open guide
System command

netsh trace command

The `netsh trace` command allows you to capture detailed network traffic and trace events, providing valuable data for diagnosing and troubleshooting network problems on Windows systems. This guide lists the documented syntax and parameters for netsh trace; check Microsoft Learn for version, role and execution-context requirements.

netsh trace [convert | correlate | diagnose | dump | export | help | merge | postreset | show | start | ?] netsh trace convert [input=]tracefilename.etl [output=]filename [dump=]CSV|XML|EVTX|TXT|No [report=]yes|noOpen guide
System command

netsh wcn command

The `netsh wcn` command allows administrators to configure and manage Wireless Configuration Network (WCN) settings on local or remote Windows devices. This guide lists the documented syntax and parameters for netsh wcn; check Microsoft Learn for version, role and execution-context requirements.

netsh wcn [dump] [enroll] [query] [help] [?] netsh wcn enroll [enrolleeUUID=] <string> [password=] <string> [profile=] <string> [interface=] <string> [type=] (auto | ethernet | 802dot11) netsh wcn query [SSID=] <string> [interface=] <string>Open guide
System command

netsh wfp command

The `netsh wfp` command is used to manage and troubleshoot the Windows Filtering Platform (WFP). This guide lists the documented syntax and parameters for netsh wfp; check Microsoft Learn for version, role and execution-context requirements.

netsh wfp [capture | dump | help | set | show | ?] netsh wfp capture start cab=<on|off> traceonly=<on|off> keywords=<none|bcast|mcast|bcast+mcast> file=<path> netsh wfp capture status netsh wfp capture stop netsh wfp dump netsh wfp set options netevents=<on|off> keywords=<none|bcast|mcast|bcast+mcast> txnwatchdog=<milliseconds> netsh wfp show appid file=<path>Open guide
System command

netsh winhttp command

The `netsh winhttp` command configures and manages the WinHTTP (Windows HTTP Services) settings. This guide lists the documented syntax and parameters for netsh winhttp; check Microsoft Learn for version, role and execution-context requirements.

netsh winhttp [dump | help | import | reset | set| show | ?] netsh winhttp dump netsh winhttp import proxy [source=]ie netsh winhttp reset <autoproxy> <proxy> <tracing> netsh winhttp set advproxy <settings-scope> <settings-file> <settings> netsh winhttp set proxy [proxy-server=]<server name> [bypass-list=]<hosts list> netsh winhttp set tracing netsh winhttp show <advproxy> <proxy> <tracing>Open guide
System command

netsh winsock command

The `netsh winsock` command manages the Windows Sockets (Winsock) API, which is responsible for network communication between applications and network services. This guide lists the documented syntax and parameters for netsh winsock; check Microsoft Learn for version, role and execution-context requirements.

netsh winsock [audit | dump | help | remove | reset | set | show | ?] netsh winsock audit trail netsh winsock dump netsh winsock remove provider <catalog id> netsh winsock reset netsh winsock set autotuning <on|off> netsh winsock show <autotuning> <catalog>Open guide
System command

netsh wlan command

The `netsh wlan` command enables administrators to configure, manage, and troubleshoot wireless networking on Windows. This guide lists the documented syntax and parameters for netsh wlan; check Microsoft Learn for version, role and execution-context requirements.

netsh wlan [add | connect | delete | disconnect | dump | export | help | IHV | refresh | reportissues | set | show | start | stop | ?] netsh wlan add filter [permission=]allow|block|denyall [ssid=]<string> [networktype=]infrastructure|adhoc netsh wlan add profile [filename=]<string> [interface=]<string> [user=]all|current netsh wlan connect [name=]<string> [ssid=]<string> [interface=]<string> netsh wlan delete filter [permission=]allow|block|denyall [ssid=]<string> [networktype=]infrastructure|adhoc netsh wlan delete profile [name=]<string> [[interface=]<string>] netsh wlan disconnect [interface=]<string> netsh wlan dump netsh wlan export <hostednetworkprofile> netsh wlan export profile [name=]<string> [folder=]<string> [[interface=]<string>] [key=<string>] netsh wlan IHV <startlogging> <stoplogging>Open guide
System command

netstat command

Display network connections, listening ports and related statistics.

netstat [-a] [-b] [-e] [-n] [-o] [-p <Protocol>] [-q] [-r] [-s] [<interval>]Open guide
System command

nfsadmin command

A command-line utility that administers Server for NFS or Client for NFS on the local or remote computer running Microsoft Services for Network File System (NFS). This guide lists the documented syntax and parameters for nfsadmin; check Microsoft Learn for version, role and execution-context requirements.

nfsadmin server [computername] [-u Username [-p Password]] -l nfsadmin server [computername] [-u Username [-p Password]] -r {client | all} nfsadmin server [computername] [-u Username [-p Password]] {start | stop} nfsadmin server [computername] [-u Username [-p Password]] config option[...] nfsadmin server [computername] [-u Username [-p Password]] creategroup <name> nfsadmin server [computername] [-u Username [-p Password]] listgroups nfsadmin server [computername] [-u Username [-p Password]] deletegroup <name>Open guide
System command

nfsshare command

Controls Network File System (NFS) shares. This guide lists the documented syntax and parameters for nfsshare; check Microsoft Learn for version, role and execution-context requirements.

nfsshare <sharename>=<drive:path> [-o <option=value>...] nfsshare {<sharename> | <drive>:<path> | * } /deleteOpen guide
System command

nfsstat command

A command-line utility that displays statistical info about the Network File System (NFS) and Remote Procedure Call (RPC) calls. This guide lists the documented syntax and parameters for nfsstat; check Microsoft Learn for version, role and execution-context requirements.

nfsstat [-c][-s][-n][-r][-z][-m]Open guide
System command

nlbmgr command

Configure and manage your Network Load Balancing clusters and all cluster hosts from a single computer, using the Network Load Balancing Manager. This guide lists the documented syntax and parameters for nlbmgr; check Microsoft Learn for version, role and execution-context requirements.

nlbmgr [/noping][/hostlist <filename>][/autorefresh <interval>][/help | /?]Open guide
System command

nslookup command

Displays information used to diagnose Domain Name System (DNS) infrastructure. Supports interactive and noninteractive lookup modes. This guide lists the documented syntax and parameters for nslookup; check Microsoft Learn for version, role and execution-context requirements.

nslookup [exit | finger | help | ls | lserver | root | server | set | view] [options]Open guide
System command

nslookup exit Command command

Exits the nslookup command-line tool. This guide lists the documented syntax and parameters for nslookup exit Command; check Microsoft Learn for version, role and execution-context requirements.

nslookup /exitOpen guide
System command

nslookup finger Command command

Connects with the finger server on the current device. This guide lists the documented syntax and parameters for nslookup finger Command; check Microsoft Learn for version, role and execution-context requirements.

finger [<username>] [{[>] <filename> | [>>] <filename>}]Open guide
System command

nslookup help command

Displays the subcommand help text. This guide lists the documented syntax and parameters for nslookup help; check Microsoft Learn for version, role and execution-context requirements.

helpOpen guide
System command

nslookup ls command

Lists DNS domain information. This guide lists the documented syntax and parameters for nslookup ls; check Microsoft Learn for version, role and execution-context requirements.

ls [<option>] <DNSdomain> [{[>] <filename>|[>>] <filename>}]Open guide
System command

nslookup lserver command

Changes the initial server to the specified Domain Name System (DNS) domain. This guide lists the documented syntax and parameters for nslookup lserver; check Microsoft Learn for version, role and execution-context requirements.

lserver <DNSdomain>Open guide
System command

nslookup root command

Changes the default server to the server for the root of the Domain Name System (DNS) domain name space. This guide lists the documented syntax and parameters for nslookup root; check Microsoft Learn for version, role and execution-context requirements.

rootOpen guide
System command

nslookup server command

This guide gathers the Microsoft Learn syntax and parameter reference for nslookup server, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

server <DNSdomain>Open guide
System command

nslookup set command

Changes configuration settings that affect how lookups function. This guide lists the documented syntax and parameters for nslookup set; check Microsoft Learn for version, role and execution-context requirements.

nslookup > set all [class | d2 | debug | domain | port | querytype | recurse | retry | root | search | srchlist | timeout | type | vc] [options]Open guide
System command

nslookup set all command

Outputs the current configuration setting values, including the default server and computer (the host). This guide lists the documented syntax and parameters for nslookup set all; check Microsoft Learn for version, role and execution-context requirements.

set allOpen guide
System command

nslookup set class command

Changes the query class. This guide lists the documented syntax and parameters for nslookup set class; check Microsoft Learn for version, role and execution-context requirements.

set class=<class>Open guide
System command

nslookup set d2 command

Turns the verbose debugging mode on or off. This guide lists the documented syntax and parameters for nslookup set d2; check Microsoft Learn for version, role and execution-context requirements.

set [no]d2Open guide
System command

nslookup set debug command

Turns debugging mode on or off. This guide lists the documented syntax and parameters for nslookup set debug; check Microsoft Learn for version, role and execution-context requirements.

set [no]debugOpen guide
System command

nslookup set domain command

Changes the default Domain Name System (DNS) domain name to the specified name. This guide lists the documented syntax and parameters for nslookup set domain; check Microsoft Learn for version, role and execution-context requirements.

set domain=<domainname>Open guide
System command

nslookup set port command

Changes the default TCP/UDP Domain Name System (DNS) name server port to the specified value. This guide lists the documented syntax and parameters for nslookup set port; check Microsoft Learn for version, role and execution-context requirements.

set port=<port>Open guide
System command

nslookup set querytype command

Changes the resource record type for the query. This guide lists the documented syntax and parameters for nslookup set querytype; check Microsoft Learn for version, role and execution-context requirements.

set querytype=<resourcerecordtype>Open guide
System command

nslookup set recurse command

Tells the Domain Name System (DNS) name server to query other servers if it can't find the information on the specified server. This guide lists the documented syntax and parameters for nslookup set recurse; check Microsoft Learn for version, role and execution-context requirements.

set [no]recurseOpen guide
System command

nslookup set retry command

This command sets the number of times a request is resent to a server for information, before giving up. This guide lists the documented syntax and parameters for nslookup set retry; check Microsoft Learn for version, role and execution-context requirements.

set retry=<number>Open guide
System command

nslookup set root command

Changes the name of the root server used for queries. This guide lists the documented syntax and parameters for nslookup set root; check Microsoft Learn for version, role and execution-context requirements.

set root=<rootserver>Open guide
System command

nslookup set search command

Appends the Domain Name System (DNS) domain names in the DNS domain search list to the request until an answer is received. This guide lists the documented syntax and parameters for nslookup set search; check Microsoft Learn for version, role and execution-context requirements.

set [no]searchOpen guide
System command

nslookup set srchlist command

Changes the default Domain Name System (DNS) domain name and search list. This guide lists the documented syntax and parameters for nslookup set srchlist; check Microsoft Learn for version, role and execution-context requirements.

set srchlist=<domainname>[/...]Open guide
System command

nslookup set timeout command

Changes the number of seconds to wait for a reply to a lookup request. This guide lists the documented syntax and parameters for nslookup set timeout; check Microsoft Learn for version, role and execution-context requirements.

set timeout=<number>Open guide
System command

nslookup set type command

Changes the resource record type for the query. This guide lists the documented syntax and parameters for nslookup set type; check Microsoft Learn for version, role and execution-context requirements.

set type=<resourcerecordtype>Open guide
System command

nslookup set vc command

Specifies whether to use a virtual circuit when sending requests to the server. This guide lists the documented syntax and parameters for nslookup set vc; check Microsoft Learn for version, role and execution-context requirements.

set [no]vcOpen guide
System command

nslookup view command

Sorts and lists the output of the previous ls commands or subcommands. This guide lists the documented syntax and parameters for nslookup view; check Microsoft Learn for version, role and execution-context requirements.

view <filename>Open guide
System command

ntbackup command

Applies to: Windows Server (All supported versions) This guide lists the documented syntax and parameters for ntbackup; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

ntcmdprompt command

Runs the command interpreter Cmd.exe, rather than Command.com, after running a Terminate and Stay Resident (TSR) or after starting the command prompt from within an MS-DOS application. This guide lists the documented syntax and parameters for ntcmdprompt; check Microsoft Learn for version, role and execution-context requirements.

ntcmdpromptOpen guide
System command

ntfrsutl command

Dumps the internal tables, thread, and memory information for the NT File Replication Service (NTFRS) from both the local and remote servers. This guide lists the documented syntax and parameters for ntfrsutl; check Microsoft Learn for version, role and execution-context requirements.

ntfrsutl[idtable|configtable|inlog|outlog][<computer>] ntfrsutl[memory|threads|stage][<computer>] ntfrsutl ds[<computer>] ntfrsutl [sets][<computer>] ntfrsutl [version][<computer>] ntfrsutl poll[/quickly[=[<n>]]][/slowly[=[<n>]]][/now][<computer>]Open guide
System command

offline command

Takes an online disk or volume to the offline state. This guide lists the documented syntax and parameters for offline; check Microsoft Learn for version, role and execution-context requirements.

offline disk offline volumeOpen guide
System command

offline disk command

Takes the online disk with focus to the offline state. This guide lists the documented syntax and parameters for offline disk; check Microsoft Learn for version, role and execution-context requirements.

offline disk [noerr]Open guide
System command

offline volume command

Takes the online volume with focus to the offline state. This guide lists the documented syntax and parameters for offline volume; check Microsoft Learn for version, role and execution-context requirements.

offline volume [noerr]Open guide
System command

online command

Takes an offline disk or volume to the online state. This guide lists the documented syntax and parameters for online; check Microsoft Learn for version, role and execution-context requirements.

online disk online volumeOpen guide
System command

online disk command

Takes the offline disk to the online state. This guide lists the documented syntax and parameters for online disk; check Microsoft Learn for version, role and execution-context requirements.

online disk [noerr]Open guide
System command

online volume command

Takes the offline volume to the online state. This guide lists the documented syntax and parameters for online volume; check Microsoft Learn for version, role and execution-context requirements.

online volume [noerr]Open guide
System command

openfiles command

Enables an administrator to query, display, or disconnect files and directories that have been opened on a system. This guide lists the documented syntax and parameters for openfiles; check Microsoft Learn for version, role and execution-context requirements.

openfiles /disconnect [/s <system> [/u [<domain>\]<username> [/p [<password>]]]] {[/id <openfileID>] | [/a <accessedby>] | [/o {read | write | read/write}]} [/op <openfile>]Open guide
System command

pagefileconfig command

Important This guide lists the documented syntax and parameters for pagefileconfig; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

path command

Display or set the executable search path for the current command session.

path [[<drive>:]<path>[;...][;%PATH%]] path ;Open guide
System command

pathping command

Provides information about network latency and network loss at intermediate hops between a source and destination. This guide lists the documented syntax and parameters for pathping; check Microsoft Learn for version, role and execution-context requirements.

pathping [/n] [/h <maximumhops>] [/g <hostlist>] [/p <Period>] [/q <numqueries> [/w <timeout>] [/i <IPaddress>] [/4 <IPv4>] [/6 <IPv6>][<targetname>]Open guide
System command

pbadmin command

Important This guide lists the documented syntax and parameters for pbadmin; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

pentnt command

Important This guide lists the documented syntax and parameters for pentnt; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

perfmon command

Start Windows Reliability and Performance Monitor in a specific standalone mode. This guide lists the documented syntax and parameters for perfmon; check Microsoft Learn for version, role and execution-context requirements.

perfmon </res|report|rel|sys>Open guide
System command

ping command

Send ICMP echo requests to test network reachability.

ping [/t] [/a] [/n <count>] [/l <size>] [/f] [/I <TTL>] [/v <TOS>] [/r <count>] [/s <count>] [{/j <hostlist> | /k <hostlist>}] [/w <timeout>] [/R] [/S <Srcaddr>] [/4] [/6] <targetname>Open guide
System command

pktmon command

Packet Monitor (Pktmon) is an in-box, cross-component network diagnostics tool for Windows. This guide lists the documented syntax and parameters for pktmon; check Microsoft Learn for version, role and execution-context requirements.

pktmon { filter | list | start | stop | status | unload | counters | reset | etl2txt | etl2pcap | hex2pkt | help } [options]Open guide
System command

pnpunattend command

Audits a computer for device drivers, and perform unattended driver installations, or search for drivers without installing and, optionally, report the results to the command line. This guide lists the documented syntax and parameters for pnpunattend; check Microsoft Learn for version, role and execution-context requirements.

PnPUnattend.exe auditsystem [/help] [/?] [/h] [/s] [/l]Open guide
System command

pnputil command

Pnputil.exe is a command line utility that you can use to manage the driver store. This guide lists the documented syntax and parameters for pnputil; check Microsoft Learn for version, role and execution-context requirements.

pnputil.exe [-f | -i] [ -? | -a | -d | -e ] <INF name>Open guide
System command

powershell command

Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. This guide lists the documented syntax and parameters for powershell; check Microsoft Learn for version, role and execution-context requirements.

PowerShell[.exe] [-PSConsoleFile <file> | -Version <version>] [-NoLogo] [-NoExit] [-Sta] [-Mta] [-NoProfile] [-NonInteractive] [-InputFormat {Text | XML}] [-OutputFormat {Text | XML}] [-WindowStyle <style>] [-EncodedArguments <Base64EncodedArguments>] [-EncodedCommand <Base64EncodedCommand>] [-ConfigurationName <string>] [-File - | <filePath> <args>] [-ExecutionPolicy <ExecutionPolicy>] [-Command - | { <script-block> [-args <arg-array>] } | { <string> [<CommandParameters>] }] PowerShell[.exe] -Help | -? | /?Open guide
System command

powershell ise command

Starts the Windows PowerShell Integrated Scripting Environment (ISE), where scripts and commands can be edited and run. This guide lists the documented syntax and parameters for powershell ise; check Microsoft Learn for version, role and execution-context requirements.

powershell_ise[.exe] ISE [-File] <FilePath[]> [-NoProfile] [-MTA] -Help | ? | -? | /?Open guide
System command

print command

Sends a text file to a printer. This guide lists the documented syntax and parameters for print; check Microsoft Learn for version, role and execution-context requirements.

print [/d:<printername>] [<drive>:][<path>]<filename>[ ...]Open guide
System command

prncnfg command

Configures or displays configuration information about a printer. This guide lists the documented syntax and parameters for prncnfg; check Microsoft Learn for version, role and execution-context requirements.

cscript prncnfg {-g | -t | -x | -?} [-S <Servername>] [-P <Printername>] [-z <newprintername>] [-u <Username>] [-w <password>] [-r <portname>] [-l <location>] [-h <sharename>] [-m <comment>] [-f <separatorfilename>] [-y <datatype>] [-st <starttime>] [-ut <untiltime>] [-i <defaultpriority>] [-o <priority>] [<+|->shared] [<+|->direct] [<+|->hidden] [<+|->published] [<+|->rawonly] [<+|->queued] [<+|->enablebidi] [<+|->keepprintedjobs] [<+|->workoffline] [<+|->enabledevq] [<+|->docompletefirst]Open guide
System command

prndrvr command

Adds, deletes, and lists printer drivers. This guide lists the documented syntax and parameters for prndrvr; check Microsoft Learn for version, role and execution-context requirements.

cscript prndrvr {-a | -d | -l | -x | -?} [-m <model>] [-v {0|1|2|3}] [-e <environment>] [-s <Servername>] [-u <Username>] [-w <password>] [-h <path>] [-i <inf file>]Open guide
System command

prnjobs command

Pauses, resumes, cancels, and lists print jobs. This guide lists the documented syntax and parameters for prnjobs; check Microsoft Learn for version, role and execution-context requirements.

cscript prnjobs {-z | -m | -x | -l | -?} [-s <Servername>] [-p <Printername>] [-j <JobID>] [-u <Username>] [-w <password>]Open guide
System command

prnmngr command

Adds, deletes, and lists printers or printer connections, in addition to setting and displaying the default printer. This guide lists the documented syntax and parameters for prnmngr; check Microsoft Learn for version, role and execution-context requirements.

cscript prnmngr {-a | -d | -x | -g | -t | -l | -?}[c] [-s <Servername>] [-p <Printername>] [-m <printermodel>] [-r <portname>] [-u <Username>] [-w <password>]Open guide
System command

prnport command

Creates, deletes, and lists standard TCP/IP printer ports, in addition to displaying and changing port configuration. This guide lists the documented syntax and parameters for prnport; check Microsoft Learn for version, role and execution-context requirements.

cscript prnport {-a | -d | -l | -g | -t | -?} [-r <portname>] [-s <Servername>] [-u <Username>] [-w <password>] [-o {raw | lpr}] [-h <Hostaddress>] [-q <Queuename>] [-n <portnumber>] -m{e | d} [-i <SNMPindex>] [-y <communityname>] -2{e | -d}Open guide
System command

prnqctl command

Prints a test page, pauses or resumes a printer, and clears a printer queue. This guide lists the documented syntax and parameters for prnqctl; check Microsoft Learn for version, role and execution-context requirements.

cscript Prnqctl {-z | -m | -e | -x | -?} [-s <Servername>] [-p <Printername>] [-u <Username>] [-w <password>]Open guide
System command

pubprn command

Publishes a printer to the Active Directory Domain Services. This guide lists the documented syntax and parameters for pubprn; check Microsoft Learn for version, role and execution-context requirements.

cscript pubprn {<servername> | <UNCprinterpath>} LDAP://CN=<container>,DC=<container>Open guide
System command

pushprinterconnections command

Reads Deployed Printer Connection settings from Group Policy and deploys/removes printer connections as needed. This guide lists the documented syntax and parameters for pushprinterconnections; check Microsoft Learn for version, role and execution-context requirements.

pushprinterconnections <-log> <-?>Open guide
System command

pwlauncher command

Enables or disables the Windows To Go Startup Options (pwlauncher). This guide lists the documented syntax and parameters for pwlauncher; check Microsoft Learn for version, role and execution-context requirements.

pwlauncher {/enable | /disable}Open guide
System command

qappsrv command

Displays a list of all Remote Desktop Session Host servers on the network. This guide lists the documented syntax and parameters for qappsrv; check Microsoft Learn for version, role and execution-context requirements.

qappsrv [<servername>] [/domain:<domain>] [/address] [/continue]Open guide
System command

qprocess command

Displays information about processes that are running on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for qprocess; check Microsoft Learn for version, role and execution-context requirements.

qprocess [*|<processID>|<username>|<sessionname>|/id:<nn>|<programname>] [/server:<servername>]Open guide
System command

query command

Displays information about processes, sessions, and Remote Desktop Session Host servers. This guide lists the documented syntax and parameters for query; check Microsoft Learn for version, role and execution-context requirements.

query process query session query termserver query userOpen guide
System command

query process command

Displays information about processes that are running on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for query process; check Microsoft Learn for version, role and execution-context requirements.

query process [*|<processID>|<username>|<sessionname>|/id:<nn>|<programname>] [/server:<servername>]Open guide
System command

query session command

Displays information about sessions on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for query session; check Microsoft Learn for version, role and execution-context requirements.

query session [<sessionname> | <username> | <sessionID>] [/server:<servername>] [/mode] [/flow] [/connect] [/counter]Open guide
System command

query termserver command

Displays a list of all Remote Desktop Session Host servers on the network. This guide lists the documented syntax and parameters for query termserver; check Microsoft Learn for version, role and execution-context requirements.

query termserver [<servername>] [/domain:<domain>] [/address] [/continue]Open guide
System command

query user command

Displays information about user sessions on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for query user; check Microsoft Learn for version, role and execution-context requirements.

query user [<username> | <sessionname> | <sessionID>] [/server:<servername>]Open guide
System command

quser command

Displays information about user sessions on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for quser; check Microsoft Learn for version, role and execution-context requirements.

quser [<username> | <sessionname> | <sessionID>] [/server:<servername>]Open guide
System command

qwinsta command

Displays information about sessions on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for qwinsta; check Microsoft Learn for version, role and execution-context requirements.

qwinsta [<sessionname> | <username> | <sessionID>] [/server:<servername>] [/mode] [/flow] [/connect] [/counter]Open guide
System command

rdpsign command

Enables you to digitally sign a Remote Desktop Protocol (.rdp) file. This guide lists the documented syntax and parameters for rdpsign; check Microsoft Learn for version, role and execution-context requirements.

rdpsign /sha1 <hash> [/q | /v |] [/l] <file_name.rdp>Open guide
System command

recover command

Recovers readable information from a bad or defective disk. This guide lists the documented syntax and parameters for recover; check Microsoft Learn for version, role and execution-context requirements.

recover [<drive>:][<path>]<filename>Open guide
System command

recover disk group command

This guide gathers the Microsoft Learn syntax and parameter reference for recover disk group, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

refsutil command

The `refsutil` tool is a command-line utility designed to manage and repair volumes formatted with the Resilient File System (ReFS) in Windows. This guide lists the documented syntax and parameters for refsutil; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

refsutil compression command

The `refsutil compression` command is used to query or set the compression parameters on a specified Resilient File System (ReFS) volume. This guide lists the documented syntax and parameters for refsutil compression; check Microsoft Learn for version, role and execution-context requirements.

refsutil compression <drive> <[/q]> | <[/c] [/f <format>] [/e <engine>] [/cs <size>]>Open guide
System command

refsutil dedup command

The `refsutil compression` command manages data deduplication on a specified Resilient File System (ReFS) volume. This guide lists the documented syntax and parameters for refsutil dedup; check Microsoft Learn for version, role and execution-context requirements.

refsutil dedup <drive> [/d] [/s] [/cpu <percentage>] [/mm]Open guide
System command

refsutil fixboot command

The `refsutil fixboot` command repairs or updates the boot sector of a specified ReFS (Resilient File System) volume. This guide lists the documented syntax and parameters for refsutil fixboot; check Microsoft Learn for version, role and execution-context requirements.

refsutil fixboot <drive> <MajorVersion> <MinorVersion> <ClusterSize> [-f] [-w <Dir>] [-smr <SMRBandSizeInMB>] [-x]Open guide
System command

refsutil iometrics command

The `refsutil iometrics` command allows you to query or set volume heat parameters for tracking input/output (IO) metrics on a ReFS (Resilient File System) volume. This guide lists the documented syntax and parameters for refsutil iometrics; check Microsoft Learn for version, role and execution-context requirements.

refsutil iometrics <drive> <[/q]> | <[/s] [/st <seconds>] [/sp <seconds>] [/sg <number>]>Open guide
System command

refsutil leak command

The `refsutil leak` command assists administrators in detecting and diagnosing storage leaks, which occur when storage space is consumed inefficiently or unnecessarily. This guide lists the documented syntax and parameters for refsutil leak; check Microsoft Learn for version, role and execution-context requirements.

refsutil leak <drive> [/a] [/x] [/v] [/d] [/q] [/t <count>] [/s <file>]Open guide
System command

refsutil salvage command

The `refsutil salvage` command attempts to diagnose severely damaged Resilient File System (ReFS) volumes. This guide lists the documented syntax and parameters for refsutil salvage; check Microsoft Learn for version, role and execution-context requirements.

refsutil salvage -QA | -FA | -C <source volume> <working directory> <target directory> <options> refsutil salvage -D | -QS | -FS | -IC <source volume> <working directory> <options> refsutil salvage -SL <source volume> <working directory> <target directory> <file list> <options>Open guide
System command

refsutil streamsnapshot command

The `refsutil streamsnapshot` command allows you to manage snapshots of data streams within files in the Resilient File System (ReFS). This guide lists the documented syntax and parameters for refsutil streamsnapshot; check Microsoft Learn for version, role and execution-context requirements.

refsutil streamsnapshot [/c <name>] [/l] [/d <name>] [/q <name>] <file[:stream]>Open guide
System command

refsutil triage command

The `refsutil triage` command is used to scrub directory contents or global tables on a ReFS (Resilient File System) volume, ensuring data integrity and consistency. This guide lists the documented syntax and parameters for refsutil triage; check Microsoft Learn for version, role and execution-context requirements.

refsutil triage <drive> [/s <id>] [/g] [/v]Open guide
System command

reg command

Performs operations on registry subkey information and values in registry entries. This guide lists the documented syntax and parameters for reg; check Microsoft Learn for version, role and execution-context requirements.

reg add reg compare reg copy reg delete reg export reg import reg load reg query reg restore reg save reg unloadOpen guide
System command

reg add command

Adds a new subkey or entry to the registry. This guide lists the documented syntax and parameters for reg add; check Microsoft Learn for version, role and execution-context requirements.

reg add <keyname> [/v valuename | /ve] [/t datatype] [/s separator] [/d data] [/f] [/reg:32 | /reg:64]Open guide
System command

reg compare command

Compares specified registry subkeys or entries. This guide lists the documented syntax and parameters for reg compare; check Microsoft Learn for version, role and execution-context requirements.

reg compare <keyname1> <keyname2> [{/v Valuename | /ve}] [{/oa | /od | /os | on}] [/s]Open guide
System command

reg copy command

Copies a registry entry to a specified location on the local or remote computer. This guide lists the documented syntax and parameters for reg copy; check Microsoft Learn for version, role and execution-context requirements.

reg copy <keyname1> <keyname2> [/s] [/f]Open guide
System command

reg delete command

Deletes a subkey or entries from the registry. This guide lists the documented syntax and parameters for reg delete; check Microsoft Learn for version, role and execution-context requirements.

reg delete <keyname> [{/v valuename | /ve | /va}] [/f]Open guide
System command

reg export command

Copies the specified subkeys, entries, and values of the local computer into a file for transfer to other servers. This guide lists the documented syntax and parameters for reg export; check Microsoft Learn for version, role and execution-context requirements.

reg export <keyname> <filename> [/y]Open guide
System command

reg import command

Copies the contents of a file that contains exported registry subkeys, entries, and values into the registry of the local computer. This guide lists the documented syntax and parameters for reg import; check Microsoft Learn for version, role and execution-context requirements.

reg import <filename>Open guide
System command

reg load command

Writes saved subkeys and entries into a different subkey in the registry. This guide lists the documented syntax and parameters for reg load; check Microsoft Learn for version, role and execution-context requirements.

reg load <keyname> <filename>Open guide
System command

reg query command

Returns a list of the next tier of subkeys and entries that are located under a specified subkey in the registry. This guide lists the documented syntax and parameters for reg query; check Microsoft Learn for version, role and execution-context requirements.

reg query <keyname> [{/v <valuename> | /ve}] [/s] [/se <separator>] [/f <data>] [{/k | /d}] [/c] [/e] [/t <Type>] [/z] [/reg:32] [/reg:64]Open guide
System command

reg restore command

Writes saved subkeys and entries back to the registry. This guide lists the documented syntax and parameters for reg restore; check Microsoft Learn for version, role and execution-context requirements.

reg restore <keyname> <filename>Open guide
System command

reg save command

Saves a copy of specified subkeys, entries, and values of the registry in a specified file. This guide lists the documented syntax and parameters for reg save; check Microsoft Learn for version, role and execution-context requirements.

reg save <keyname> <filename> [/y]Open guide
System command

reg unload command

Removes a section of the registry that was loaded using the reg load operation. This guide lists the documented syntax and parameters for reg unload; check Microsoft Learn for version, role and execution-context requirements.

reg unload <keyname>Open guide
System command

regini command

Modifies the registry from the command line or a script, and applies changes that were preset in one or more text files. This guide lists the documented syntax and parameters for regini; check Microsoft Learn for version, role and execution-context requirements.

regini [-m \\machinename | -h hivefile hiveroot][-i n] [-o outputwidth][-b] textfiles...Open guide
System command

regsvr32 command

Registers .dll files as command components in the registry. This guide lists the documented syntax and parameters for regsvr32; check Microsoft Learn for version, role and execution-context requirements.

regsvr32 [/u] [/s] [/n] [/i[:cmdline]] <Dllname>Open guide
System command

relog command

Extracts performance counters from performance counter logs into other formats, such as text-TSV (for tab-delimited text), text-CSV (for comma-delimited text), binary-BIN, or SQL. This guide lists the documented syntax and parameters for relog; check Microsoft Learn for version, role and execution-context requirements.

relog [<filename> [<filename> ...]] [/a] [/c <path> [<path> ...]] [/cf <filename>] [/f {bin|csv|tsv|SQL}] [/t <value>] [/o {outputfile|DSN!CounterLog}] [/b <M/D/YYYY> [[<HH>:] <MM>:] <SS>] [/e <M/D/YYYY> [[<HH>:] <MM>:] <SS>] [/config {<filename>|i}] [/q]Open guide
System command

remove command

Removes a drive letter or mount point from the volume with focus. This guide lists the documented syntax and parameters for remove; check Microsoft Learn for version, role and execution-context requirements.

remove [{letter=<drive> | mount=<path> [all]}] [noerr]Open guide
System command

ren command

Rename files or directories without moving them to a different path.

ren [<drive>:][<path>]<filename1> <filename2>Open guide
System command

rename command

Rename files or directories; this is an alias of ren.

ren [<drive>:][<path>]<filename1> <filename2>Open guide
System command

repair command

Repairs the RAID-5 volume with focus by replacing the failed disk region with the specified dynamic disk. This guide lists the documented syntax and parameters for repair; check Microsoft Learn for version, role and execution-context requirements.

repair disk=<n> [align=<n>] [noerr]Open guide
System command

repair bde command

Attempts to reconstruct critical parts of a severely damaged drive and salvage recoverable data if the drive was encrypted by using BitLocker and if it has a valid recovery password or recovery key for decryption. This guide lists the documented syntax and parameters for repair bde; check Microsoft Learn for version, role and execution-context requirements.

repair-bde <inputvolume> <outputvolumeorimage> [-rk] [-rp] [-pw] [-kp] [-lf] [-f] [{-?|/?}]Open guide
System command

replace command

Replace existing files in a directory. This guide lists the documented syntax and parameters for replace; check Microsoft Learn for version, role and execution-context requirements.

replace [<drive1>:][<path1>]<filename> [<drive2>:][<path2>] [/a] [/p] [/r] [/w] replace [<drive1>:][<path1>]<filename> [<drive2>:][<path2>] [/p] [/r] [/s] [/w] [/u]Open guide
System command

rescan command

Using the diskpart command interpreter, you can locate new disks added to your computer. This guide lists the documented syntax and parameters for rescan; check Microsoft Learn for version, role and execution-context requirements.

rescanOpen guide
System command

reset command

Resets DiskShadow.exe to the default state. This guide lists the documented syntax and parameters for reset; check Microsoft Learn for version, role and execution-context requirements.

resetOpen guide
System command

reset session command

Enables you to reset (delete) a session on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for reset session; check Microsoft Learn for version, role and execution-context requirements.

reset session {<sessionname> | <sessionID>} [/server:<servername>] [/v]Open guide
System command

retain command

Prepares an existing simple dynamic volume for use as a boot or system volume. This guide lists the documented syntax and parameters for retain; check Microsoft Learn for version, role and execution-context requirements.

retainOpen guide
System command

revert command

Reverts a volume back to a specified shadow copy. This guide lists the documented syntax and parameters for revert; check Microsoft Learn for version, role and execution-context requirements.

revert <shadowcopyID>Open guide
System command

rexec command

Runs a specified command on a remote host. This guide lists the documented syntax and parameters for rexec; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

risetup command

Creates an operating system image by pulling the files from the original Windows Server 2003 CD or from a customized distribution folder containing these files. This guide lists the documented syntax and parameters for risetup; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

robocopy command

Copy directory trees with retry, mirroring and metadata options; mirroring can remove destination files.

robocopy <source> <destination> [<file>[ ...]] [<options>]Open guide
System command

route ws2008 command

This guide gathers the Microsoft Learn syntax and parameter reference for route ws2008, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

rpcinfo command

Lists programs on remote computers. This guide lists the documented syntax and parameters for rpcinfo; check Microsoft Learn for version, role and execution-context requirements.

rpcinfo [/p [<node>]] [/b <program version>] [/t <node program> [<version>]] [/u <node program> [<version>]]Open guide
System command

rpcping command

Confirms the RPC connectivity between the computer running Microsoft Exchange Server and any of the supported Microsoft Exchange Client workstations on the network. This guide lists the documented syntax and parameters for rpcping; check Microsoft Learn for version, role and execution-context requirements.

rpcping [/t <protseq>] [/s <server_addr>] [/e <endpoint>Open guide
System command

rsh command

Runs commands on remote computers running the RSH service or daemon. This guide lists the documented syntax and parameters for rsh; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

rundll32 command

Loads and runs 32-bit dynamic-link libraries (DLLs). This guide lists the documented syntax and parameters for rundll32; check Microsoft Learn for version, role and execution-context requirements.

rundll32 <DLLname>Open guide
System command

rundll32 printui command

Automates many printer configuration tasks. This guide lists the documented syntax and parameters for rundll32 printui; check Microsoft Learn for version, role and execution-context requirements.

rundll32 printui.dll PrintUIEntry [baseparameter] [modificationparameter1] [modificationparameter2] [modificationparameterN]Open guide
System command

rwinsta command

Resets (deletes) a session on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for rwinsta; check Microsoft Learn for version, role and execution-context requirements.

rwinsta {<sessionname> | <sessionID>} [/server:<servername>] [/v]Open guide
System command

san command

Displays or sets the storage area network (san) policy for the operating system. This guide lists the documented syntax and parameters for san; check Microsoft Learn for version, role and execution-context requirements.

san [policy={onlineAll | offlineAll | offlineShared}] [noerr]Open guide
System command

sc config command

Modifies the value of a service's entries in the registry and in the Service Control Manager database. This guide lists the documented syntax and parameters for sc config; check Microsoft Learn for version, role and execution-context requirements.

sc.exe [<servername>] config [<servicename>] [type= {own | share | kernel | filesys | rec | adapt | interact type= {own | share}}] [start= {boot | system | auto | demand | disabled | delayed-auto}] [error= {normal | severe | critical | ignore}] [binpath= <binarypathname>] [group= <loadordergroup>] [tag= {yes | no}] [depend= <dependencies>] [obj= {<accountname> | <objectname>}] [displayname= <displayname>] [password= <password>]Open guide
System command

sc create command

Creates a subkey and entries for a service in the registry and in the Service Control Manager database. This guide lists the documented syntax and parameters for sc create; check Microsoft Learn for version, role and execution-context requirements.

sc.exe [<servername>] create [<servicename>] [type= {own | share | kernel | filesys | rec | interact type= {own | share}}] [start= {boot | system | auto | demand | disabled | delayed-auto}] [error= {normal | severe | critical | ignore}] [binpath= <binarypathname>] [group= <loadordergroup>] [tag= {yes | no}] [depend= <dependencies>] [obj= {<accountname> | <objectname>}] [displayname= <displayname>] [password= <password>]Open guide
System command

sc delete command

Deletes a service subkey from the registry. This guide lists the documented syntax and parameters for sc delete; check Microsoft Learn for version, role and execution-context requirements.

sc <server> delete [service name]Open guide
System command

sc query command

Obtains and displays information about the specified service, driver, type of service, or type of driver. This guide lists the documented syntax and parameters for sc query; check Microsoft Learn for version, role and execution-context requirements.

sc.exe [<servername>] query [<servicename>] [type= {driver | service | all}] [type= {own | share | interact | kernel | filesys | rec | adapt}] [state= {active | inactive | all}] [bufsize= <Buffersize>] [ri= <Resumeindex>] [group= <groupname>]Open guide
System command

schtasks command

Query and manage scheduled tasks.

schtasks /change /tn <Taskname> [/s <computer> [/u [<domain>\]<user> [/p <password>]]] [/ru <username>] [/rp <password>] [/tr <Taskrun>] [/st <Starttime>] [/ri <interval>] [/rl <level>] [{/et <Endtime> | /du <duration>} [/k]] [/sd <Startdate>] [/ed <Enddate>] [/{ENABLE | DISABLE}] [/it] [/z] schtasks /create /sc <scheduletype> /tn <taskname> /tr <taskrun> [/s <computer> [/u [<domain>\]<user> [/p <password>]]] [/ru {[<domain>\]<user> | system}] [/rp <password>] [/mo <modifier>] [/d <day>[,<day>...] | *] [/m <month>[,<month>...]] [/i <idletime>] [/st <starttime>] [/ri <interval>] [{/et <endtime> | /du <duration>} [/k]] [/sd <startdate>] [/ed <enddate>] [/it] [/np] [/z] [/xml <xmlfile>] [/v1] [/f] [/rl <level>] [/delay <delaytime>] [/hresult] schtasks /delete /tn {<taskname> | *} [/f] [/s <computer> [/u [<domain>\]<user> [/p <password>]]] schtasks /end /tn <taskname> [/s <computer> [/u [<domain>\]<user> [/p <password>]]] schtasks /query [/fo {TABLE | LIST | CSV}] [/nh] [/v] [/s <computer> [/u [<domain>\]<user> [/p <password>]]] [/tn <taskname>] [/xml] [/hresult] schtasks /run /tn <taskname> [/s <computer> [/u [<domain>\]<user> [/p <password>]]]Open guide
System command

scwcmd command

The Scwcmd.exe command-line tool included with the Security Configuration Wizard (SCW) can be used to perform the following tasks: This guide lists the documented syntax and parameters for scwcmd; check Microsoft Learn for version, role and execution-context requirements.

scwcmd analyze scwcmd configure scwcmd register scwcmd rollback scwcmd transform scwcmd viewOpen guide
System command

scwcmd analyze command

Determines whether a computer is in compliance with a policy. This guide lists the documented syntax and parameters for scwcmd analyze; check Microsoft Learn for version, role and execution-context requirements.

scwcmd analyze [[[/m:<computername> | /ou:<OuName>] /p:<policy>] | /i:<computerlist>] [/o:<resultdir>] [/u:<username>] [/pw:<password>] [/t:<threads>] [/l] [/e]Open guide
System command

scwcmd configure command

Applies a Security Configuration Wizard (SCW)-generated security policy to a computer. This guide lists the documented syntax and parameters for scwcmd configure; check Microsoft Learn for version, role and execution-context requirements.

scwcmd configure [[[/m:<computername> | /ou:<OuName>] /p:<policy>] | /i:<computerlist>] [/u:<username>] [/pw:<password>] [/t:<threads>]Open guide
System command

scwcmd register command

Extends or customizes the Security Configuration Wizard (SCW) Security Configuration Database by registering a Security Configuration Database file that contains role, task, service, or port definitions. This guide lists the documented syntax and parameters for scwcmd register; check Microsoft Learn for version, role and execution-context requirements.

scwcmd register /kbname:<MyApp> [/kbfile:<kb.xml>] [/kb:<path>] [/d]Open guide
System command

scwcmd rollback command

Applies the most recent rollback policy available, and then deletes that rollback policy. This guide lists the documented syntax and parameters for scwcmd rollback; check Microsoft Learn for version, role and execution-context requirements.

scwcmd rollback /m:<computername> [/u:<username>] [/pw:<password>]Open guide
System command

scwcmd transform command

Transforms a security policy file generated by using the Security Configuration Wizard (SCW) into a new Group Policy Object (GPO) in Active Directory Domain Services. This guide lists the documented syntax and parameters for scwcmd transform; check Microsoft Learn for version, role and execution-context requirements.

scwcmd transform /p:<policyfile.xml> /g:<GPOdisplayname>Open guide
System command

scwcmd view command

Renders an .xml file by using a specified .xsl transform. This guide lists the documented syntax and parameters for scwcmd view; check Microsoft Learn for version, role and execution-context requirements.

scwcmd view /x:<Xmlfile.xml> [/s:<Xslfile.xsl>]Open guide
System command

secedit command

Configures and analyzes system security by comparing your current security configuration against specified security templates. This guide lists the documented syntax and parameters for secedit; check Microsoft Learn for version, role and execution-context requirements.

secedit /analyze secedit /configure secedit /export secedit /generaterollback secedit /import secedit /validateOpen guide
System command

secedit analyze command

Allows you to analyze current systems settings against baseline settings that are stored in a database. This guide lists the documented syntax and parameters for secedit analyze; check Microsoft Learn for version, role and execution-context requirements.

secedit /analyze /db <database file name> [/cfg <configuration file name>] [/overwrite] [/log <log file name>] [/quiet}]Open guide
System command

secedit configure command

Allows you to configure the current system settings using security settings stored in a database. This guide lists the documented syntax and parameters for secedit configure; check Microsoft Learn for version, role and execution-context requirements.

secedit /configure /db <database file name> [/cfg <configuration file name>] [/overwrite] [/areas [securitypolicy | group_mgmt | user_rights | regkeys | filestore | services]] [/log <log file name>] [/quiet]Open guide
System command

secedit export command

Exports security settings stored in a database configured with security templates. This guide lists the documented syntax and parameters for secedit export; check Microsoft Learn for version, role and execution-context requirements.

secedit /export [/db <database file name>] [/mergedpolicy] /cfg <configuration file name> [/areas [securitypolicy | group_mgmt | user_rights | regkeys | filestore | services]] [/log <log file name>] [/quiet]Open guide
System command

secedit generaterollback command

Allows you to generate a rollback template for a specified configuration template. This guide lists the documented syntax and parameters for secedit generaterollback; check Microsoft Learn for version, role and execution-context requirements.

secedit /generaterollback /db <database file name> /cfg <configuration file name> /rbk <rollback template file name> [/log <log file name>] [/quiet]Open guide
System command

secedit import command

Imports security settings (.inf file), previously exported from the database configured with security templates. This guide lists the documented syntax and parameters for secedit import; check Microsoft Learn for version, role and execution-context requirements.

secedit /import /db <database file name> /cfg <configuration file name> [/overwrite] [/areas [securitypolicy | group_mgmt | user_rights | regkeys | filestore | services]] [/log <log file name>] [/quiet]Open guide
System command

secedit validate command

Validates the security settings stored in a security template (.inf file). This guide lists the documented syntax and parameters for secedit validate; check Microsoft Learn for version, role and execution-context requirements.

secedit /validate <configuration file name>Open guide
System command

select command

Shifts the focus to a disk, partition, volume, or virtual hard disk (VHD). This guide lists the documented syntax and parameters for select; check Microsoft Learn for version, role and execution-context requirements.

select disk select partition select vdisk select volumeOpen guide
System command

select disk command

Selects the specified disk and shifts the focus to it. This guide lists the documented syntax and parameters for select disk; check Microsoft Learn for version, role and execution-context requirements.

select disk={<n>|<disk path>|system|next}Open guide
System command

select partition command

Selects the specified partition and shifts the focus to it. This guide lists the documented syntax and parameters for select partition; check Microsoft Learn for version, role and execution-context requirements.

select partition=<n>Open guide
System command

select vdisk command

Selects the specified virtual hard disk (VHD) and shifts the focus to it. This guide lists the documented syntax and parameters for select vdisk; check Microsoft Learn for version, role and execution-context requirements.

select vdisk file=<full path> [noerr]Open guide
System command

select volume command

Selects the specified volume and shifts the focus to it. This guide lists the documented syntax and parameters for select volume; check Microsoft Learn for version, role and execution-context requirements.

select volume={<n>|<d>}Open guide
System command

serverceipoptin command

Allows you to participate in the Customer Experience Improvement Program (CEIP). This guide lists the documented syntax and parameters for serverceipoptin; check Microsoft Learn for version, role and execution-context requirements.

serverceipoptin [/query] [/enable] [/disable]Open guide
System command

servermanagercmd command

Installs and removes roles, role services, and features. This guide lists the documented syntax and parameters for servermanagercmd; check Microsoft Learn for version, role and execution-context requirements.

servermanagercmd -query [[[<drive>:]<path>]<query.xml>] [-logpath [[<drive>:]<path>]<log.txt>] servermanagercmd -inputpath [[[<drive>:]<path>]<answer.xml>] [-resultpath <result.xml> [-restart] | -whatif] [-logpath [[<drive>:]<path>]<log.txt>] servermanagercmd -install <id> [-allSubFeatures] [-resultpath [[<drive>:]<path>]<result.xml> [-restart] | -whatif] [-logpath [[<Drive>:]<path>]<log.txt>]Open guide
System command

serverweroptin command

Allows you to turn on error reporting. This guide lists the documented syntax and parameters for serverweroptin; check Microsoft Learn for version, role and execution-context requirements.

serverweroptin [/query] [/detailed] [/summary]Open guide
System command

set command

Display, set or remove environment variables in the current command session.

set set context set option set verbose set metadataOpen guide
System command

set context command

Sets the context for shadow copy creation. This guide lists the documented syntax and parameters for set context; check Microsoft Learn for version, role and execution-context requirements.

set context {clientaccessible | persistent [nowriters] | volatile [nowriters]}Open guide
System command

set environmental variables command

This guide gathers the Microsoft Learn syntax and parameter reference for set environmental variables, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

set id command

Changes the partition type field for the partition with focus. This guide lists the documented syntax and parameters for set id; check Microsoft Learn for version, role and execution-context requirements.

set id={ <byte> | <GUID> } [override] [noerr]Open guide
System command

set metadata command

Sets the name and location of the shadow creation metadata file used to transfer shadow copies from one computer to another. This guide lists the documented syntax and parameters for set metadata; check Microsoft Learn for version, role and execution-context requirements.

set metadata [<drive>:][<path>]<metadata.cab>Open guide
System command

set option command

Sets the options for shadow copy creation. This guide lists the documented syntax and parameters for set option; check Microsoft Learn for version, role and execution-context requirements.

set option {[differential | plex] [transportable] [[rollbackrecover] [txfrecover] | [noautorecover]]}Open guide
System command

set shadow copy command

This guide gathers the Microsoft Learn syntax and parameter reference for set shadow copy, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

set verbose command

Specifies whether verbose output is provided during shadow copy creation. This guide lists the documented syntax and parameters for set verbose; check Microsoft Learn for version, role and execution-context requirements.

set verbose {on | off}Open guide
System command

setlocal command

Begin a local environment scope in a batch script.

setlocal [enableextensions | disableextensions] [enabledelayedexpansion | disabledelayedexpansion]Open guide
System command

setspn command

This guide gathers the Microsoft Learn syntax and parameter reference for setspn, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

setspn <modifiers switch> <accountname> [-R] [-S] [-D] [-L] [-C] [-U] [-Q] [-X] [-P] [-F] [-T] [-?] [/?]Open guide
System command

setx command

Creates or modifies environment variables in the user or system environment, without requiring programming or scripting. This guide lists the documented syntax and parameters for setx; check Microsoft Learn for version, role and execution-context requirements.

setx [/s <computer> [/u [<domain>\]<user name> [/p [<password>]]]] <variable> <value> [/m] setx [/s <computer> [/u [<domain>\]<user name> [/p [<password>]]]] <variable>] /k <path> [/m] setx [/s <computer> [/u [<domain>\]<user name> [/p [<password>]]]] /f <filename> {[<variable>] {/a <X>,<Y> | /r <X>,<Y> <String>} [/m] | /x} [/d <delimiters>]Open guide
System command

sfc command

Scan protected Windows system files and repair supported issues.

sfc [/scannow] [/verifyonly] [/scanfile=<file>] [/verifyfile=<file>] [/offwindir=<offline windows directory> /offbootdir=<offline boot directory> /offlogfile=<log file path>]Open guide
System command

shadow command

Enables you to remotely control an active session of another user on a Remote Desktop Session Host server. This guide lists the documented syntax and parameters for shadow; check Microsoft Learn for version, role and execution-context requirements.

shadow {<sessionname> | <sessionID>} [/server:<servername>] [/v]Open guide
System command

showmount command

You can use showmount to display information about mounted file systems exported by Server for NFS on a specified computer. This guide lists the documented syntax and parameters for showmount; check Microsoft Learn for version, role and execution-context requirements.

showmount {-e|-a|-d} <server>Open guide
System command

shrink command

The Diskpart shrink command reduces the size of the selected volume by the amount you specify. This guide lists the documented syntax and parameters for shrink; check Microsoft Learn for version, role and execution-context requirements.

shrink [desired=<n>] [minimum=<n>] [nowait] [noerr] shrink querymax [noerr]Open guide
System command

shutdown command

Shut down, restart, sign out or schedule a system action.

shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/fw] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]Open guide
System command

simulate restore command

Tests whether writer involvement in restore sessions will be successful on the computer without issuing PreRestore or PostRestore events to writers. This guide lists the documented syntax and parameters for simulate restore; check Microsoft Learn for version, role and execution-context requirements.

simulate restoreOpen guide
System command

sort command

Reads input, sorts data, and writes the results to the screen, to a file, or to another device. This guide lists the documented syntax and parameters for sort; check Microsoft Learn for version, role and execution-context requirements.

sort [/r] [/+<N>] [/m <kilobytes>] [/l <locale>] [/rec <characters>] [[<drive1>:][<path1>]<filename1>] [/t [<drive2>:][<path2>]] [/o [<drive3>:][<path3>]<filename3>]Open guide
System command

start command

Start a program or command in a separate window, optionally waiting for it to finish.

start <"title"> [/d <path>] [/i] [{/min | /max}] [{/separate | /shared}] [{/low | /normal | /high | /realtime | /abovenormal | /belownormal}] [/node <NUMA node>] [/affinity <hexaffinity>] [/wait] [/b] [/machine <x86|amd64|arm|arm64>] [<command> [<parameter>... ] | <program> [<parameter>... ]]Open guide
System command

subcommand set device command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set device, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set drivergroup command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set drivergroup, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set drivergroupfilter command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set drivergroupfilter, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set driverpackage command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set driverpackage, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set image command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set image, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set imagegroup command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set imagegroup, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set multicasttransmission command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set multicasttransmission, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set server command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set server, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand set transportserver command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand set transportserver, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand start namespace command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand start namespace, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand start server command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand start server, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand start transportserver command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand start transportserver, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand stop server command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand stop server, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subcommand stop transportserver command

This guide gathers the Microsoft Learn syntax and parameter reference for subcommand stop transportserver, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context. Microsoft's command index has no standalone syntax for this entry; use local help where available.

No standalone syntax is published in the Microsoft command index; use local help where available.Open guide
System command

subst command

Associates a path with a drive letter. This guide lists the documented syntax and parameters for subst; check Microsoft Learn for version, role and execution-context requirements.

subst [<drive1>: [<drive2>:]<path>] subst <drive1>: /dOpen guide
System command

sxstrace command

Diagnoses side-by-side problems. This guide lists the documented syntax and parameters for sxstrace; check Microsoft Learn for version, role and execution-context requirements.

sxstrace [{[trace -logfile:<filename> [-nostop]|[parse -logfile:<filename> -outfile:<parsedfile> [-filter:<appname>]}]Open guide
System command

sysmon command

System Monitor (Sysmon) is a Windows system service and device driver that you install on a system. This guide lists the documented syntax and parameters for sysmon; check Microsoft Learn for version, role and execution-context requirements.

sysmon [-i [<configfile>]] [-c [<configfile>]] [-m] [-s] [-u [force]] [-accepteula]Open guide
System command

sysocmgr command

The sysocmger command has been deprecated and isn't guaranteed to be supported in future releases of Windows. This guide lists the documented syntax and parameters for sysocmgr; check Microsoft Learn for version, role and execution-context requirements. The linked article does not provide a standalone syntax block for this entry.

See the linked Microsoft Learn article for documented syntax.Open guide
System command

systeminfo command

Display detailed operating-system, security and hardware information for a computer.

systeminfo [/s <computer> [/u <domain>\<username> [/p <password>]]] [/fo {TABLE | LIST | CSV}] [/nh]Open guide
System command

taskkill command

End processes by ID or image name; forced termination may lose unsaved work.

taskkill [/s <computer> [/u [<domain>\]<username> [/p [<password>]]]] {[/fi <filter>] [...] [/pid <processID> | /im <imagename>]} [/f] [/t]Open guide
System command

tasklist command

List running processes and optional service or module details.

tasklist [/s <computer> [/u [<domain>\]<username> [/p <password>]]] [{/m <module> | /svc | /v}] [/fo {table | list | csv}] [/nh] [/fi <filter> [/fi <filter> [ ... ]]]Open guide
System command

time command

Display or set the system time; /t displays without prompting for a change.

time [/t | [<HH>[:<MM>[:<SS>]] [am|pm]]]Open guide
System command

tracert command

Trace the network route toward a destination host.

tracert [/d] [/h <maximumhops>] [/j <hostlist>] [/w <timeout>] [/R] [/S <srcaddr>] [/4][/6] <targetname>Open guide
System command

wevtutil command

Query, export and manage Windows event logs.

wevtutil [{el | enum-logs}] [{gl | get-log} <Logname> [/f:<Format>]]Open guide
System command

where command

Locate matching files, commonly executables available through PATH.

where [/r <Dir>] [/q] [/f] [/t] [$<ENV>:|<Path>:]<Pattern>[ ...]Open guide
System command

xcopy command

Copy files and directory trees with selection and recursion options.

xcopy <Source> [<Destination>] [/w] [/p] [/c] [/v] [/q] [/f] [/l] [/g] [/d [:MM-DD-YYYY]] [/u] [/i] [/s [/e]] [/t] [/k] [/r] [/h] [{/a | /m}] [/n] [/o] [/x] [/exclude:FileName1[+[FileName2]][+[FileName3]]] [{/y | /-y}] [/z] [/b] [/j] [/compress]Open guide