Showing posts with label sleep. Show all posts
Showing posts with label sleep. Show all posts

Tuesday, August 22, 2017

VPN server not working after sleep, or how I fixed what Microsoft neglected

So one day I found myself in situation that required VPN connection to my home computer from outside world. As I am running on Windows, I obviously decided to use build-in VPN server feature. Few minutes and I was done. Easy as that. I did what was needed and put computer in sleep. Next day I waked up the computer, tried to connect... and nothing. Quick search showed that this is known issue and workaround does not exits. Luckily, I had a bright moment and tried to manually suspend the responsible RemoteAccess service prior to sleep. Tried to suspend the computer, wake up, start the service and Violaaa! It worked. So I decided to create small utility that does just that.