Hello everyone! This is Harshad Joshi from the Performance Team at Microsoft. In today’s post, I am going discuss an interesting feature of Remote Desktop Services configured for users via Group Policy Preferences. Recently, I had a request from a customer to change the mouse pointer for a set of users, but only within a Remote Desktop Session. What they wanted was a particular Mouse Pointer scheme shown whenever a particular set of users remote to any server in the infrastructure. The scheme name in Mouse Properties window under control panel is “Windows Black (extra-large) (system scheme)”. The primary mouse cursor in this scheme looks like this:
Now, it’s fairly easily to change the mouse scheme for a user account when the user is logging onto the computer locally; but to assign a particular Mouse pointer scheme only in a Remote Desktop Session (RDP), we’ll need to make use of the Group Policy Preferences (GPP). Given that GPP is an Active Directory Domain policy, we can do this for Domain Accounts. Additionally, GPP is only available if the domain has at least one Domain Controller running Windows Server 2008 or Windows Server 2008 R2 as its operating system. GPP was not available on Windows Server 2003 or earlier operating systems.
These are the steps of how to modify a domain users’ mouse scheme using Group Policy Preferences.
1. Create a group of users for which you want to change the mouse pointer in a Remote Desktop Services session. It’s best if you create this group under a separate Organizational Unit (OU) so that you can link a GPO to this OU.
2. Open Group Policy Management Console (gpmc.msc) and locate the concerned OU.
3. Right Click and select option, “Create a GPO I this domain, and link it here…”.
4. Give it a name which can help you in identifying the reason behind this GPO and click Ok.
5. Once the GPO is shown under the OU, right click on it and click Edit…
6. Group Policy Management Editor will open.
7. In the Group Policy Management editor, navigate to User configuration > Preferences> Windows Settings> Registry. Refer to below screenshot:
Before creating or updating any registry item, you should review the existing registry values that are already present and update those. The screenshot below shows the registry keys along with their values which are already present for the “Windows Aero (system scheme)” :
Since this is the default cursor scheme you will see in windows 7, all you need to do is update these registry keys instead of creating new items.
Below screenshot shows one of the registry keys as an example:
For registry keys which are not already present, you need to choose create option under Action. An example screenshot of create item option is show below:
Below table shows what registry values need to be created for changing the default Mouse cursor to the Windows Black using GPP for domain accounts:
Windows Black (Extra Large)
This is how you can see the registry items after created defined using GPP:
Note down the color difference in the icons for registry items. Yellow ones are the Updated registry keys whereas Green ones are the Created registry keys. Link this GPO to the OU on which you need to apply.
- Harshad Joshi