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.
dankyle67Asked:
Who is Participating?
 
Shaun VermaakConnect With a Mentor Technical Specialist/DeveloperCommented:
0
 
Tiborg GuaranaIT beginsCommented:
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
0
 
Hello ThereSystem AdministratorCommented:
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
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
dankyle67Author Commented:
Ok i will try these thanks for now
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
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
0
 
dankyle67Author Commented:
That link was for updating excel files, is there something else i missed on it?
0
 
dankyle67Author Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.