System Turn On or Off Hide Content of Notifications on Lock Screen in Windows 11


Notifications_banner.webp

This tutorial will show you how to turn on or off hide content when notifications are on the lock screen for your account in Windows 11.

Notifications are alerts from apps, system, and other senders.

Windows 11 shows notifications on the lock screen (Win+L), Notification Center (Win+N), and notification banners at the lower-right corner of the screen above the taskbar on the main display.

You can choose to hide content of notifications from apps when on the lock screen for privacy.


Contents

  • Option One: Turn On or Off Hide Content of Notifications from App on Lock Screen in Settings
  • Option Two: Turn On or Off Hide Content of Notifications from App on Lock Screen in Registry Editor


EXAMPLE: Hide or show content of notification from app on lock screen

Hide_content_of_notification_on_lock_screen.jpg
Show_content_of_notification_on_lock_screen.jpg





Option One

Turn On or Off Hide Content of Notifications from App on Lock Screen in Settings


1 Open Settings (Win+I).

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


content_of_notifications_on_lock_screen_Settings-1.png

3 Under Notifications from apps and other senders, click/tap on the app (ex: "Messages (via Phone Link)") you want. (see screenshot below)

content_of_notifications_on_lock_screen_Settings-2.png

4 Turn On (default) or Off Hide content when notifications are on lock screen for what you want for this app. (see screenshot below)

content_of_notifications_on_lock_screen_Settings-3.png

5 When finished, you can close Settings if you like.




Option Two

Turn On or Off Hide Content of Notifications from App on Lock Screen in Registry Editor


1 Open Registry Editor (regedit.exe).

2 Navigate to the key location below in the left pane of Registry Editor. (see screenshot below)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings

content_of_notifications_on_lock_screen_regedit-1.png

3 Under the Settings key in the left pane, click/tap on the app (ex: "Microsoft.YourPhone_8wekyb3d8bbwe!YourPhoneMessages") you want. (see screenshot above)

4 Go to step 5 (on) or step 6 (off) for what you want for this app.

5 Turn On Hide Content of Notifications from App on Lock Screen

This is the default setting.


A) In the right pane of the app's key (ex: "Microsoft.YourPhone_8wekyb3d8bbwe!YourPhoneMessages"), right click or press and hold on the AllowContentAboveLock DWORD value, and click/tap on Delete. (see screenshot below step 2)​

If you do not have a AllowContentAboveLock DWORD, then this app is already set to show content of notifications on the lock screen. Go to step 7.


B) Click/tap Yes to confirm. (see screenshot below)​

content_of_notifications_on_lock_screen_regedit-3.png

C) Go to step 7 when finished.​

6 Turn Off Hide Content of Notifications from App on Lock Screen

A) In the right pane of the app's key (ex: "Microsoft.YourPhone_8wekyb3d8bbwe!YourPhoneMessages"), double click/tap on the AllowContentAboveLock DWORD value to modify it. (see screenshot below step 2)​

If you do not have a AllowContentAboveLock DWORD, then right click or press and hold on an empty area in the right pane, click/tap on New, click/tap on DWORD (32-bit) Value, type AllowContentAboveLock for the name, and press Enter.


B) Type 1 for the Value data, and click/tap on OK. (see screenshot below)​

content_of_notifications_on_lock_screen_regedit-2.webp

C) Go to step 7 when finished.​

7 When finished, you can close Registry Editor if you like.


That's it,
Shawn Brink


 
Last edited:
Instead of doing it one by one for each app, how can i do this for all apps using registry/group policy?
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Instead of doing it one by one for each app, how can i do this for all apps using registry/group policy?

Hello, :-)

I'm not sure so far other than to turn off lock screen notifications all together.

 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
    Microsoft Defender
Hello,

Is there any way to always hide the content of the notifications? Sometimes I get notifications while I'm sharing my screen and it would be great if I can hide the preview
 

My Computer My Computer

At a glance

Windows 11 22h2
OS
Windows 11 22h2
Hello,

Is there any way to always hide the content of the notifications? Sometimes I get notifications while I'm sharing my screen and it would be great if I can hide the preview
Hello, :alien:

You could turn on "Do not disturb" below while sharing your screen to not get any notification banners until you turn off "Do not disturb". The notifications will still be available in the Notification Center (Win+N) to look at later.

 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
    Microsoft Defender
If you do not have a AllowContentAboveLock DWORD, then this app is already set to show content of notifications on the lock screen. Go to step 7.
this apparently isn't true anymore on latest builds, now if you don't have that DWORD, it will hide content by default, is there a way to revert to the previous behavior? (⁠๑⁠•⁠﹏⁠•⁠)
 

My Computers My Computers

  • At a glance

    Windows 11 22H2 (Build 22621.6060)Intel(R) Core(TM) 5 120U, 1400 Mhz, 10 Core(s)2 x 8 GB DDR4-3200 (SO-DIMM)Intel(R) Graphics
    OS
    Windows 11 22H2 (Build 22621.6060)
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 15 X1504VAP_A1504VA
    CPU
    Intel(R) Core(TM) 5 120U, 1400 Mhz, 10 Core(s)
    Motherboard
    X1504VAP
    Memory
    2 x 8 GB DDR4-3200 (SO-DIMM)
    Graphics Card(s)
    Intel(R) Graphics
    Sound Card
    Realtek(R) Audio
    Monitor(s) Displays
    MyASUS_Splendid (Internal Monitor), Generic Monitor (VirtuDisplay+)
    Screen Resolution
    1920x1080, 1920x1080
    Hard Drives
    NVMe MTFDKBA512QFM-1BD1AABGB
    Keyboard
    Standard PS/2 Keyboard (Internal Keyboard)
    Mouse
    ASUS Precision Touchpad
    Browser
    Google Chrome
  • At a glance

    Windows 10 1809 (Build 17763.379)Intel(R) Core(TM) i5-1035G1, 1190 MHz, 4 Core(s)1 x 4 GB DDR4-2667 (Row of chips)Intel(R) UHD Graphics
    Operating System
    Windows 10 1809 (Build 17763.379)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo IdeaPad S145-14IIL
    CPU
    Intel(R) Core(TM) i5-1035G1, 1190 MHz, 4 Core(s)
    Motherboard
    LNVNB161216
    Memory
    1 x 4 GB DDR4-2667 (Row of chips)
    Graphics card(s)
    Intel(R) UHD Graphics
    Sound Card
    Realtek(R) Audio
    Monitor(s) Displays
    Generic PnP Monitor (Internal Monitor)
    Screen Resolution
    1366x768
    Hard Drives
    Intel SSDPEKNW512G8L
    Keyboard
    Standard PS/2 Keyboard (Internal Keyboard)
    Mouse
    Synaptics HID-Compliant Touch pad Device
    Browser
    Google Chrome
this apparently isn't true anymore on latest builds, now if you don't have that DWORD, it will hide content by default, is there a way to revert to the previous behavior? (⁠๑⁠•⁠﹏⁠•⁠)

Hello, and welcome to the forum. :alien:

Interesting. That's completely opposite now. Tutorial updated. Thank you.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
    Microsoft Defender

Latest Support Threads

Back
Top