![]() ![]() To do that, beofre typing the commands above, enter a PowerShell The nice thing is, with PowerShell Remoting now enabled by default, you can also do the above without logging onto the Console and instead enable RDP/Disabling NLA/Change the Firewall remotely. PS C:\> New-NetFirewallRule -Name Custom_Allow_RDP -DisplayName "Custom Allow RDP" -Description "Custom Allow RDP TCP port 3389" -Protocol TCP –LocalPort 3389 -Direction Inbound -Enabled True -Profile Any -Action AllowĪnd to make it complete, when RDP is not enabled: PS C:\> (Get-WmiObject -Class Win32_TerminalServiceSetting -Namespace root\CIMV2\TerminalServices).SetAllowTsConnections(1,1) PS C:\> New-NetFirewallRule -Name Custom_Allow_PingICMP4 -DisplayName "Custom Allow Ping ICMP4" -Description "Custom Packet Internet Groper ICMPv4" -Protocol ICMPv4 -IcmpType 8 -Enabled True -Profile Any -Action Allow Other option, but probably not in your case is the Firewall, again start PowerShell: ![]() Start PowerShell and try disabling NLA for RDP with the following command: PS C:\> (Get-WmiObject -class "Win32_TSGeneralSetting" -Namespace root\CIMV2\TerminalServices -Filter "TerminalName='RDP-tcp'").SetUserAuthenticationRequired(0) Don't know all your details, basically nothing is wrong, it's just the protocols/versions/domain-joined or not are not 100% matching. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |