Stop the IP policy (IPSEC Services) service connection 3389 under CMD

Source: Internet
Author: User

After the server is installed, we usually download some IPSEC Services for execution. In this way, some ports 3389 are blocked, which makes remote connection unavailable, next let's take a look at the remote solution caused by ip policy.

I found that I cannot connect to the remote connection. After reading that 3389 is enabled normally, and the Terminal Services Service is enabled normally, I can see other servers on the server, you can see the windows Firewall/Internet Connection Sharing (ICS) service.
So use in prThe net stop sharedaccess command closed the firewall and found that the connection still failed. Later, we saw that the server had enabled the IPSEC Services Service.

However, currently, commands executed in pr cannot be used.Net stop IPSEC Services Command stop, if MSSQL Elevation of Privilege, we can execute net stop "IPSEC Services"To stop the ip policy service.

Since pr Elevation of Privilege, the input command must be enclosed in quotation marks, so the above method cannot be used to stop, in fact, to stop a service under cmd, we need to stop the service by "net stop service name". For example, the service name of the windows Default firewall is "sharedaccess". after using net start, we can see its display name "Windows Firewall/Internet Connection Sharing (ICS)". So if we want to stop the Terminal Services Service, you need to know the real service name.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.