How to fix error 10013 on XAMPP MySQL Windows 10 even no MySQL installed

If you experiencing error like below even you don't have any another mysql server installed OR no other programs/application use port 3306 and try change any other port still have the same error

2021-05-25 20:26:07 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10013: An attempt was made to access a socket in a way forbidden by its access permissions.

2021-05-25 20:26:07 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?

You can try this to solve the problem:

  1. run command prompt as administrator
  2. type bcdedit /set hypervisorlaunchtype off
  3. restart your windows
  4. try to run your xampp mysql, again, it shoud be run