How to Hide Notification Content on Windows 11 Lock Screen
Lock screen notifications can expose private messages to anyone walking past your PC. Here is how to hide that preview text on Windows 11.
Why This Matters
Notifications are alerts from apps and your system. Windows 11 surfaces alerts in three main spots: your lock screen (Win+L), the Notification Center (Win+N), and taskbar banners in the lower-right corner.
Hiding what notifications say when they appear on your lock screen keeps private messages and alerts hidden from people who might see your display.
What You’ll Need
Two paths lead to the same result. The Settings app offers the quickest route, while the Registry Editor provides granular control.
Method 1Using Settings
- Open Settings by pressing Win+I.
- Click System on the left side, then click Notifications on the right side.
- Under “Notifications from apps and other senders,” click the app you want to change.
- Turn On (the default setting) or Off the option that says “Hide content when notifications are on lock screen.” Choose what works best for you.
- When you’re done, you can close Settings.


Method 2Using Registry Editor
⚠️ Admin Privileges Required — Administrator access is required for this approach.
- Open Registry Editor by typing
regedit.exein the search bar and pressing Enter. - In the left pane, navigate to this location:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings - Under the "Settings" folder in the left pane, click the app you want to change (for example: "Microsoft.YourPhone_8wekyb3d8bbwe!YourPhoneMessages").
Turn On Hiding Notification Content (Default Setting)
- In the right pane, look for the value called AllowContentAboveLock.
- Right-click on AllowContentAboveLock and click Delete.💡TipIf you don't see AllowContentAboveLock, your app is already set to hide content. Skip to the final step.
- Click Yes to confirm the deletion.
Turn Off Hiding Notification Content
- In the right pane, double-click the AllowContentAboveLock value to open it.
If AllowContentAboveLock doesn't exist, right-click in the empty space of the right pane. Click New, then click DWORD (32-bit) Value. Type AllowContentAboveLock as the name and press Enter.
- Type 1 in the "Value data" field.
- Click OK.
- When done, close Registry Editor.

Summary
Why this matters: Hiding notification content on your lock screen keeps private messages and alerts shielded from people nearby.
What happens when done: Notifications either show or hide their content on the lock screen, depending on the selected preference. This configuration applies to the chosen app.
Two approaches: Use Settings for a rapid configuration, or deploy the Registry Editor when working directly with system files.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!