Failed to prepare directory

When I'm trying to update my IDEs I recieve this error messages:

My toolbox app is on latest version (1.14.5179). I didn't modify anything in the Toolbox directory

3
1 comment
Avatar
Permanently deleted user

Little bit late, but just found this issue myself.

It's a classic permissions issue. Basically, Windows is protective of the Program Files directory, and will prevent tampering with it by unprivileged users.

You can do a few things to get it working properly...

1) Run the toolbox as Administrator (Right-click, Run-as Administrator).

Not a great solution to have to remember to do every time.

2) Change the permissions for the F:\Program Files\JetBrains (in your case) to allow users full control... 

-- Right click the JetBrains folder.

-- Select 'Properties'

-- Click the 'Security' tab, that's along the top.

-- Click the 'Edit...' button, halfway down the right-hand side.

-- Select 'Users (<USERNAME>\Users)', from the top box.

-- Tick the box that intersects 'Full Control' and 'Allow' (it should automatically tick everything in the allow column).

-- Click 'Apply'... Depending on how many files and folders you have in that directory, you'll see a 'Windows Security' window popup, with names whizzing by... Wait for this to finish.

-- Then click 'OK', and 'OK', to close out the two properties windows you've got open.

-- Attempt to update again.

-- Profit. :)

2

Please sign in to leave a comment.