In this post, you can see an easy way to capture a network trace on a Windows machine. You just need to type the following command.
Open an elevated command prompt and run :
C:\Windows\system32>netsh trace start persisten=yes capture=yes tracefile=c:\Tracefile\net-trace.etlw