How to disable multi-login of a same account on Windows Server 2008?

Windows server accept any user with same username and password connect from several places. There are many third party application that help you to prevent and manage VPN accounts, but if you don't want to install any third party application you can use this trick that help you to disable multi-login of same user on windows server.

Requirements

Instructions

  1. From start menu find and open "Routing and Remote Access". It is usually under "Administrative Tools" menu.
  2. Select your Server Name and open its context menu by pressing right click on mouse then select "Properties".
    • Launching Routing and Remote Access Properties of your server
  3. In properties page go to "IPv4" page and in "IPv4 address assignment section" select "Static address pool" then press "Add" button.
    • RAS Properties - Add IPv4 Range
  4. In "New IPv4 Address Range" window assign 192.168.100.1 and 192.168.100.2. It can be any other range but it should be just 2 number of address. Press "OK".
    • New IPv4 Address Range
  5. Make sure item added to "IPv4 address assignment section" and press "OK" to close.
    • IPv4 address assignment section
  6. From start menu find and open "Server Manager", go to users node, select a user and open its "Properties" from its context menu.
    • Lanuching Windows User's Properties
  7. In "User Properties" window go to "Dial-In" page then select "Assign Static IP addresses" section.
    • User Dial-in Properties
  8. Assing an IP more than what you assign in RAS Properties. In our case it should be 192.168.100.3 to be 192.168.100.255. Ensure that each user have unique IP. Press "OK" and close user's properties page.
    • User Static IP Address

Now users will got error 720 if they already connected from another place.

Exception: Just one user at time can sign-in from two places not even three places, because IP 192.168.100.2 is still free and RAS does not accept 1 number IP range. All other attempt will throw error 720 on user's client.