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 Browse CMD shell built-ins and Microsoft-documented Windows command-line tools, with version and feature notes.
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 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 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 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 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 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 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 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 View or change the file-type association for a filename extension.
assoc [<.[ext]>[=[<filetype>]]]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 * 【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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Control the legacy Ctrl+C checking behaviour in supported command contexts.
break=[on|off]Open guide Call another batch file or a label and return to the current script.
call [drive:][path]<filename> [<batchparameters>]]
call [:<label> [<arguments>]]Open guide Display or change the current directory; /d can change the drive as well.
cd [/d] [<drive>:][<path>]
cd [..]Open guide Display or set the active console code page.
chcp [<nnn>]Open guide Display or change the current directory; this is an alias of cd.
cd [/d] [<drive>:][<path>]
cd [..]Open guide 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 Clear the visible contents of the Command Prompt window.
clsOpen guide 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 Set the foreground and background colours of the command window.
color [attr]Open guide 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 Display or set the system date; /t displays without prompting for a change.
date [/t | <month-day-year>]Open guide Delete selected files; recursive and quiet switches require careful path review.
del [/p] [/f] [/s] [/q] [/a[:]<attributes>] <names>Open guide 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 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 Display text or enable and disable command echoing.
echo [<message>]
echo [on | off]Open guide End a setlocal scope and restore the previous environment.
endlocalOpen guide Delete files; this is an alias of del.
del [/p] [/f] [/s] [/q] [/a[:]<attributes>] <names>Open guide Exit the command interpreter or return from a batch script with an exit code.
exit [/b] [<exitcode>]Open guide 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 Repeat a command over files, parsed text, directories or a numeric range.
for {%% | %}<variable> in (<set>) do <command> [<commandlineoptions>]Open guide View or change the open command associated with a file type.
ftype [<filetype>[=[<opencommandstring>]]]Open guide Jump to a label in a batch script.
goto <label>Open guide Display the command list or help for a command that provides a help topic.
help [<command>]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Create a directory; this is an alias of mkdir.
mkdir [<drive>:]<path>Open guide 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 Create a directory; command extensions can create intermediate directories.
mkdir [<drive>:]<path>Open guide Create a symbolic link, hard link or directory junction.
mklink [[/d] | [/h] | [/j]] <link> <target>Open guide 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 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 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 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 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 Move files to another directory and control overwrite prompts.
move [{/y|-y}] [<source>] [<target>]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 `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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Display network connections, listening ports and related statistics.
netstat [-a] [-b] [-e] [-n] [-o] [-p <Protocol>] [-q] [-r] [-s] [<interval>]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Display or set the executable search path for the current command session.
path [[<drive>:]<path>[;...][;%PATH%]]
path ;Open guide 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 Pause a batch script until a key is pressed.
pauseOpen guide 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 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 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 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 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 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 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 Return to the directory saved by pushd.
popdOpen guide 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 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 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 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 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 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 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 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 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 Set the text and tokens displayed by the command prompt.
prompt [<text>]Open guide 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 Save the current directory and change to another path.
pushd [<path>]Open guide 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 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 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 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 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 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 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 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 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 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 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 Remove a directory; this is an alias of rmdir.
rmdir [<drive>:]<path> [/s [/q]]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Add a comment to a batch script.
rem [<comment>]Open guide 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 Rename files or directories without moving them to a different path.
ren [<drive>:][<path>]<filename1> <filename2>Open guide Rename files or directories; this is an alias of ren.
ren [<drive>:][<path>]<filename1> <filename2>Open guide 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 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 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 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 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 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 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 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 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 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 Remove a directory; /s removes its tree and contents.
rmdir [<drive>:]<path> [/s [/q]]Open guide Copy directory trees with retry, mirroring and metadata options; mirroring can remove destination files.
robocopy <source> <destination> [<file>[ ...]] [<options>]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Display, set or remove environment variables in the current command session.
set
set context
set option
set verbose
set metadataOpen guide 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 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 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 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 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 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 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 Begin a local environment scope in a batch script.
setlocal [enableextensions | disableextensions] [enabledelayedexpansion | disabledelayedexpansion]Open guide 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 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 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 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 Shift batch parameters to a different position.
shift [/n <N>]Open guide 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Display or set the system time; /t displays without prompting for a change.
time [/t | [<HH>[:<MM>[:<SS>]] [am|pm]]]Open guide Set the title displayed in the command window.
title [<string>]Open guide Trace the network route toward a destination host.
tracert [/d] [/h <maximumhops>] [/j <hostlist>] [/w <timeout>] [/R] [/S <srcaddr>] [/4][/6] <targetname>Open guide Display the contents of one or more text files.
type [<drive>:][<path>]<filename>Open guide Display the Windows version string.
verOpen guide Enable or disable file-write verification checks.
verify [on | off]Open guide Display a drive's volume label and serial number.
vol [<drive>:]Open guide Query, export and manage Windows event logs.
wevtutil [{el | enum-logs}] [{gl | get-log} <Logname> [/f:<Format>]]Open guide Locate matching files, commonly executables available through PATH.
where [/r <Dir>] [/q] [/f] [/t] [$<ENV>:|<Path>:]<Pattern>[ ...]Open guide 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 No matching entries. Try another search.