It turns out that there was a hard disk error on my C: drive. Running chkdsk, uninstalling postgres and re-installing it solved the problem. The steps I outlined now work.
Thanks.