Sunday, January 19, 2014

"To log on to this remote computer, you must be granted the Allow log on.."

"To log on to this remote computer, 
you must be granted the Allow log on.."

You connect to one of your 2008 server via Remote Desktop and can't log on, and you get the below error :

{ To log on to this remote computer, you must be granted the Allow log on through Terminal Services right. By default, members of the Remote Desktop Users group have this right. If you are not a member of the Remote Desktop Users group or another group that has this right, or if the Remote Desktop Users group does not have this right, you must be granted this right manually }

Cause :

Due to changes made in newer Microsoft Windows operating systems, standard limited user accounts may not be able to log in from.

Solution:

To fix this, log in as an administrator on the Host Machine, Click Start and then click Run.

Type in "gpedit.msc"

Click "OK"

When the Group Policy Object Editor appears, navigate to:

Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment

In the right-hand pane, locate the entry named "Allow Log on through Terminal Services" and double-click on it.

Click "Add User or Group.."

Type "everyone" into the available text box and click "Check Names"

After the name is underlined, click OK

Click OK


You should now be able to log in successfully on the Server terminals with any local or domain user account.

NOTE : If you are using a custom group policy then you will have to make the above changes to the Default Group Policy and not the custom policy, as the server uses the Default policy and a custom policy does not have any effect on the server itself.

Terminal Server has exceeded max number of connections !!!!

Terminal Server has exceeded max number of connections !!!!


Alright, You've got your server weather 2003 or 2008 and you're trying to get in via Remote Desktop and once you do connect, you cannot authenticate and you get the below mentioned error :

{ Terminal Server has exceeded max number of connections }

How do you get past this ? Pretty easy, follow the steps below and you should be good to go.

There are two ways to get past the above mentioned error.

1. Buy your extra licenses so you can have multiple simultaneous connections to the server

or

You already have two default connections available on your servers which you could use to get connected. Now that you only have two default connections available, you will have to kick one of the connections off if two are already connected.

How do you do that ?

Logging Off Users

Once logged into the server, (via VNC or directly accessing the server)

1. Open ‘Task Manager’
2. When the ‘Task Manager’ comes up, select the ‘Users’ tab.
3. In this window, you will see all of the users currently connected to the server.
Select a disconnected user, and then click the ‘Log off‘ button at the bottom to clear it.

Once this has been completed, log the session you are using off and you should be able to connect as normal.

Please use this session only to properly terminate the other two active sessions.

If you need any assistance with this process, or encounter any issues, please do not hesitate to get in touch.