Run cmd as Administrator;
Enter net stop http;
If you are prompted whether you really need to stop these services, select "Y";
Input after completion: SC config HTTP start=disabled
Test feasible
Other methods
Solution One:
Ctrl+x, then select "Computer Management", expand "Services and Applications" and locate the "services";
Find "World Wide Web Publishing Service", after double-click Open, change the startup type to manual, changing the service status to "stop";
If port 80 is still in use, you will also need to stop the following services:
"SSDP Discovery"
"Print Spooler"
"HomeGroup Provider"
"Function Discovery Resource Publication"
"Function Discovery Provider Host"
Solution Two:
Run Regedit as an administrator
Open Key value: hkey_local_machine\system\currentcontrolset\services\http
Find start on the right, change it to 0
System process does not consume 80 ports when rebooting
Windows 10 80 Port occupancy processing method