Also be sure to run cmd (your command prompt) as administrator, since it will need permissions to write out keystore file.