Knowledge Box
Exchange 2007 / 2010/2013 rules size limit and how to increase it
By default Exchange 2007 / 2010 / 2013 rule size is 64 KB but is expandable to 256 KB.
Use the cmdlet below in Exchange Powershell to make the changes.
To set the rules quota to 256kb for the user dummy run
[PS] C:>get-mailbox username|set-mailbox -rulesquota 256kb
To make sure that the user has got the new rules size run
[PS] C:>get-mailbox username|fl rulesquota
It should return
RulesQuota : 256KB
To set the quota for all users run
[PS] C:>get-mailbox|set-mailbox -rulesquota 256kb
To get the quota of all users run
[PS] C:>get-mailbox|fl rulesquota, alias
To log on to this computer, you must be granted the Allow log on through the Terminal (or Remote Desktop) Services right....
Follow these steps if you cant log into your PC and see a dialog box that says "To log on to this computer, you must be granted the Allow log on through the Terminal (or Remote Desktop) Services right...."
Youre seeing this error message because the user youre trying to log in as does not have the correct permissions to use Remote Desktop. To fix this, well grant these permissions to your user account. Note: Please be careful when following these steps, make sure you follow these steps as listed here.
First well make sure your user account is a member of the Remote Desktop Users group:
Right click Computer or My Computer and then click Properties.
Click the Remote Settings link or the Remote tab if you are on XP and same in This PC properties if you are in Above version like Windows 8 & 7.
Click the Select Users or Select Remote Users button.
If your user name is not listed in there, click Add and enter your user name.
Click Ok and Ok again to dismiss both dialogs.
Once you are done, try reconnecting. If you can connect, stop here - were done. If you still see the error message continue to step 3.
Were almost done. Next, well grant the Remote Desktop Users group the right to log on:
Click Start then click Run. Enter secpol.msc and click Ok.
The Local Security Poloicy window should open up.
Expand the Local Policies node and click User Rights Assignment.
On the right hand side, double click Allow log on through Terminal Services or Allow log on through Remote Desktop Services.
Click Add User or Group and enter Remote Desktop Users.
Click Ok and Ok again to dismiss both dialog boxes.
Restart your PC, wait for a few minutes and try to reconnect using Jump
Installing the Remote Desktop Session Host role service on a computer running Windows Server 2012 without the Remote Desktop Connection Broker role service.
If the system needs to be configured as a Domain Controller,
install the Active Directory Domain Service (AD DS) role service on
the Server and promote as Domain Controller
For more information on how to install AD DS in Windows Server 2012, Visit the
following Microsoft Web page:
http://technet.microsoft.com/en-us/library/hh472162
Install the Remote Desktop Licensing and the Remote Desktop Session Host role services using the following steps:
Open Server Manager
Click on Manage and select Add Roles and Features
Select Role-based or Feature-based installation
Under Remote Desktop Services, choose Remote Desktop Licensing and Remote Desktop Session Host role services.
Proceed with installation
Add the License Server to Terminal Server License Servers group and restart the Remote Desktop service
You can add the server to Terminal Server License Servers group by opening licmgr.exe and select the Review link.
ORYou can manually add the server to Terminal Server License Servers group (On DC this will be in Built-in groups)
Activate the License Server automatically from License Server UI (licmgr.exe)
For more information on how to activate the Remote Desktop License server:
http://technet.microsoft.com/en-us/library/cc771547.aspx(http://technet.microsoft.com/en-us/library/jj134160.aspx)
Install appropriate RDSCALs.
For more information on how to install RDS CALs, visit the following Microsoft Web page:
http://technet.microsoft.com/en-us/library/cc725890.aspx(http://technet.microsoft.com/en-us/library/cc725890.aspx)
If the system is a Domain Controller, add the Domain Users group (or the specific list of users) to the Allow logon through Remote Desktop Services local group policy. To edit the local group policy object setting, follow these steps:
Open GPEDIT.MSC
Expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies and then click User Rights Assignment.
Double-click Allow log on through Remote Desktop Services and then click Add User or Group.
Type the user account, click OK and then click OK
Close the Group Policy Object Editor.
Add the users you want to allow to connect to the Remote Desktop Users group.
For example: Domain Users. (On DC this will be in Built in groups)
Configure the Remote Desktop Session Host role with to use the local Remote Desktop Licensing server. Follow these steps:
Open an elevated Windows PowerShell prompt
Type the following command on the PS prompt and press Enter:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSettingRun the following command to set the licensing mode:
Note: Value = 2 for Per device, Value = 4 for Per User
$obj.ChangeMode(value)Run the following command to replace the machine name with License Server:
$obj.SetSpecifiedLicenseServerList("LicServer")Run the following command to verify the settings that are configured using above mentioned steps:
$obj.GetSpecifiedLicenseServerList()
You should see the server name in the output.Users can now initiate Remote Desktop Sessions to the server from any supported RDS client.
Note:Windows8-RT-KB2871777-x64 search for this patch and update window with this, then try to install REMOTE DESKTOP from roles and features.
 
Remote Desktop and Microsoft Security policies for Applications
Remote Desktop Services in Windows Server 2008 R2, previously known as Terminal Services in Windows Server 2003 and previous versions, is one of the components of Microsoft Windows that allows a user to access applications and data on a remote computer over a network, using the Remote Desktop.