Introduction
In this article, we will discuss how to resolve the issue of being unable to unshare a folder in Windows 10, where the owner is the system. Specifically, we will cover the steps to unshare a folder that you have shared but cannot unshare due to the system's ownership. This issue can arise when you try to unshare a folder using the net share command, but it fails with a message indicating that the system is the owner of the folder.
Understanding the Problem
When you share a folder in Windows 10, the system assigns ownership of the folder to itself. This is because the system needs to ensure that the shared folder remains accessible to other users on the network. However, this can cause issues when you try to unshare the folder, as the system may prevent you from doing so due to its ownership.
To understand this problem better, let's take a look at the steps involved in sharing and unsharing a folder in Windows 10:
- Right-click on the folder you want to share and select
Properties. - Navigate to the
Sharingtab and click onAdvanced Sharing. - Check the
Share this folderoption and click onPermissions. - Add the users or groups you want to grant access to the folder and set their permissions.
- Click
Applyand thenOKto close thePropertieswindow. - To unshare the folder, repeat the above steps but uncheck the
Share this folderoption.
If the system is the owner of the folder, you may not be able to uncheck the Share this folder option, resulting in the inability to unshare the folder.
Solution: Changing the Ownership of the Folder
To resolve this issue, you need to change the ownership of the folder from the system to your user account. Here are the steps to do so:
- Right-click on the folder you want to unshare and select
Properties. - Navigate to the
Securitytab and click onAdvanced. - Under the
Ownersection, click onChange. - In the
Enter the object name to selectfield, type your user account name and click onCheck Names. - Click
OKto change the owner of the folder to your user account. - Check the
Replace owner on subcontainers and objectsoption and click onApply. - Click
OKto close thePropertieswindow.
Once you have unshared the folder, you can verify that the ownership has been changed by checking the Security tab in the folder's Properties window.
In this article, we have discussed how to unshare a folder in Windows 10 when the system is the owner of the folder. We have covered the steps to change the ownership of the folder from the system to your user account, which allows you to unshare the folder. By following the steps outlined in this article, you can resolve the issue of being unable to unshare a folder in Windows 10.