Skip to content

Datadir file permissions issue gives confusing error on Windows #11668

@ekerstein

Description

@ekerstein

I installed the latest version of Bitcoin on a new computer, everything started up normally and it started synchronizing. I closed the program (waited for it to finish) and reopened. When I did that it now says "Cannot obtain a lock on data directory C:\Program Files\Bitcoin. Bitcoin Core is probably already running. Access is denied".

I've googled the issue, tried deleting the LOCK file, tried uninstalling/reinstalling, and can't get it to work.

There is one thing I changed during the initial installation. When it asked me where I wanted the blockchain data, I changed it to the Program Files\Bitcoin directory instead of the default user App Data directory. I'm not sure if this is bad or messed something up.

After I uninstalled and reinstalled, it no longer asks me where I want the blockchain data so I don't know how to change that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions