title: Google Cloud Datastore Emulator - gcloud beta emulators datastore start fails to create local_db.bin
body: <p>I have the Google Cloud SDK installed under Windows, and I'm running commands in Powershell (running as administrator). </p>
  
  <p>I've run the following to make sure all my Google Cloud SDK components are updated:</p>
  
  <pre><code>gcloud component update
  </code></pre>
  
  <p>I then set the datastore emulator host domain and a project id like this:</p>
  
  <pre><code>set DATASTORE_EMULATOR_HOST=localhost:8081
  set DATASTORE_PROJECT_ID=project-id
  </code></pre>
  
  <p>I'm then running the <a href="https://cloud.google.com/datastore/docs/tools/datastore-emulator" rel="nofollow noreferrer">Google Cloud Datastore Mode Emulator</a> by using the following command:</p>
  
  <pre><code>gcloud beta emulators datastore start
  </code></pre>
  
  <p>This is meant to create a file <code>local_db.bin</code>, that provides local access to data. When I run the command I get a message in the terminal (Powershell, running as administrator) that the file will be created at the following location:</p>
  
  <p>C:\Users\myUserName\AppData\Roaming\gcloud\emulators\datastore\WEB-INF\appengine-generated\local_db.bin</p>
  
  <p>The file isn't being created, and there is no useful error info. I've done the following:</p>
  
  <ul>
  <li>Checked the list of credentialed accounts that are available to the gcloud SDK, using <code>gcloud auth list</code></li>
  <li>Ensured that I'm logged in using the intended account, using <code>gcloud auth login 'accountName'</code> and using Google sign in</li>
  </ul>
  
  <p>How can I get additional information on what the cause of the error is? What else could I try?</p>