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


  • Staff
Notifications_banner.png

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)

Open Notifications settings

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 or Off (default) 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

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 0 for the Value data, and click/tap on OK. (see screenshot below)​

content_of_notifications_on_lock_screen_regedit-2.png

C) Go to step 7 when finished.​

6 Turn Off 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.​

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

System One

  • 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

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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
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

System One

  • 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

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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom