There are times when I am working with windows that I want to lock down the workstation in such a manner that I do not want to have any file sharing enabled.

Recently I heard of a way to disable simple file sharing from the registry. Of course, you try this at your own risk!

Simply create a .reg file (or modify the registry manually) that has the following:

;Do not use Simple File Sharing
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa]”forceguest”=dword:00000000

This turns off your Simple File Sharing.