2019-01-02 15:25:06 +00:00
|
|
|
# cmstp
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> A command-line tool for managing connection service profiles.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cmstp>.
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Install a specific profile:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Install without creating a desktop shortcut:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /ns "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Install without checking for dependencies:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /nf "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Only install for the current user:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /su "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Install for all users (requires administrator privileges):
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /au "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Install silently without any prompts:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /s "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Uninstall a specific profile:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /u "{{path\to\profile_file}}"`
|
2019-01-02 15:25:06 +00:00
|
|
|
|
|
|
|
- Uninstall silently without a confirmation prompt:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`cmstp /u /s "{{path\to\profile_file}}"`
|