HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cmstp — Manage connection service profiles. More information: <https://learn.microsoft.com/windows-server/ad

Submitted by: @import:tldr-pages··
0
Viewed 0 times
profilescommandconnectioncmstpclimanageservicemore
windows

Problem

How to use the cmstp command: Manage connection service profiles. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cmstp>.

Solution

cmstp — Manage connection service profiles. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cmstp>.

Install a specific profile:
cmstp "{{path\to\profile_file}}"


Install without creating a desktop shortcut:
cmstp /ns "{{path\to\profile_file}}"


Install without checking for dependencies:
cmstp /nf "{{path\to\profile_file}}"


Only install for the current user:
cmstp /su "{{path\to\profile_file}}"


Install for all users (requires administrator privileges):
cmstp /au "{{path\to\profile_file}}"


Install silently without any prompts:
cmstp /s "{{path\to\profile_file}}"


Uninstall a specific profile:
cmstp /u "{{path\to\profile_file}}"


Uninstall silently without a confirmation prompt:
cmstp /u /s "{{path\to\profile_file}}"

Code Snippets

Install a specific profile

cmstp "{{path\to\profile_file}}"

Install without creating a desktop shortcut

cmstp /ns "{{path\to\profile_file}}"

Install without checking for dependencies

cmstp /nf "{{path\to\profile_file}}"

Only install for the current user

cmstp /su "{{path\to\profile_file}}"

Install for all users (requires administrator privileges)

cmstp /au "{{path\to\profile_file}}"

Context

tldr-pages: windows/cmstp

Revisions (0)

No revisions yet.