System Turn On or Off Nearby Sharing in Windows 11


Share_banner.png

This tutorial will show you how to turn on or off nearby sharing for your account in Windows 11.

Nearby sharing in Windows lets you share documents, photos, links to websites, and more with nearby devices by using Bluetooth or Wi-Fi.

You can choose to turn on nearby sharing for My devices only or Everyone nearby.

If you choose Everyone nearby, the Bluetooth MAC address and name of your PC are made available to other devices around you so you can share with other PCs nearby. This info could be used to link your PC to you.


To use nearby sharing, both PCs—the one you’re sharing from and the one you're sharing to—must have:
  • Nearby sharing turned on.
  • Bluetooth 4.0 (or later) and must be running Windows 11 or Windows 10 (version 1803 or later).
References:

Starting with Windows 11 build 22622.436 and build 25163, the discovery of devices under nearby share when sharing a local file from the desktop, File Explorer, Photos, Snipping Tool, Xbox, and other apps that use the built-in Windows share window has been enhanced by using UDP (Network needs to be set to private) along with Bluetooth to discover nearby devices. You will now be able to discover and share to more devices including desktop PCs. When sharing a local file from the desktop, File Explorer, Photos, Snipping Tool, Xbox, and other apps that use the built-in Windows share window, you can choose OneDrive as a target to directly upload the file to OneDrive and share it further along with access control options. All this can be done right from sharing local files in File Explorer without any context switches or opening the OneDrive app.

Starting with Windows 11 build 22631.3374, affects how Nearby Share turns on and off. You can use quick settings or the Settings app to turn on Nearby Share. If you do and Wi-Fi and Bluetooth are off, Wi-Fi and Bluetooth will turn on to make Nearby Share work as you expect. If you turn off Wi-Fi or Bluetooth, Nearby Share turns off as well.

Starting with Windows 11 build 22635.3720 (Beta), if you are in China and turn on nearby sharing, you will receive a notification asking to allow turning on Wi-Fi and or Bluetooth should these settings be off as Wi-Fi and Bluetooth are required to be enabled for nearby sharing to work.


Contents

  • Option One: Turn On or Off Nearby Sharing from Share Context Menu
  • Option Two: Turn On or Off Nearby Sharing in Quick Settings
  • Option Three: Turn On or Off Nearby Sharing in Settings
  • Option Four: Turn On or Off Nearby Sharing using REG file


EXAMPLE: Nearby Sharing

Nearby_sharing.jpg
Sharing_from.png
Sharing_to.png





Option One

Turn On or Off Nearby Sharing from Share Context Menu


This will turn on nearby sharing for Everyone nearby.

Starting with Windows 11 version 22H2 KB5030310 Build 22621.2361, instead of a dropdown menu in the Windows share window, there is a button to turn on nearby sharing.


1 Right click on the file(s) you want to share, and click/tap on Share. (see screenshot below)

Share_context_menu-1.png

2 Click/tap on the Turn on button under Nearby Share. (see screenshot below)

Share_context_menu-2.png




Option Two

Turn On or Off Nearby Sharing in Quick Settings


1 Open Quick Settings (Win+A).

2 Click/tap on the Nearby sharing quick setting button to toggle On or Off (default) for what you want. (see screenshots below)

On will be for My devices only or Everyone nearby depending on what you have set in nearby sharing settings.


Nearby_sharing_Quick_Settings-1.png
Nearby_sharing_Quick_Settings-2.png





Option Three

Turn On or Off Nearby Sharing in Settings


1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on Nearby sharing on the right side. (see screenshot below)


Nearby_sharing_Settings-1.png

3 Under Nearby sharing, select Off (default), My devices only, My Family, or Everyone nearby for what you want. (see screenshot below)

Nearby_sharing_Settings-2.png

4 You can now close Settings if you like.




Option Four

Turn On or Off Nearby Sharing using REG file


1 Do step 2 (on - Everyone nearby), step 3 (on - My devices only), step 4 (on - My Family), or step 5 (off) below for what you want.

2 Turn On Nearby Sharing for "Everyone nearby"

A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Turn_ON_Nearby_Sharing_for_Everyone_nearby.reg


(Content of BAT file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP\SettingsPage]
"NearShareChannelUserAuthzPolicy"=dword:00000002

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP]
"NearShareChannelUserAuthzPolicy"=dword:00000002
"CdpSessionUserAuthzPolicy"=dword:00000002

3 Turn On Nearby Sharing for "My devices only"

A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Turn_ON_Nearby_Sharing_for_My_devices_only.reg


(Content of BAT file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP\SettingsPage]
"NearShareChannelUserAuthzPolicy"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP]
"NearShareChannelUserAuthzPolicy"=dword:00000001
"CdpSessionUserAuthzPolicy"=dword:00000001

4 Turn On Nearby Sharing for "My Family"

A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Turn_ON_Nearby_Sharing_for_My_Family.reg


(Content of BAT file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP\SettingsPage]
"NearShareChannelUserAuthzPolicy"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP]
"NearShareChannelUserAuthzPolicy"=dword:00000003
"CdpSessionUserAuthzPolicy"=dword:00000003

5 Turn Off Nearby Sharing

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Turn_OFF_Nearby_Sharing.reg


(Content of BAT file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP\SettingsPage]
"BluetoothLastDisabledNearShare"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CDP]
"NearShareChannelUserAuthzPolicy"=dword:00000000
"CdpSessionUserAuthzPolicy"=dword:00000001

6 Save the REG file to your desktop.

7 Double click/tap on the downloaded REG file to merge it.

8 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

9 Either restart explorer process, sign out and sign in, or restart the computer to apply.

10 You can now delete the downloaded REG file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
hey, shouldn't the value of CdpSessionUserAuthzPolicy here be 0 instead of 1?


Turn_OFF_Nearby_Sharing.bat
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\CDP" /V CdpSessionUserAuthzPolicy /T REG_DWORD /D 1 /F
 

My Computer

System One

  • OS
    Windows 10 Enterprise LTSC 2021
hey, shouldn't the value of CdpSessionUserAuthzPolicy here be 0 instead of 1?


Turn_OFF_Nearby_Sharing.bat
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\CDP" /V CdpSessionUserAuthzPolicy /T REG_DWORD /D 1 /F

Hello, :-)

The value of CdpSessionUserAuthzPolicy is "1" whether Nearby Sharing is on or off, unless for everyone then "2". I only included it since it's required.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom