Link to home
Start Free TrialLog in
Avatar of dankyle67
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.
Avatar of Tiborg Guarana
Tiborg Guarana
Flag of Slovenia image

I wouod check this before before jumping in.

https://community.spiceworks.com/topic/1954425-server-2012-windows-firewall-service-disabled-remotely

Just a simple warning
Avatar of Hello There
Hello There

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
Avatar of dankyle67

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
That link was for updating excel files, is there something else i missed on it?
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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