How to Remotely Disable Windows Firewall

bardimin pic

Written by Bardimin

On January 7, 2022
Home » Blogs » Windows » How to Remotely Disable Windows Firewall

Have you ever experienced not being able to access a remotely?

Maybe some of you have experienced access to computers on a that you can't do because the of the you are going to is blocking that access.

Bardimin has experienced, one time, he made to activate remote from a PC. But when you want to access the PC with a remote , you can't. After finding out the cause, I finally found out that the problem was forgetting to give access to the Windows Firewall.

firewall

If the distance from the PC to our location is close, of course, this will not be a significant problem. Because the location of the PC is quite far and is in a different building, Bardimin finally found several ways to disable or turn off the remotely.

How to Disable Firewall with Command Prompt

netsh -r RemoteComputerName -u Username -p Password -c advfirewall set allprofiles state off

How to Disable Firewall with Power Shell

Invoke-Command - ComputerName RemoteComputerName - ScriptBlock {Set- NetFirewallProfile -Profile Public,Private ,Domain -Enabled False}

How to Disable Firewall with PsExec

psexec \RemoteComputerName -u UserName -p Password netsh advfirewall set allprofiles state off

To be able to use PsExec , you must first download the tool on the Microsoft website. Or you can download it here.

Latest Articles

How to Solve Remote Desktop Issues on Windows 11

How to Solve Remote Desktop Issues on Windows 11

Remote Desktop is a feature that allows you to access and control other computers remotely through the internet network. This feature is very useful for various purposes, such as working from home, providing technical assistance, or managing servers. However, some...

How to Solve Double Letter Typing Keyboard in Windows 11

How to Solve Double Letter Typing Keyboard in Windows 11

Have you ever run into that annoying keyboard problem, where every time you type, double letters appear on the screen? This problem can be very annoying and interfere with your productivity. Double-letter typing keyboard is a problem often experienced by Windows 11...

How to Change Desktop Wallpaper for All Windows 11 Users

How to Change Desktop Wallpaper for All Windows 11 Users

If you share your computer with other people, you may want to set the same desktop wallpaper for all users to make it look neater and more consistent. Desktop wallpapers are one way to express yourself and customize the look of your computer according to your taste....

x