The error I/O error: Access is denied. (os error 5)
means that you have changed the Modrinth App directory to a location that the Modrinth App does not have access to. People commonly change the app directory to Program Files
. Please do not do this. The option to change the app directory is only provided for advanced users. The Modrinth App does not have access to the Program Files folder, so it will fail to read anything from there.
There are two ways you can resolve this. The first method is less destructive but takes more time. The second method is more destructive but easier.
The Modrinth App should be closed before attempting to perform any of the steps below.
Less destructive - manually edit config to change directory
Go to jsoneditoronline.org.
Click "Open" and select "Open from disk" from the menu.
Type
%AppData%\com.modrinth.theseus\settings.json
in the bottom path field and click "Open".Click "[tree]" at the top of the page.
Look for
loaded_config_dir
and double-click its value.Type a valid directory to which you have full write access. By default, Modrinth uses
C:\Users\<YOUR WINDOWS USERNAME>\AppData\Roaming\com.modrinth.theseus\
.Click "Save" and then "Save to disk".
When prompted about name and indentation, leave everything as is and click "Save".
Save the file:
If a save dialog appears, type
%AppData%\com.modrinth.theseus\settings.json
in the bottom path field and click "Save".If not, wait until the file is downloaded. Press
Win + R
, type%AppData%\com.modrinth.theseus\
, click "OK", and drag the file into the Explorer window that just opened.
If asked to replace the existing file, click "Yes".
Try opening the app now.
Path of mass destruction - remove Modrinth's app directory
Open Explorer and navigate to
%AppData%\com.modrinth.theseus\
.Delete everything except
profiles
andmeta
.Open the Modrinth App again and complete onboarding as usual.