maxcoin --getbalance gives me Error: Cannot obtain a lock on data directory C:...Roaming\Maxcoin. MaxCoin is probably already running.
What else?
no '--'. just 'maxcoind getbalance'. This won't actually start the daemon, it will just query the instance of it that is already running.