Have you ever been locked out of your Ignition Gateway or needed to perform a quick Ignition Gateway reset? Losing access to SCADA can be stressful, especially in production environments. Luckily, Inductive Automation provides a built-in tool gwcmd.bat that makes resetting passwords and restarting Gateways straightforward.
In this guide, we’ll explain what gwcmd.bat does, how to use it for password resets and restarts, and what precautions to take before running it.
Before running any commands, you need to open Command Prompt as Administrator and navigate to the folder where gwcmd.bat is stored.
On most systems, the default path is:
C:\Program Files\Inductive Automation\Ignition
Use the following command to navigate there:
cd C:\Program Files\Inductive Automation\Ignition
Now you’re in the correct directory and ready to run gwcmd.bat commands.
If you or your client forget the admin login, type:
gwcmd.bat -p
This resets the Gateway password and prompts you to restart the Ignition service. After restarting, you’ll be able to create new credentials.
Tip: This reset creates a temporary user source, giving you access without overwriting projects.
If troubleshooting requires a restart, run:
gwcmd.bat -r
After restarting, you may see:
“Gateway needs to be commissioned.”
This means the Gateway is in a fresh install state and must be recommissioned through the web interface (http://localhost:8088 by default).
Ignition password recovery – Restore access without reinstalling
Ignition Gateway restart – Restart directly from the command line
SCADA troubleshooting – Quick support when web access fails
Integrator tool – Saves time for engineers in the field
Restarting the Ignition Gateway will temporarily stop the system.
Before using gwcmd.bat:
Notify operators and supervisors
Plan for downtime if possible
Ensure restarting won’t create safety or production issues
The gwcmd.bat utility is a simple but powerful way to perform an Ignition Gateway reset or restart. By first navigating to the correct installation folder and then running the right commands, you can quickly regain access and keep downtime to a minimum.