Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

johnbclark

macrumors newbie
Original poster
Mar 19, 2010
3
0
How to turn off FileVault with Terminal.
sudo fdesetup disable

returns a message "command not found"

any suggestions would be appreciated...
MacBook Pro 2012
Mac OS High Sierra installed, unfortunately FileVault was turned on during the install
The machine has been running for 3 days..
760 GB HD with 700GB free space...

have tried:
disconnecting Internet
reboot in Recovery
ran Disk First Aid on HD
 

DeltaMac

macrumors G5
Jul 30, 2003
13,460
4,407
Delaware
60GB used? Can you just give up and erase the drive, then reinstall macOS?
I guess my real question is: do you have a backup of your drive, so you could simply start over with a fresh install, then restore your files and apps?
 

Shadow Jolteon

macrumors regular
Feb 1, 2018
165
97
That is strange that it isn't finding fdesetup. You may want to try running this instead:
Code:
sudo /usr/bin/fdesetup disable
 

treekram

macrumors 68000
Nov 9, 2015
1,849
411
Honolulu HI
If you're doing this from the Terminal while running Recovery, you don't need "sudo". I think the same would apply from single-user mode.

If you're not in Recovery or single-user mode, in Terminal, you can type "which fdesetup" and it should tell you the path of the command. If some how "/usr/bin" isn't in the path you can try "sudo /usr/bin/fdesetup" (or whatever the full path is).
 

DeltaMac

macrumors G5
Jul 30, 2003
13,460
4,407
Delaware
I am curious if johnbclark is actually booting to Internet Recovery. Some terminal commands are not available when booted to internet recovery.

@johnbclark: Internet Recovery boots up showing a spinning globe, and not the usual Apple icon.
 
  • Like
Reactions: Shadow Jolteon

BLUEDOG314

macrumors 6502
Dec 12, 2015
377
120
Never heard of the method that was suggested above, but I have my own way that I've used before. Given model and size of drive I am going to assume this is a mechanical drive and not an SSD. Also assuming the drive is fully encrypted and not still in the process, go to recovery, then terminal and first do 'diskutil cs list' and get the UUID for the encrypted Macintosh HD volume and copy it. Then do 'diskutil cs unlockvolume PasteUUID' hit enter and put in the password. Then do 'diskutil cs decryptvolume PasteUUID' hit enter and put in password.

I of course do agree with the idea of just backing up the data, nuking the drive and restoring backup as a better and faster solution.
 

Rokwell84

macrumors newbie
Dec 11, 2019
1
0
I was in the middle of troubleshooting another issue (my MacBook Pro 2016 crashes after running a couple minutes, then gives me the flashing ? folder icon) and got too brave for my own good. I was decrypting (via System Preferences), got impatient, and put in the following:

sudo fdesetup disable

Success! Except, now I'm in this weird limbo. According to the Sys Pref window, FileVault is on, but the option to turn it off is disabled. I can't turn it off again in terminal. When I try to reinstall MacOS, it says it can't install to that disk since files are decrypting. Any ideas? Someone advised me to look for terminal commands to kill filevault and repair it, but I haven't found those.
 

Saaadddddd

macrumors newbie
Apr 12, 2020
2
0
Try running the following and see what it shows:
Code:
sudo /usr/bin/fdesetup status -extended -verbose

I typed this code and the terminal says


fdesetup: device path = /
FileVault is On.
Volume is APFS. (FileVault Enabled)
Encryption in progress: Percent completed = 13. Estimated completion in (Calculating)


Then what should I do?
 
Last edited:

Saaadddddd

macrumors newbie
Apr 12, 2020
2
0
What was the result after the wait time?

Encryption had successfully completed, so now I‘m waiting for decryption to complete. I found your reply just today but I really appreciate your kindness :)~ Have a good day!
 
Last edited:

Rod_Z

macrumors newbie
Apr 27, 2020
1
0
Hi, I have the same issue, I cannot turn off File vault as it is greyed out. I tried starting in recovery and all that. When I try with terminal I get this message:
Can anyone please help?

fdesetup: device path = /


FileVault is On.


Volume is APFS. (FileVault Enabled)


Rods-MBP:~ rodzahra$
 

kosmoon

macrumors newbie
Feb 5, 2023
2
0
Help: so I turned off FileVault 3 days ago and it's still decrypting - been having issues with my account login disappearing.

when I copy and paste
sudo /usr/bin/fdesetup status -extended -verbose

this error pop's up

sudo: unable to mkdir /var/db/sudo/ts: No such file or directory

Password: ( I enter my password)


response:


fdesetup: device path = /


FileVault is On.


Volume is APFS. (FileVault Enabled)


Decryption in progress: Percent completed = 0. Estimated completion in (Calculating)





other times : I get this error message

FileVault was not disabled (11).
or

FileVault was not disabled (2).


can someone help me
 

gabrielafraiz

macrumors newbie
Nov 21, 2023
1
0
Try running the following and see what it shows:
Code:
sudo /usr/bin/fdesetup status -extended -verbose
can you help w/ that? mine "
FileVault is On.


Volume is APFS. (FileVault Enabled)


Decryption in progress: Percent completed = 88. Estimated completion in (Calculating)"

Like that, but my I'm currently having a problem with the charger. I turn it on and it restarts my notebook. How do I complete this %?
I'm not able to reinstall macMonterrey because of this decryption problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.