Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
1
votes
1
answers
92
views
How to reset Apple Keyboard with Touch ID
I have an Apple Magic Keyboard with Touch ID (Lightning port model) that I'm trying to reset. I've disconnected and forgotten the keyboard from my Mac's Bluetooth settings multiple times, but when I reconnect it, I'm never prompted to set up a new Touch ID profile. This suggests that the Touch ID da...
I have an Apple Magic Keyboard with Touch ID (Lightning port model) that I'm trying to reset. I've disconnected and forgotten the keyboard from my Mac's Bluetooth settings multiple times, but when I reconnect it, I'm never prompted to set up a new Touch ID profile. This suggests that the Touch ID data bound to this keyboard hasn't been reset to factory settings.
How can I completely reset the Touch ID functionality on this keyboard so that it prompts me to register new fingerprints when I pair it again?
swiftenjoyer
(21 rep)
Jun 19, 2025, 04:07 PM
• Last activity: Jun 25, 2025, 01:37 PM
5
votes
3
answers
778
views
Yubikey stops TouchID from working
I use a Yubikey Nano (USB-C) and it allows me to 2FA very conveniently. When I plugged it in, my macOS gave me the option to pair it with my login account and use it as a way of logging in as well. I was happy to do that as it shortened the password at times when I needed to use it. However, the sid...
I use a Yubikey Nano (USB-C) and it allows me to 2FA very conveniently.
When I plugged it in, my macOS gave me the option to pair it with my login account and use it as a way of logging in as well. I was happy to do that as it shortened the password at times when I needed to use it.
However, the side effect has been that my TouchID is no longer active, as I never get the opportunity to enter my macOS login password. And that is required for TouchID to do its thing.
I can trigger the password prompt by forcing scenarios that required TouchID to work (for example, triggering biometric auth in software like Bitwarden.)
I can also do the same by temporarily unplugging the Yubikey every time I reboot.
Is there a cleaner way of prompting TouchID to arm itself by asking me my macOS login password? A shell command maybe?
kidoman
(151 rep)
Jan 15, 2022, 12:40 AM
• Last activity: Jun 25, 2025, 03:08 AM
0
votes
1
answers
355
views
Mac Studio always requires password after sleep
## tl;dr Mac Studio Touch ID works for everything except for waking the machine after the keyboard has been switched off. MacBook Pro Touch ID works for waking from sleep. How can this be, and how can I fix it? --- ## Longer version I have two Macs running Sonoma: a MacBook Pro (M1 2020), and a Mac...
## tl;dr
Mac Studio Touch ID works for everything except for waking the machine after the keyboard has been switched off. MacBook Pro Touch ID works for waking from sleep. How can this be, and how can I fix it?
---
## Longer version
I have two Macs running Sonoma: a MacBook Pro (M1 2020), and a Mac Studio (M1 Max 2022) with a wireless [Apple Keyboard with Touch ID](https://www.apple.com/shop/product/MK2C3LL/A/magic-keyboard-with-touch-id-and-numeric-keypad-for-mac-models-with-apple-silicon-us-english-white-keys) .
I have biometrics (fingerprints) set up on both machines, and I can use my fingerprint to auto-fill passwords in Safari, use Apple Pay, etc., on both machines. I can also use my fingerprint to unlock the screen if it has been locked, whether due to inactivity or manually, and if the machine has been in sleep mode for a short period of time.
The annoyance I’m facing appears when **the machine has been in sleep mode for some time** – I don’t know exactly how long, but about 15–20 minutes seems to be enough, perhaps less. **Edit:** It seems perhaps it’s not (only?) the length of time, but (also?) whether the keyboard has been switched off. If I put the Mac Studio to sleep, switch the keyboard off and then on again after 20 seconds and wake the computer up, the issue appears.
I put the MacBook Pro to sleep by closing the lid; I put the Mac Studio to sleep by pressing the Touch ID and then Escape.
When I open the MacBook Pro after a period of sleep mode, I can still unlock it using my fingerprint: I see a lock screen with the text “Touch ID or Enter Password” and _no password input field_ (same as if I just lock the screen). Once a week or so, it’ll ask me for my password with a password input field and a text saying “Password required to enable Touch ID” (or words to that effect), but the rest of the time, I just put my finger to the Touch ID and it immediately unlocks.
However, when I open my Mac Studio after a period of sleep and/or after having switched off the keyboard, **it requires a password every time**. I get a lock screen with a password input field and words to the effect of “Enter password to unlock your Mac” – and Touch ID does nothing.
If I hit Escape (to put the computer back in sleep mode) and then wake it up again, Touch ID once again works.
The System Preferences settings for _Lock Screen_ and _Touch ID & Password_ are identical on the two machines (apart from the number of minutes before the display turns off and the extra battery-based one on the MBP) – here from the Mac Studio:
Notably, _Use Touch ID to unlock your Mac_ is **enabled**, and as mentioned, unlocking from the screen saver/locked screen works as expected; it’s only unlocking from sleep mode that doesn’t work.
What may be causing the Mac Studio to ignore this setting only after a period of time in sleep mode or after the keyboard has been switched off? Is there a way to fix it so it works the same as on the MacBook Pro?


Janus Bahs Jacquet
(437 rep)
Sep 25, 2024, 11:42 AM
• Last activity: Jun 24, 2025, 04:08 PM
1
votes
2
answers
140
views
TouchID not filling passwords on Safari and just showing passwords stored inside Safari, not Keychain
I am using BigSur for the first time today, after unboxing a new iMac M1. I migrated all my stuff from an old iMac with Catalina, to this one, using a time machine backup. The new machine is working well but everything related to passwords is a mess. I have been using macOS for 15 years. I have bill...
I am using BigSur for the first time today, after unboxing a new iMac M1.
I migrated all my stuff from an old iMac with Catalina, to this one, using a time machine backup.
The new machine is working well but everything related to passwords is a mess.
I have been using macOS for 15 years. I have billions of passwords for websites on keychain.
Now, on this new machine, when I visit a site that requires username/password, the field username appears filled but when I click on the password field, I am offered the option to unlock the passwords using touchID. This feature fails 100% of the time. If instead of using TouchID I type my mac password I see only the passwords stored inside safari, not those on Keychain. But the keychain passwords are there.
Any way to make this work as before?
Duck
(2572 rep)
Jun 8, 2021, 09:44 PM
• Last activity: Jun 19, 2025, 11:06 PM
3
votes
1
answers
315
views
TouchID doesn't always work
Touch ID works fine, but not always. I can understand that after a reboot or a logout / login, a password is required, but sometimes a password is required only an hour after closing the laptop lid and reopening it. Some services don't accept a Touch ID such as installing applications. The installer...
Touch ID works fine, but not always.
I can understand that after a reboot or a logout / login, a password is required, but sometimes a password is required only an hour after closing the laptop lid and reopening it.
Some services don't accept a Touch ID such as installing applications. The installer which used macOS services, still does not accept Touch ID.
I am not talking about passwords in 3rd party apps, in that case app developers are responsible. This occurs both on a Macbook Pro 2018 13" (Intel) and Macbook Pro 2021 14" M1.
Under which circumstances is Touch ID enabled?
macandroid
(297 rep)
Jun 3, 2022, 07:06 PM
• Last activity: Jun 18, 2025, 10:01 AM
1
votes
1
answers
243
views
Macbook Pro 14" M1 logs in with Touch ID but not with password
For some reason I can't login to my Mac with a typed password, *only* with Touch ID. I have checked if I was entering correctly, if caps lock was activated and have also changed the password, but I simply can't log in with any typed password. The reason I know why I'm not typing it incorrectly is th...
For some reason I can't login to my Mac with a typed password, *only* with Touch ID.
I have checked if I was entering correctly, if caps lock was activated and have also changed the password, but I simply can't log in with any typed password.
The reason I know why I'm not typing it incorrectly is that *after logging in with touch ID I go to "Settings" and unlock it using the same password with success.* Even when I change my password, the new one can also unlock the settings app, but can't unlock my Mac.
Although it isn't stopping me from doing anything right now I'm a bit worried that if for some reason my Touch ID stops working for I might lose access to my laptop.
Any idea what might be going on?
Felipe Leão
(111 rep)
May 20, 2022, 08:13 PM
• Last activity: Jun 4, 2025, 12:07 PM
24
votes
10
answers
28946
views
What external hardware allows a fingerprint to login/unlock a Mac?
I own a mid-2009 MBP with OS X Mavericks installed. I'm a hi-tech enthusiast who wants to use the fingerprint scanning feature made available by many scanners on the market to login into my account after boot and unlock the screen after the screensaver has started. The scanner I'm willing to buy is...
I own a mid-2009 MBP with OS X Mavericks installed. I'm a hi-tech enthusiast who wants to use the fingerprint scanning feature made available by many scanners on the market to login into my account after boot and unlock the screen after the screensaver has started.
The scanner I'm willing to buy is a DigitalPersona U.are.U-5160 which is not only FIPS 201 PIV certified, but it's also designed to work in harsh environments and situations. See: http://www.fulcrumbiometrics.com/Digital-Persona-U-are-U-5160-p/101106.htm
Please note that **I've already read *this article*** on StackExchange (https://apple.stackexchange.com/questions/65282/how-can-i-enable-fingerprint-authentication-on-a-mac-what-compatible-scanners-a) which talks about the same, **but** I've found nothing interesting in it.
In particularly, supposed that I've gotten all the Smart Card Services/CAC Libraries:
1. How do I switch from password login to fingerprint login?
2. Can I use fingerprint login with FileVault 2 too? (i.e. decrypting the HD using my fingerprint, *with no passwords to type*)
I think these features require dedicated API's or SDK's, and Apple stopped deploying them since it bought AuthenTec. Now, all fingerprint-scanning feature are officially unsupported by Apple except for the iPhone 5S.
I've read somewhere that LastPass does a very similar job indeed, and is used for the purposes I've listed.
How can I achieve this?
user3193022
(341 rep)
Jun 9, 2014, 10:14 PM
• Last activity: May 22, 2025, 03:43 PM
262
votes
14
answers
107768
views
0
votes
1
answers
110
views
How to re-enable Touch ID password autofill when Mac disables it
I understand from [this post][1] why my Mac stops allowing me to autofill passwords with Touch ID every so often. > The user hasn’t used their passcode or password to unlock their device for 156 hours (six and a half days), and the user hasn’t used biometric authentication to unlock their device in...
I understand from this post why my Mac stops allowing me to autofill passwords with Touch ID every so often.
> The user hasn’t used their passcode or password to unlock their device for 156 hours (six and a half days), and the user hasn’t used biometric authentication to unlock their device in 4 hours.
However, typing my password into the alert prompt only authorizes the password autofill I'm currently trying to do. It will keep telling me I need to reauthorize until I go to
System Settings > Passwords & Touch ID
, switch **off** "Use Touch ID for autofilling passwords" (which prompts me for my Mac password), and then switch it immediately back on.
I'm surprised that authorizing in the alert isn't sufficient. Do I really need to visit System Settings each time this happens?
(M1 2020 MBAir; MacOS 15.3.1)
Chap
(1316 rep)
Mar 10, 2025, 09:11 PM
• Last activity: Mar 15, 2025, 04:20 PM
24
votes
2
answers
6104
views
Replace password prompt with Touch ID to read Keychain password
I'm using the following command to fetch a password from the Keychain in a shell script: `security find-generic-password -w -s "MyServiceName"` It works, but it's showing a popup window asking me for the login keychain password: > `security` wants to use your confidential information stored in > "My...
I'm using the following command to fetch a password from the Keychain in a shell script:
security find-generic-password -w -s "MyServiceName"
It works, but it's showing a popup window asking me for the login keychain password:
> security
wants to use your confidential information stored in
> "MyServiceName" in your keychain. To allow this, enter the "login"
> keychain password.
>
> With the options to Deny
, Allow
or Always Allow
But I don't want to enter my keychain password every time, so I can't use "Allow" and I'd rather not "Always Allow" in order to keep some level of security here.
Ideally I'd like to get a Touch ID prompt instead. Is there any way to do this ?
Coyotwill
(359 rep)
Jan 5, 2018, 10:19 PM
• Last activity: Mar 10, 2025, 02:27 PM
3
votes
4
answers
8261
views
TouchID suddenly stopped working
Today the TouchID on my MacBook Air suddenly stopped working. Based on [this Apple's page](https://support.apple.com/en-us/HT212225), I tried all of the steps, including wiping the sensor, different fingers, restart, adding another one, etc. None of them work. The problem is that the sensor seems no...
Today the TouchID on my MacBook Air suddenly stopped working. Based on [this Apple's page](https://support.apple.com/en-us/HT212225) , I tried all of the steps, including wiping the sensor, different fingers, restart, adding another one, etc.
None of them work. The problem is that the sensor seems no longer detecting the fingerprint. I removed one and tried to add a new fingerprint, but it did not recognize my finger.
My MacBook Air is 2020 model with M1 chip, so SMC reset does not work, either.
Is there anything that I can do to fix the problem?
The city I'm currently in has no Apple Store.
---
### UPDATE
This happened again, and it seems something is wrong on the software.
Blaszard
(3903 rep)
Jan 27, 2022, 02:32 AM
• Last activity: Mar 10, 2025, 11:58 AM
0
votes
1
answers
172
views
Running shell script with Touch ID authentication
Leveraging AppleScript, we can run a shell command that requires `sudo` by asking for elevated permissions, which in turn shows a prompt to the user. For example: do shell script "/usr/bin/say example" with administrator privileges Prior to Sonoma, this used to show a Touch ID prompt (on supported M...
Leveraging AppleScript, we can run a shell command that requires
sudo
by asking for elevated permissions, which in turn shows a prompt to the user. For example:
do shell script "/usr/bin/say example" with administrator privileges
Prior to Sonoma, this used to show a Touch ID prompt (on supported Macs) or a password prompt (on Macs without Touch ID). But then it stopped working and it now always shows a password prompt.
Is there a way to get the behaviour back? The requirement is simple: I want to run a script with elevated permissions and show a Touch ID (or password prompt when on an unsupported Mac) to ask for the authentication. The full thing should still return the script's exit code as that is important for error detection.
I'm not married to AppleScript, I'm open to something in Swift which has to be compiled. But it does still need to run an external script.
user137369
(1666 rep)
Feb 1, 2025, 05:54 PM
• Last activity: Feb 1, 2025, 09:34 PM
5
votes
7
answers
15922
views
How do I take a screenshot in iOS without hitting the Home Button and the Power Button?
I would like to take a picture of [this Apple Pay popup](https://i.sstatic.net/pc9FY.jpg), while TouchID is active. However this seems impossible to do, since the TouchID sensor is also the home button, which prevents a screenshot from being taken. Is there any alternative to taking a screen shot?
I would like to take a picture of [this Apple Pay popup](https://i.sstatic.net/pc9FY.jpg) , while TouchID is active. However this seems impossible to do, since the TouchID sensor is also the home button, which prevents a screenshot from being taken.
Is there any alternative to taking a screen shot?
makerofthings7
(4643 rep)
Jan 10, 2016, 05:58 PM
• Last activity: Dec 30, 2024, 02:31 AM
7
votes
1
answers
2090
views
How can I let apps make changes using TouchID on MacBook Pro?
How can I allow an app to make changes without typing in the password, but using TouchID on the Touch Bar instead? MacBook Pro, 13", 2016, macOS Sierra 10.12.6 Example:[![Example prompt][1]][1] [1]: https://i.sstatic.net/34W7q.png
How can I allow an app to make changes without typing in the password, but using TouchID on the Touch Bar instead?
MacBook Pro, 13", 2016, macOS Sierra 10.12.6
Example:

Prokop Hanzl
(1195 rep)
Nov 26, 2017, 07:59 PM
• Last activity: Dec 1, 2024, 10:31 AM
0
votes
0
answers
14
views
Use touchID instead of password for apps asking for elevated permissions?
Even tough touchID can be used for many things, when apps want to install some components, a password prompt still pops up. Is there a way to use touchID for this also? This is more convenient, and more importantly, it avoids part of the problem described here: https://apple.stackexchange.com/q/3810...
Even tough touchID can be used for many things, when apps want to install some components, a password prompt still pops up.
Is there a way to use touchID for this also?
This is more convenient, and more importantly, it avoids part of the problem described here: https://apple.stackexchange.com/q/381038/462889 . If touchID is used, then the password is less likely to leak due to fake password prompts, and fake password prompts are easier to identify.
Ma Joad
(461 rep)
Dec 1, 2024, 04:19 AM
3
votes
1
answers
3950
views
Touch ID Canceled by another authentication
I've had this issue over multiple iterations of OS. This began for me in High Sierra, followed into Mojave, and now into Catalina. I finally figured I'd deal with it. I've tried everything I've found currently, and nothing works. I've done the following. 1. Deleted everything in my Keychain folder a...
I've had this issue over multiple iterations of OS. This began for me in High Sierra, followed into Mojave, and now into Catalina. I finally figured I'd deal with it. I've tried everything I've found currently, and nothing works.
I've done the following.
1. Deleted everything in my Keychain folder and rebooted.
2. Deleted the entire /Library/Keychain folder itself, and rebooted.
3. Tested another profile, which did work, however it doesn't help me aside from knowing something's messed up with my profile.
Any other ideas before I blow this profile away? This is a work laptop so it'll be a pain to get this back to normal working order.
Duah
(31 rep)
Nov 11, 2019, 05:19 PM
• Last activity: Nov 11, 2024, 09:32 AM
0
votes
0
answers
78
views
Bioutil (Touch ID) is not working correctly in terminal of macOS Sonoma 14.5
I have a problem using `bioutil` command in terminal. In macOS Sonoma 14.5, I submitted `bioutil -r -s` in terminal to review the system touch ID configuration. But I got the following unknown error: ``` AssertMacros: devices.count > 0, file: /AppleInternal/Library/BuildRoots/91a344b1-f985-11ee-b563...
I have a problem using
bioutil
command in terminal.
In macOS Sonoma 14.5, I submitted bioutil -r -s
in terminal to review the system touch ID configuration.
But I got the following unknown error:
AssertMacros: devices.count > 0, file: /AppleInternal/Library/BuildRoots/91a344b1-f985-11ee-b563-fe8bc7981bff/Library/Caches/com.apple.xbs/Sources/BiometricKit/bioutil/bioutil.m, line: 79, value: 0
AssertMacros: err == 0 , file: /AppleInternal/Library/BuildRoots/91a344b1-f985-11ee-b563-fe8bc7981bff/Library/Caches/com.apple.xbs/Sources/BiometricKit/bioutil/bioutil.m, line: 500, value: 61
Error occured, err = 0x3d.
Then I entered the same command in another macbook (macOS 15.0) then I got the correct response on that one like the following:
System Touch ID Configuration:
Biometrics functionality: 1
Biometrics for unlock: 1
Biometric timeout (in seconds): 172800
Match timeout (in seconds): 14400
Passcode input timeout (in seconds): 861600
Operation performed successfully.
So bioutil
worked correctly in macOS 15.0.
Does macOS Sonoma 14.5 have the bioutil
technical error, or Did I entered the command wrong?
How could I fix the bioutil
error in macOS 14.5?
xscript09
(1 rep)
Nov 11, 2024, 02:20 AM
2
votes
1
answers
1061
views
How to disable Touch-ID on MacBooks via keyboard shortcut?
On iOS I can disable Face-ID by pressing a specific combination of keys. For example, when I press the power button five times in a row on my iPhone 11, it will be locked and Face-ID is disabled until it is unlocked again. I'm looking for the same on MacOS. Currently I'm using a M1 MacBook Air. Pres...
On iOS I can disable Face-ID by pressing a specific combination of keys.
For example, when I press the power button five times in a row on my iPhone 11, it will be locked and Face-ID is disabled until it is unlocked again.
I'm looking for the same on MacOS. Currently I'm using a M1 MacBook Air.
Pressing the Touch-ID button three times opens the Accessibility Shortcuts.
**Edit:**
On a different channel the
bioutil
command line tool was mentioned. To disable Touch-ID, run the following command: sudo bioutil --write --system --unlock 0
.
Source: https://www.reddit.com/r/apple/comments/afk3o0/comment/hlobtbf/
Mentioned:
- https://mastodon.social/@stagen/110116972326763900
- https://mastodon.social/@stagen/110116993396491946
I see this as an alternative to what I'm looking for because it is too cumbersome to use compared to the iOS equivalent.
malte
(131 rep)
Mar 31, 2023, 07:55 AM
• Last activity: Nov 8, 2024, 12:34 PM
3
votes
1
answers
653
views
How can I enable the Touch ID prompt instead of system password for sudo when other apps allow touch?
I'm running a fresh install of Sequoia, currently a `macOS Sequoia 15.0.1 arm64` on MacBook Pro (14-inch, 2021) with Touch ID. I tried to enable Touch ID for `sudo` and the config files now look like: cat /etc/pam.d/sudo # sudo: auth account password session auth include sudo_local auth sufficient p...
I'm running a fresh install of Sequoia, currently a
Touch ID does work. Other prompts also require my fingerprint. This seems to be specific to the Terminal.
Any suggestions on how to solve this are welcome.
Update: This behaviour only happens when my MacBook is docked to my Dell USB display. One it's undocked everything works as expected...
macOS Sequoia 15.0.1 arm64
on MacBook Pro (14-inch, 2021) with Touch ID.
I tried to enable Touch ID for sudo
and the config files now look like:
cat /etc/pam.d/sudo
# sudo: auth account password session
auth include sudo_local
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
and
cat /etc/pam.d/sudo_local
# sudo_local: local config file which survives system update and is included for sudo
# uncomment following line to enable Touch ID for sudo
auth sufficient pam_tid.so
This does direct the authentication request to the system, instead of the Terminal password prompt. But now I get a system password prompt and not the desired Touch ID prompt.

Volsk
(3150 rep)
Oct 11, 2024, 11:42 AM
• Last activity: Oct 21, 2024, 10:03 AM
30
votes
3
answers
41137
views
Use Macbook Touch ID button to sleep/lock
I'm not sure if this has been asked before: I want to use the Touch ID button to sleep or to lock my 2017 Macbook Pro 13". I know there are other shortcuts for doing that, but I want to be able to use the power button as such... (I also want to explicitly use the power button, I know I can add butto...
I'm not sure if this has been asked before:
I want to use the Touch ID button to sleep or to lock my 2017 Macbook Pro 13". I know there are other shortcuts for doing that, but I want to be able to use the power button as such... (I also want to explicitly use the power button, I know I can add buttons to the Touch Bar).
By now, apart from using it as Touch ID, I can only use it to do a hard-turning off by pressing during 6 seconds or to access accessibility options by pressing 3 times fast. I want to lock my mac by simply pressing the Touch ID button.
I can't believe that something like that is not possible, or at least configurable... If it isn't, is there a way to use it as another regular key in order to make a shortcut? (if I try to create a shortcut, pressing the Touch ID button does nothing)
I've seen that some years ago, pressing the power button during 3 seconds pops up a menu for choosing what to do, but that also doesn't work in my case. In this Apple's tutorial (recently updated) they also mention the possibility of doing that by pressing the power button, but again, it doesn't work for me.
Thanks!
Gonzalo Solera
(403 rep)
Mar 14, 2018, 08:18 PM
• Last activity: Sep 18, 2024, 10:53 AM
Showing page 1 of 20 total questions