If you shut down your computer while another computer in the network is still accessing one of your shares, for example to copy files, there is a risk of data loss.
To prevent this, you should check whether all connections have already been cut. On the one hand, Windows offers you a command line command for this: Open the Windows “command prompt” with administrator rights and type in net session. On the other hand, there is also a graphical control option via the Microsoft management console “Shared folders”. To start the program, enter fsmgmt.msc in the search field on the taskbar and then open the “Sessions” folder. It says which user is connected to a local share on which computer. You can then cut the connections via “Action -› Disconnect all sessions “.
Via the “Shared folder” management console, you can see which users and computers are currently connected to the PC’s shares.
Top Windows Features You Didn’t Know About