Privacy and Security Enable or Disable Passkey Autofill Access for Apps in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    passkey

passkey_banner.webp

This tutorial will show you how to allow or deny if apps can enumerate passkeys for all users in Windows 11.

Passkeys provide a more secure and convenient method to logging into websites and apps compared to passwords. Unlike passwords, which users must remember and type, passkeys are stored as secrets on a device and can use a device's unlock mechanism (such as biometrics or a PIN). Passkeys can be used without the need for other sign-in challenges, making the authentication process faster, secure, and more convenient.

You can use passkeys with any applications or websites that support them, to create and sign in with Windows Hello. Once a passkey is created and saved with Windows Hello, you can use your device's biometrics or PIN to sign in. Alternatively, you can use a companion device (phone or tablet) to sign in.

You can choose if apps are able to enumerate (autofill) passkeys.

Starting with Windows 11 version 26H2, you can now configure the Let Windows apps autofill passkeys policy to enable or disable letting all apps autofill passkeys for all users.

References:

You must be signed in as an administrator to allow or deny passkey autofill access for all apps.




Contents

  • Option One: Turn On or Off All Apps Passkey Autofill Access in Settings
  • Option Two: Turn On or Off All Apps Passkey Autofill Access using Command
  • Option Three: Enable or Disable Let Apps Autofill Passkeys in Local Group Policy Editor
  • Option Four: Enable or Disable Let Apps Autofill Passkeys using REG file




Option One

Turn On or Off All Apps Passkey Autofill Access in Settings


1 Open Settings (Win+I).

2 Click/tap on Privacy & security on the left side, and click/tap on Passkeys on the right side. (see screenshot below)


Passkey_access-1.webp

3 Under Allow passkey autofill, turn On (default) or Off Passkey autofill access for what you want. (see screenshot below)

Passkey_autofill_access.webp

4 You can now close Settings if you like.




Option Two

Turn On or Off All Apps Passkey Autofill Access using Command


1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below you want to use into Terminal (Admin), and press Enter to apply. (see screenshot below)

Turn on Passkey autofill access
SystemSettingsAdminFlows.exe SetCamSystemGlobal passkeysEnumeration 1

OR

Turn off Passkey autofill access
SystemSettingsAdminFlows.exe SetCamSystemGlobal passkeysEnumeration 0

Passkey_autofill_access_command.webp





Option Three

Enable or Disable Let Apps Autofill Passkeys in Local Group Policy Editor


The Local Group Policy Editor is only available in the Windows 11 Pro, Enterprise, and Education editions.

All editions can use Option Four to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below step 3)

Computer Configuration > Administrative Templates > Windows Components > App Privacy​

3 In the right pane of App Privacy in the Local Group Policy Editor, double click/tap on the Let Windows apps autofill passkeys policy to edit it. (see screenshot below)

apps_autofill_passkeys_gpedit-1.webp

4 Do step 5 (force enable), step 6 (disable), or step 7 (default) below for what you want.

5 Force Enable Let Apps Autofill Passkeys for All Users

This will prevent using Option One and Option Two.


A) Select (dot) Enabled. (see screenshot below)​

B) Under "Options", select Force Allow in the "Default for all apps" drop menu.​

C) Click/tap on OK, and go to step 8 below.​

apps_autofill_passkeys_gpedit-4.webp

6 Disable Let Apps Autofill Passkeys for All Users

This will prevent using Option One and Option Two.


A) Select (dot) Enabled. (see screenshot below)​

B) Under "Options", select Force Deny in the "Default for all apps" drop menu.​

C) Click/tap on OK, and go to step 8 below.​

apps_autofill_passkeys_gpedit-3.webp

7 Default User-Choice Let Apps Autofill Passkeys

This is the default setting to allow using Option One and Option Two.


A) Select (dot) Not Configured, click/tap on OK, and go to step 8 below. (see screenshot below)​

apps_autofill_passkeys_gpedit-2.webp

8 You can now close the Local Group Policy Editor if you like.




Option Four

Enable or Disable Let Apps Autofill Passkeys using REG file


1 Do step 2 (force enable), step 3 (disable), or step 4 (disable) below for what you want.

2 Force Enable Let Apps Autofill Passkeys for All Users

This will prevent using Option One and Option Two.


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

Always_enable_Let_apps_autofill_passkeys_for_all_users.reg​


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsAccessPasskeysEnumeration"=dword:00000001
"LetAppsAccessPasskeysEnumeration_UserInControlOfTheseApps"=hex(7):00,00
"LetAppsAccessPasskeysEnumeration_ForceAllowTheseApps"=hex(7):00,00
"LetAppsAccessPasskeysEnumeration_ForceDenyTheseApps"=hex(7):00,00

3 Disable Let Apps Autofill Passkeys for All Users

This will prevent using Option One and Option Two.


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

Disable_Let_apps_autofill_passkeys_for_all_users.reg​


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsAccessPasskeysEnumeration"=dword:00000002
"LetAppsAccessPasskeysEnumeration_UserInControlOfTheseApps"=hex(7):00,00
"LetAppsAccessPasskeysEnumeration_ForceAllowTheseApps"=hex(7):00,00
"LetAppsAccessPasskeysEnumeration_ForceDenyTheseApps"=hex(7):00,00

4 Default User-Choice Let Apps Autofill Passkeys

This is the default setting to allow using Option One and Option Two.


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

Default_user-choice_Let_apps_autofill_passkeys.reg​


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsAccessPasskeysEnumeration"=-
"LetAppsAccessPasskeysEnumeration_UserInControlOfTheseApps"=-
"LetAppsAccessPasskeysEnumeration_ForceAllowTheseApps"=-
"LetAppsAccessPasskeysEnumeration_ForceDenyTheseApps"=-

5 Save the .reg file to your desktop.

6 If you have Smart App Control turned on, you will need to unblock the downloaded REG file.

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 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
New Option two added for command. :alien:
 

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
Tutorial updated to add options 3 and 4. :alien:
 

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 Bottom