Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to enable a user account to create shares in Windows 10


View products that this article applies to.

Summary

For administrators who want to enable a user account to create shares in Windows 10, follow these steps:

  1. Add the user account to the Power Users administrative group. By default, the Power Users administrative group has the permission to create shares.
  2. Enable the File and Printer Sharing group in the firewall. When the first user share is created (not counting default shares), the File and Printer Sharing group in the firewall is enabled automatically.

    Note If the first user share is created by using a user account that does not have the permission to enable that group, the action fails. You can grant the account permission to the user to allow the user to enable firewall settings. To do this, add the user account to the Network Configuration Operators group.
     

User Account Control (UAC)

When a user account in Power Users administrative group logs on, two separate access tokens are created for the user: A Standard Users administrative group access token and a Power Users administrative group access token.

By default, Standard Users and Power Users administrative group both access resources and run applications in the security context of the Standard Users administrative group. To use the Power User administrative group access token, run the application in an elevated Command Prompt window by selecting Run as administrator.

The behavior of this window can be configured by using the Local Security Policy snap-in (Secpol.msc) or Group Policy. For example, a power user who opens a Command Prompt window as an administrator can create a share by running the following command:

net share sharename=drive:path

↑ Back to the top


Keywords: Network Connectivity and File Sharing, kbContentAuto, kbSupportTopic

↑ Back to the top

Article Info
Article ID : 4504106
Revision : 7
Created on : 5/21/2019
Published on : 5/21/2019
Exists online : False
Views : 419