dankyle67
asked on
How to disable firewall remotely
Been trying to access a 2012 server thru remote desktop but not getting in so wanted to disable the firewall remotely. Tried to also push vnc install onto server but keeps timing out.
Do not disable firewall. Just enable ports to have an access.
Use PSExec tool...
psexec \\<computer name> cmd
This will open the command prompt of the remote computer right on your screen!
Then:
netsh firewall set portopening tcp <port #> <description> enable all
Use PSExec tool...
psexec \\<computer name> cmd
This will open the command prompt of the remote computer right on your screen!
Then:
netsh firewall set portopening tcp <port #> <description> enable all
ASKER
Ok i will try these thanks for now
but keeps timing out.Firewall is doing what it is supposed to do. If you have any management tools (AD etc.) you can use this
https://www.experts-exchange.com/articles/31867/Updating-Excel-Links-in-Thousands-of-Files.html
ASKER
That link was for updating excel files, is there something else i missed on it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was finally able to get access to server but i had to have someone install teamviewer on it first so i could allow remote desktop thru the firewall. The article is pretty comprehensive on the firewall code and will try to implement at least some of it going forward. Thanks for all the help
https://community.spiceworks.com/topic/1954425-server-2012-windows-firewall-service-disabled-remotely
Just a simple warning