Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Windows XP: Launch Firewall as Non-Admin

📅 2010-Jan-18 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ control panel, firewall, runas, windows xp ⬩ 📚 Archive

Administrator privileges are needed to change the settings or add/delete/edit exceptions in the Windows Firewall. The Firewall application resides as a .cpl file in C:\Windows\System32. Control Panel (.cpl) files can be launched using the Windows Control Panel (control.exe).

Use the runas.exe command-line program to launch the firewall with Administrator privileges:

$ runas /user:ComputerName\AdminName "control firewall.cpl"