Skip to content
Windows

How to Enable or Disable PIN for Projecting in Windows 11

Richard
Written by
Richard
Updated 4 min read
How to Use Sticky Notes in Windows 11
How to Use Sticky Notes in Windows 11
Before you start
  • 19 steps
  • Needs administrator rights
  • Includes a restart or sign-out

Pin for projecting in Windows 11 is a security code that stops random devices from wirelessly connecting to your computer screen. When you turn on this feature, your PC asks for a short PIN every time a new phone, tablet, or laptop tries to share its display using Miracast wireless technology.

You can turn this PIN requirement on or off in your main Windows settings. Requiring a PIN keeps your screen safe from nearby devices. There are three choices: Never (no PIN), First Time (the PIN is asked once, when a device pairs for the first time), and Always (the PIN is asked on every connection). This guide covers the Settings app and, for advanced users, the Registry Editor.

⚡ Quick Answer

Open Settings, go to System Projecting to this PC, and under Require PIN for pairing choose Never, First Time, or Always. The change takes effect immediately, with no restart or Save button. If the page is missing, install the Wireless Display optional feature first.

Advertisement

Prerequisites: Checking the Wireless Display Feature

The Wireless Display feature is an optional Windows 11 component. It must be installed before you can set the Require PIN for projecting option. Without it, the Projecting to this PC page in Settings is missing options or greyed out. The feature is available on both Home and Pro. Check first whether it is already installed.

  1. Open Settings and go to Apps Optional features. On newer builds such as Windows 11 24H2, the page is at System Optional features instead. You should see a list of the features already installed on your PC.
  2. Look through the installed features list for Wireless Display. If it is there, you can skip the rest of this section.
  3. Click View features next to Add an optional feature. A window opens with a search box.
  4. Search for Wireless Display. If it is not in the list, it is most likely already installed, so check your installed features list again.
  5. Tick the box next to Wireless Display, click Next, then click Install. Wait for the install to finish. A restart is usually not needed, but restart if the Projecting to this PC page still looks incomplete afterwards.

How to Change PIN Settings via Settings App

📝NoteThis method requires administrative privileges on your user account. It works on Windows 11 Home as well as Pro. Use it if you prefer the registry, or if you need to set the value on several PCs. For a single PC, the Settings steps further down are the simpler way.
Advertisement
  1. Press Win+R, type regedit, and press Enter. If User Account Control asks for permission, click Yes. The Registry Editor opens.
  2. Navigate to: 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MiracastReceiver. You can paste the path into the address bar at the top of the window and press Enter. If the MiracastReceiver key does not exist, install the Wireless Display feature first.
  3. Look for a DWORD value named RequirePinForPairing in the right pane.
  4. Double-click the value and set it to 0 for Never, 1 for First Time, or 2 for Always. Click OK.
  5. Close the Registry Editor. If the new setting does not apply right away, sign out and back in, or restart the PC.

To undo the change, open the same value and set it back to its previous number.

Summary

You can manage the Require PIN for projecting setting using the steps below. They let you control who mirrors their screen to your PC. Always keep your system updated to maintain the best compatibility with wireless display standards.

Advertisement
  1. Open the Settings app by pressing Win+I.
  2. Click System on the left sidebar.
  3. Select Projecting to this PC. If the page shows a message that you need to add the optional feature, install Wireless Display first, as described above.
  4. Under Require PIN for pairing, choose Never, First Time, or Always. The change applies straight away, with no restart or Save button.

To turn the PIN requirement off, choose Never. To turn it back on, choose First Time or Always. Always is the safest choice on shared or public networks.

Windows 11 settings button for system configurations
windows 11 new settings button
Windows 11 system settings tile for projecting options
windows 11 system tile
Windows 11 projecting to this PC settings tile
windows 11 projecting to this pc tile
Windows 11 settings for requiring PIN for projecting to this PC.
Windows 11 settings for requiring PIN for projecting to this PC.

Advanced Configuration: Registry Editor

⚠️WarningModifying the registry incorrectly can cause system issues. This requires administrative privileges. Before you start, back up the registry. In Registry Editor, click File > Export, choose a location, and save the file so you can restore it if something goes wrong.
Advertisement
  1. Press Win+R, type regedit, and press Enter. Click Yes if User Account Control appears.
  2. Navigate to: 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MiracastReceiver
  3. Look for a DWORD value named RequirePinForPairing. If you cannot find it, use the Settings app method above instead.
  4. Set the value to 0 for Never, 1 for First Time, or 2 for Always. These are the same three choices you see in Settings.
  5. Close the Registry Editor and restart the PC if the change does not take effect.

Summary

You can manage the Require PIN for projecting setting from the Settings app or, if you need it, from the registry. Either way, you decide who can mirror their screen to your PC: nobody needs a PIN with Never, new devices need one with First Time, and every connection needs one with Always. Always keep your system updated to maintain the best compatibility with wireless display standards.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *