Could not locate RPC credentials Error I am trying to follow the instructions in the following post:
Check status of daemon

When I try to run bitcoin-cli getblockchaininfo I get the following error:



When I look for the configuration file. It looks like it is not even there.

I am on Windows.
You're getting this error because bitcoind isn't running. Once it is, it will create an authentication cookie, and bitcoin-cli will be able to connect.

To start bitcoind from cmd prompt, type:

cd C:/Program\ Files/Bitcoin/daemon/


Press enter, then type:

bitcoind


And press enter.