srvnet and windows insomnia

Nothing to do with anything, but my workstation recently developed the dreaded windows insomnia issue. Sitting at the desk in the morning to find out that it hadn’t suspended or even locked was starting to get on my nerves, and I set out to fix it. The culprit? Perhaps unsurprisingly, srvnet:

C:\Windows\system32>powercfg -requests
DISPLAY:
None.

SYSTEM:
[DRIVER] \FileSystem\srvnet
An active remote client has recently sent requests to this machine.

AWAYMODE:
None.

Unfortunately, actually solving it ended up taking the most of an hour of dealing with the oh-so-great diagnostic tools windows provides and browsing obscure Technet threads. In the end, none of the common solutions worked for me. I had media sharing disabled, fsmgmt.msc showed no active sessions, and my drivers are up-to-date, and as common as possible.

Registry hacking, service disabling, and all the other proposed solutions failed to solve the problem. What fixed it?

powercfg -requestsoverride driver srvnet system

Now, setting an override is an obvious solution, and many did it before. The interesting part is that overriding \FileSystem\srvnet, as most were suggesting, did not work for me; overriding just srvnet did. Of course, now the computer will go to sleep even if in the midst of file transfers, but on the rare occasions I need it not to, the age-old solution of having foobar2000 play my music library works like a charm. If you happen to face the same issue, it’s worth a try.