Cmstp command in Windows
Applies to : Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
The cmstp command installs or deletes the Connection Manager service configuration. If used without parameters, the cmstp command will install the service configuration with the default settings that are appropriate for the operating system and user rights.
Cmstp command syntax
Syntax 1
ServiceProfileFileName .exe /q:a /c:"cmstp.exe ServiceProfileFileName .inf [/nf] [/ni] [/ns] [/s] [/su] [/u]"
Syntax 2
cmstp.exe [/nf] [/ni] [/ns] [/s] [/su] [/u] [Drive:][path]ServiceProfileFileName.inf"
Parameters
ParameterExample .exeSpecify, by name, for the installation package that contains the configuration you want to install.
Required for Syntax 1 but not valid for Syntax 2.
/ q: aSpecifies that the configuration will be installed without prompting the user. The message verifies that the installation was successful will still appear.
Required for Syntax 1 but not valid for Syntax 2.
[Drive:] [path] .infNecessary. Specify, by name, file to determine how the configuration is installed.
The parameter [Drive:] [path] is invalid for Syntax 1.
/ nf Specifies that the supported files should not be installed. / ni Assign that you should not create an icon on the screen. This parameter is only valid for computers running Windows 95, Windows 98, Windows NT 4.0 or Windows Millennium edition. / ns Specifies that the shortcut is not created on the screen. This parameter is only valid for computers that are running one of the operating systems that belong to the Windows Server 2003, Windows 2000, or Windows XP family. / s Specifies that the service configuration will be installed or uninstalled silently (without prompting user feedback or displaying verification messages). / su Specifies that the service configuration should be set for a single user instead of for all users. This parameter is only valid for computers that are running Windows Server 2003, Windows 2000, or Windows XP. / au Specifies that the service configuration should be installed for all users. This parameter is only valid for computers that are running Windows Server 2003, Windows 2000, or Windows XP. / u Specifies that the service configuration should be uninstalled. /? Show help at the command prompt.Note
/ s is the only parameter you can use in conjunction with / u. Syntax 1 is the typical syntax used in a custom installation application. To use this syntax, you must run the cmstp command from the directory containing the .exe file .
For example
To install the Fiction service configuration without any support files, enter:
fiction.exe /c:"cmstp.exe fiction.inf /nf"
To silently configure the Fiction service for a user, enter:
fiction.exe /c:"cmstp.exe fiction.inf /s /su"
To silently uninstall the Fiction service configuration, enter:
fiction.exe /c:"cmstp.exe fiction.inf /s /u"
See more:
- Cmdkey command in Windows
- Color command in Windows
- Clip command in Windows
You should read it
May be interested
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Xcopy command in Windowsthe xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
- The cacls command in Windowsthe cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.