Prevent users from sharing files within their profile.
Jump to overview

Policy overview

Key metadata and intent for this policy.

User
Category
Windows Components > Network Sharing
Supported on
At least Windows Vista

Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista

This policy setting specifies whether users can share files within their profile. By default users are allowed to share files within their profile to other users on their network after an administrator opts in the computer. An administrator can opt in the computer by using the sharing wizard to share a file within their profile. If you enable this policy setting, users cannot share files within their profile using the sharing wizard. Also, the sharing wizard cannot create a share at %root%\users and can only be used to create SMB shares on folders. If you disable or don't configure this policy setting, users can share files out of their user profile after an administrator has opted in the computer.

Internal name
NoInplaceSharing
Policy ID
4de25d6b6c16
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
User
Path
Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoInplaceSharing
REG_DWORD
HKCU
1
HKCU
0
Registry location
Type REG_DWORD · User
Path
Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoInplaceSharing
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.