https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
runas /user:Administrator openfirewall.bat
netsh advfirewall firewall add rule name="Open Remote Desktop" protocol=TCP dir=in localport=3389 action=allow
No comments:
Post a Comment