First of all, we need to enable the Windows firewall in the same way as in Win7. We can see how Win7 made Windows Firewall close port 445.
Second, call the CMD command line directly, and then enter the following command.
Network stop rdr
Net stop srv
Network stop