Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Lost RDP access: Is there a powershell command to modify this value on Azure VM: Windows Firewall Windows Firewall Public Settings Apply local connection security rules

$
0
0


I was following a security recommendation to modify the value to Yes and seem to have totally removed my rdp access to my VM. I made the change under firewalll properties on the VM. 

Action: Windows Firewall Windows Firewall Public Settings Apply local connection security rules set it to No

The value was unselected and I need a way to turn it back to unselected or "Yes" please.

I can access powershell commands and was wondering if there was a command I could run to set this value back to No? 

I have done some digging but can't quite work it out. 

I wasn't quite sure whether this was even the 

Get-ItemProperty -Path HKLM:\Software\Policies\Microsoft\WindowsFirewall\PublicProfile\

Cheers

James


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>