This is a frustrating problem, but one that can be solved quite easily.
Here’s how to fix the “folder cannot be shared” error on Windows.
This is the most likely reason you are seeing the warning pop-up.
If it no longer occurs, your antivirus software is the cause.
The answer is to set up an exception or exclusion for the shared folder.
The exact way to do this will vary, depending on the antivirus software you use.
you might usually find an exceptions section in the antivirus software’s prefs menu.
Here’s how to do it in Windows Security.
Check out our complete guide toadding exceptions in Windows Securityfor more information.
You might need to reset your box before the setting change is recognized.
Remember that this will allow anyone on the local web connection to get into the shared files.
Disable Password Protected Sharing
This is another way to prevent the error from occurring that comes with some risk.
It is better to protect shared files and folders with a password.
It is usually brought on by your antivirus software and is easily solved.