So the first thing i did was to install the latest version of raspbian on the microsd card of my raspberry pi zero. I just formated the microSD card with SDFormatter and then installed with Win32Diskimager the latest Raspbian Image. After installing it, i opened the boot partition of the SDcard, opened the file CONFIG.TXT and added at the very bottom dtoverlay=dwc2.
Then i closed it and opened the file CMDLINE.TXT and added after rootwait with just one space the comand modules-load=dwc2,g_ether i would recomend adding it with the notepad++
This way you can see u arent adding a new line. It is very important not adding a new line. The comand must be separated with just one space.
So after this i have read that u must create in the boot folder a folder named SSH so the conection works to your computer. Well... i think that is just witchcraft... i dont think it works that way. I mean... i tested it out and didnt work for me. At last i bought an OTG-Keyboard cable and an MiniHDMI cable to enable SSH. That didnt also work. But i found the reason. Anyway... after enabling the SSH via console in the raspi-config comand in my television, i saw that in my boot partion in the SDcard, was no SSH file or Folder. Test first my way, if it works, fine, if my way doesnt work, then test the other way. If it still doesnt work, then go buy an OTG cable to Keyboard and an MiniHDMI cable.
So, lets continue. After modifing the config.txt and cmdline.txt, install Bonjour, itunes or QuickTime to windows and then put the microSD in the raspberry pi ZERO, and connect the USB OTG port of the Raspbery pi Zero to your computer. Before u do this, u should open the device administrator of your computer.
Sorry it is in spanish
So now we have to see if the raspberry connects to the computer as a Serial Port or as an ethernet device. In my case it was conecting as a Serial Port but i didnt know it and i couldnt find information about it.
If it conects as an RNDIS device, you should be able to connect yourself via putty as raspberrypi.local, anyway, lets continue.
As you can see, my laptop doesnt know it is actually a ethernet device. But dont worry...
There is a solution, even if you cant find it in internet. First download this file: RPI OTG DRIVER and unzip it
Then do right click on Serial device and click the first option. It will open something like this:
Click what i have marked with the blue pencil, and search the file that you have unziped beforeAnd press next. Windows will install the driver, and now it should appear in the device manager as a RNDIS Device
Now open putty and try to enter as raspberrypi.local, if it conects GREAT, if it doesnt, maybe you have to enable SSH