Change encrypted sparse bundle PW?

I am running macOS 11.2.2. I'd like to change the password for unlocking an encrypted sparse bundle. I can't find an obvious way to do that, and Internet search wasn't real helpful. Is it possible?


Alternatively I could create a new sparse bundle, and copy over all the stuff from the old one. If I go that route, what format and partition options are recommended?

iMac 27″ 5K, macOS 11.2

Posted on Mar 6, 2021 10:00 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 7, 2021 7:17 PM

First make a second copy of the sparsebundle just in case something goes wrong.


While it used to be possible to change the sparsebundle password using Disk Utility a few posts I saw seemed to show it may no longer work or may no longer be possible from Disk Utility.


To use the command line to change the sparsebundle password launch the Terminal app and begin typing the following making sure to leave at least one space at the end of the line:

hdiutil  chpass  


Now drag & drop the sparsebundle onto the open Terminal window so it auto-fills the correct path to the sparsebundle. Press the "Return" key at the end of the line to execute the command. When prompted for the password nothing will appear on the screen when typing the password.


The command will look similar to this example where the sparsebundle is called "my-encrypted.sparsebundle" located in my Documents folder:

hdiutil  chpass  /Users/hwtech/Documents/my-encrypted.sparsebundle


Similar questions

3 replies
Question marked as Top-ranking reply

Mar 7, 2021 7:17 PM in response to DesertRatR

First make a second copy of the sparsebundle just in case something goes wrong.


While it used to be possible to change the sparsebundle password using Disk Utility a few posts I saw seemed to show it may no longer work or may no longer be possible from Disk Utility.


To use the command line to change the sparsebundle password launch the Terminal app and begin typing the following making sure to leave at least one space at the end of the line:

hdiutil  chpass  


Now drag & drop the sparsebundle onto the open Terminal window so it auto-fills the correct path to the sparsebundle. Press the "Return" key at the end of the line to execute the command. When prompted for the password nothing will appear on the screen when typing the password.


The command will look similar to this example where the sparsebundle is called "my-encrypted.sparsebundle" located in my Documents folder:

hdiutil  chpass  /Users/hwtech/Documents/my-encrypted.sparsebundle


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Change encrypted sparse bundle PW?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.