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.
Who is Participating?
Shaun VermaakConnect With a Mentor Technical Specialist/DeveloperCommented:
Tiborg GuaranaIT beginsCommented:
I wouod check this before before jumping in.

Just a simple warning
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!

netsh firewall set portopening tcp <port #> <description> enable all
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
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
dankyle67Author Commented:
That link was for updating excel files, is there something else i missed on it?
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
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.