Some of my colleagues use my PC as a file server by making some shared folders there. They access files in those folders. Before shut down of my PC at the end of shift i have to make sure that no one is currently accessing any file on my PC through network. For this purpose i use a command net files in cmd or windows power shell
If list is populated as shown in snap, then it means that there are users accessing files on my PC through network and shut down may cause interruption in their work.