Go to /Macintosh HD/User/xxx/Library/Metadata/CoreSpotlight
Delete everything within `CoreSpotlight` folder
Empty trash (optional)
Restart computer
Wait a few minutes after logon
Touch ID Stopped working on MacBook
You need to reset your secure token.
sysadminctl -secureTokenStatus mlr
sysadminctl -secureTokenOff mlr -password - -adminUser Manamana -adminPassword -
sysadminctl -secureTokenStatus mlr
sysadminctl -secureTokenOn mlr -password - -adminUser Manamana -adminPassword -
sysadminctl -secureTokenStatus mlr
On a Mac, a Secure Token is a crucial account attribute that enables users to perform specific, system-level operations, particularly those related to FileVault encryption and system security. It's essentially a permission that allows a user to manage and decrypt encrypted data on the Mac.
Here's a more detailed explanation:
Purpose:
Secure Tokens are used to authorize users to manage FileVault, which is Apple's built-in encryption feature. This includes enabling and disabling encryption, as well as decrypting the system drive.
Get machine name for Macbook or Mac Mini
Run the following command from the terminal:
scutil --get ComputerName
Macbook Closing Windows with Mission Control
You can cmd+tab, and then while still holding command press Q over any app you want to quit, and then tab onto the next
iPhone Transfer
Make sure to use iPhone backup for authenticator app, use your hotmail account legit, to get it working.
Macbook Shortcut for full Window
If you hold the Option Key and double-click a corner it will make the current window go full size.
On a MacBook forcing IPv4
NOTE: Before these change take place you need to turn off/on your WiFi. Also, these changes are persistent and will continue even after reboots.
Turn off IPv6 and for IPv4
networksetup -setv6off Wi-Fi
Enable IPv6
networksetup -setv6automatic Wi-Fi
Toggle WiFi from the command line, but use GUI instead
networksetup -setairportpower en0 off
networksetup -setairportpower en0 on
MacBook Keyboard Shortcuts to Position Window to Left or Right side of Screen
Refer: https://www.paulsahner.com/posts/window-movement
- Apple Logo, Upper left hand corner
- System Settings
- Keyboard, Keyboard Shortcuts...
- App Shortcuts
- Choose "All Applications"
You are going to add two settings by clicking the plus key. I'm using [Ctrl]+[Windows]+[Alt]+[Right Arrow] and [Ctrl]+[Windows]+[Alt]+[Left Arrow] for my settings.
You will use the following menu titles, you need to type these EXACTLY, and copy and paste does NOT work, since it assumes you are setting your keyboard combination.
Move Window to Left Side of Screen
Move Window to Right Side of Screen
Save each setting and click "Done" to complete.
Disable IPv6 from the command line on a Macbook
Run a command through the Terminal app:
- Open Launchpad.
- Search for Terminal.
- Click on the Terminal.app.
- If your active network is WiFi enter the following command:
networksetup -setv6off Wi-Fi
- If you are on Ethernet:
networksetup -setv6off Ethernet
To re-enable IPv6, you need to replace setv6off to setv6automatic for Wi-Fi or Ethernet:
networksetup -setv6automatic Wi-Fi
networksetup -setv6automatic Ethernet
Show hidden files on Macbook
Toggle hidden files on/off with the following:
Hit [Command]+[Shift]+[.]

