# Administrator Password Reset
Administrator account passwords can only be reset by invoking the filemage reset
command on the virtual machine.
# Windows
Connect to the virtual machine using RDP.
Open command prompt as a administrator.
Run the command:
filemage reset <ADMINISTRATOR_EMAIL>
If the file does not exist, you may have a older version of the image which does not have the utility script. Instead run the command:
"C:\Program Files\FileMage\Gateway\filemage.exe" -c "C:\ProgramData\FileMage\Gateway\config.yaml" reset <ADMINISTRATOR_EMAIL>
# Linux
Connect to the virtual maching using SSH.
Run the command:
sudo filemage reset <ADMINISTRATOR_EMAIL>
If the file does not exist, you may have a older version of the image which does not have the utility script. Instead run the command:
sudo su filemage -s /bin/sh -c "/opt/filemage/bin/gateway -c /etc/filemage/config.yml reset <ADMINISTRATOR_EMAIL>"