Forum Discussion
WillCun
Mar 11, 2021Copper Contributor
disconnect-vpnuser error. (Powershell, RRAS)
Hello, I'm trying to disconnect a user from a RRAS VPN Server with the below PowerShell command: disconnect-vpnuser -username domain\username However, I get the below error when the comma...
WillCun
Mar 15, 2021Copper Contributor
I found my problem. I want to thank you again for replying and offering help.
I have a unique setup going on with my VPN where I'm assigning users static IP Addresses through the Active Directory Dial-In properties. I'm also using Radius with a Network Policy Server. My problem was the NPS Policy. On the VPN I have Inbound and Outbound rules set on each NIC. I also had IP Filters enabled on my NPS Policy with the same settings. Once I removed the IP Filters from the NPS Policy I was able to use disconnect-vpnuser successfully.
I have a unique setup going on with my VPN where I'm assigning users static IP Addresses through the Active Directory Dial-In properties. I'm also using Radius with a Network Policy Server. My problem was the NPS Policy. On the VPN I have Inbound and Outbound rules set on each NIC. I also had IP Filters enabled on my NPS Policy with the same settings. Once I removed the IP Filters from the NPS Policy I was able to use disconnect-vpnuser successfully.
farismalaeb
Mar 15, 2021Steel Contributor
That's good news, glad your issue was resolved and you post the answer back.