Starting in the ConfigMgr console, under Software Library, select the Scripts node and then click on Create Script from the ribbon.Įnter the script’s name. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False How to Create a Script in SCCM/ConfigMgr/MEMCM Always remember, though, to put the firewall back on afterwards! Turn Off a Windows Firewall by Using PowerShellĪ quick Google search revealed that the following PowerShell command turns off all firewalls on a Windows computer, so I am going to use it in my script. Below are the steps I took to turn off the firewall. In order to overcome this problem, I used Run Scripts to turn off the firewall, which then allowed me to use RDP. It was blocking me from accessing the computer. When I attempted to use RDP to access the computer, however, it was failing, so I quickly determined that the problem was the firewall. Instead, using Remote Desktop (RDP) to access the computer made more sense. That seemed to be a waste of valuable time. In order to go onsite, I needed to drive 20+ minutes there, spend another 5-minutes fixing the problem, and then drive another 20+ minutes back to my office. One day, I was troubleshooting a problem with a computer that’s located in another office from where I work. There is long story behind why I think Run Scripts is my new favorite feature within Configuration Manager (SCCM/ConfigMgr/MEMCM).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |