This is an old revision of the document!
Login scripts run in the security context of the user logging in and are therefore not suitable for manipulating the Windows Firewall.
You can use Computer Startup scripts as they run as the LocalSystem account.