You can enable the WS-Management protocol on the local computer and set up the default configuration for remote management with the following command: Winrm quickconfig.
The winrm quickconfig command (or the abbreviated version winrm qc) performs the following operations:
- Starts the WinRM service, and sets the service startup type to auto-start.
- Configures a listener for the ports that send and receive WS-Management protocol messages using either HTTP or HTTPS on any IP address.
- Defines ICF exceptions for the WinRM service, and opens the ports for HTTP and HTTPS.
Type the following command at a command prompt:
When the tool displays
Make these changes [y/n]?, type
If configuration is successful, the following output is displayed: