Windows 10: Firewall - CMD Block outgoing traffic

Job ID: 36482467

Budget: €30 – €250 EUR

Hi, I need a simple batch file where the outgoing traffic will be blocked except the traffic to 80.64.129.139 and another batch file where this rule will be reseted.

I have tried to use:

netsh advfirewall firewall add rule name="RULENAME" dir=out action=block protocol=TCP localip=any remoteip=any

netsh advfirewall firewall add rule name="RULENAME" dir=out action=allow protocol=TCP localip=any remoteip=80.64.129.139

but it need admin password. I have the Admin Password so I need the Password to be encrypted in the batch file.
Related categories: Windows Desktop Shell Script Powershell