Read: File Sharing is not working in Windows. 2] Turn On File and Printer Sharing using Command Prompt The file and printer sharing can also be enabled or disabled using the command prompt.