In the first day at work after my long year end holiday, one of my client could not share his printer to the network, but his PC was noticable from the network. It also could not be pinged but it could ping other PC on the network.
The firt step I took was opening the Windows Firewall, but it gave me a notification that the firewall service was not activated and asked me to start it. I did it, but it gave me a warning that the service can not be started.
I found an easy solution from this forum. I just need to run this command:
netsh winsock reset
and then restart the PC.
That’s all. The problem was solved.