
- #How to access deleted users in mac disk image full
- #How to access deleted users in mac disk image password
- #How to access deleted users in mac disk image plus
This is the syntax we need: Diskutil eraseDisk FILESYSTEM DISKNAME DISKIDENTIFIER Then pick a name and a system format type. Once you have found the proper drive to erase, just copy its identifier so you can use it for the next command. This is going to list all the mounted drives on your Mac.

Start off by running the following command in the command line: Diskutil list Here I'll show you how you can erase and format a disk using the command line. To do that, the only thing you need is a bit of precise syntax to make sure that you are erasing the proper disk. But some Mac users might need to erase them from the command line on Mac OS. Otherwise, the user content is gone for good and can't be restored except through the backup restore process.Most users use Disk Utility to erase a disk or hard drive. However, to restore a user requires that you keep their home folder or home folder disk image. You can delete and restore users on Mac at any time.
#How to access deleted users in mac disk image password
Enter a user password in the 'Password' and 'Verify' fields, then add a 'Hint'.įinally, click 'Create User', then 'Use Existing Folder'. For account name, use the same name as the home folder you just restored.
#How to access deleted users in mac disk image full
Click the 'New Account' pop-up menu, then select the type of user.įrom here, enter the full name of the user.
#How to access deleted users in mac disk image plus
Type your username and password.Ĭlick the 'Add' button, which looks like a plus sign and is located below the list of current users. When applicable, click on the lock at the bottom left of the screen to unlock the preference pane. Enter your administrator name and password to rename the folder.įrom here, the steps are the same as above:Ĭhoose Apple menu > System Preferences. For example, the folder 'greta (Deleted)' would be renamed 'greta'. Change the name of the folder by removing the '(Deleted)'. The deleted user's home folder in the /Users folder should read '' followed by '(Deleted)'. If you originally saved the deleted user's home folder, click on 'Finder' on your Mac, then select Go > Go to Folder. Your deleted user has been restored on your Mac. Enter a user password in the 'Password' and 'Verify' fields, then add a 'Hint'.įinally, click 'Create User', then click 'Use Existing Folder'. For account name, you must use the same name as the home folder you just restored. Click the 'New Account' pop-up menu, then choose the type of user.įrom here, enter the full name of the user. Click the Add button, which looks like a plus sign and is located below the list of current users. Now, choose Apple menu > System Preferences. The home folder for the deleted user is now copied to the 'Users' folder. Enter your administrator name and password to continue. You should now press and hold the Option key on your keyboard, dragging the disk image icon for the deleted user into the 'Users' folder. In the new window, choose File > New Finder Window, then open the 'Users' folder. The DMG file should start with the user's name. Next, open the disk image file for the deleted user's home folder. Then select Go > Go to Folder, enter /Users/Deleted Users, then click 'Go'. If you originally saved the deleted user's home folder as a disk image, click on 'Finder' on your Mac.

The steps to restore a user are slightly different, depending on your choice above. Otherwise, the user information is removed. You can restore deleted users if you selected ‘Save the home folder as a disk image’ or ‘Don’t change the home folder’ during deletion. ‘Delete the home folder’: Everything from the user gets deleted permanently.Īfter making your selection, click 'Delete' to finish deleting the user.A sharing-only user doesn’t have a home folder. ‘Delete a sharing-only user or a group’: Click 'OK'.‘Remove the user’s home folder from the computer’: The user information is deleted and the storage space is freed.

‘Don’t change the home folder’: The user’s documents and information remain and the user can be restored later if necessary.The disk image is saved in /Users/Deleted Users/. ‘Save the home folder as a disk image’: This solution archives all the user’s documents and information so the user can be restored later if necessary.When in doubt, choose the ‘Don’t change the home folder’ selection. You’ll see a list of choices that vary slightly depending on whether the Mac is set up for home or business use. Decide what to do with user folders and filesīefore the system deletes the user, you’ll have to decide what happens to the user’s home folder.
