Mac OS X Terminal – Parallels – Reset Windows User Password

| | | | | |

Forgot your password to your Parallels Windows Virtual Machine?

Power up your Windows VM then run this script to list all machines as you need the ID

prlctl list --all

You’ll see something like this

prlctl list --all
UUID                                    STATUS       IP_ADDR         NAME
{8ebbccf1-00e9-4c33-8952-c372bdff1f82}  running      -               Windows10P

Copy the UUID minus the { } brackets

prlctl exec 8ebbccf1-00e9-4c33-8952-c372bdff1f82 net user
prlctl exec 8ebbccf1-00e9-4c33-8952-c372bdff1f82 net user

User accounts for \\

-------------------------------------------------------------------------------
Administrator            DefaultAccount           dkittell                 
Guest                    ladmin

Run this next piece for each user you want to change the password for

prlctl set 8ebbccf1-00e9-4c33-8952-c372bdff1f82 --userpasswd dkittell:1T.bp79.4Q8L0VZ

In the above example dkittell:1T.bp79.4Q8L0VZ is {username}:{new password}

No I don’t actually use that password :)

If successful you should see something like this

prlctl set 8ebbccf1-00e9-4c33-8952-c372bdff1f82 --userpasswd dkittell:1T.bp79.4Q8L0VZ
Authentication tokens updated successfully.
Success. The operation was successfully completed.

The VM has been successfully configured.
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.