ParallelsでWindowsを利用していて、ログインできなくなった時のリセット方法です。
環境
- macOS Sierra
- Parallels Desktop 12 for Mac
- Windows 10
仮想OSのリストを表示して、UUIDを確認します
$ prlctl list --all
MacminiSSD:~ srea$ prlctl list --all
UUID STATUS IP_ADDR NAME
{825ddef4-3f6c-43e4-b622-8ab19720c1d8} running - Windows 10
{c6713007-7c6e-4998-ae16-75737d968fca} running - Windows 10 2
リセットしたいUUIDをコピーしてローカルアカウントを設定
prlctl set {UUID} --userpasswd {user id}:{password}
MacminiSSD:~ srea$ prlctl set abcdefgh-3f6c-43e4-b622-8ab19720c1d8 --userpasswd srea:srea
Authentication tokens updated successfully.
Success. The operation was successfully completed.
The VM has been successfully configured.
以上で完了です
上記で設定したアカウント情報で、ログインしてみましょう