# Administrator Password Reset
Administrator account passwords can only be reset by invoking the reset command using the FileMage Gateway binary on the virtual machine.
# Windows
Connect to the virtual machine using RDP.
Open command prompt as a administrator.
Run
"C:\Program Files\FileMage\Gateway\reset_password.bat [ADMINISTRATOR_EMAIL]
If the file does not exist, you 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
/opt/filemage/reset_password.sh [ADMINISTRATOR_EMAIL]
If the file does not exist, you 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]"