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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
dankyle67Author Commented:
Ok i will try these thanks for now
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

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
Shaun VermaakTechnical Specialist/DeveloperCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Remote Access

From novice to tech pro — start learning today.