Bootcamp: The startup disk does not have enough space to be partitioned

bootcamphigh sierrapartition

When clicking continue on the first Boot Camp screen, I am presented with a dialog that displays:

The startup disk does not have enough space to be partitioned.
You must have at least 39 GB of free space available.

Screenshot of Bootcamp

This is despite "About this Mac" reporting 271GB of free space:

Screenshot of About this Mac

And "Disk Utility" reporting 268GB of free space:

Screenshot of Disk Utility

Searching online I found this reddit thread which suggested it was the result of Time Machine which i recently enabled and suggests to run sudo tmutil thinlocalsnapshots / 999999999999 which I did, it ran sucessfully, and I restarted, yet to no avail.

What is the solution to this instance of Apple's poor engineering?

Running macOS High Sierra 10.13.4 (17E202)

Best Answer

Okay, the solution is that I did not disable Time Machine and remove all backup drives first. Doing that solved the issue. So the full solution is:

Disable "Backup Up Automatically" in Time Machine System Preferences, and remove all backup drives, such that it looks like this:

Screenshot of Time Machine System Preferences

Then run sudo tmutil thinlocalsnapshots / 999999999999

And try again. Optionally restart the computer and try again.