Monthly Archives: May 2015

Set-ADForestMode Fails – referral was returned from the server

Attempting to upgrade the forest mode from 2003 to 2008R2, using the command:

Set-ADForestMode –identity %FOREST% –ForestMode Windows2008R2Forest

This was failing with the error:

Set-ADForestMode : A referral was returned from the server

I found the Active Directory Web Services Service hadn’t started.

After starting this service, the Set-ADForestMode command worked fine.

RDS Manager MMC Freezing

I removed a server that was added into a Remote Desktop Services Manager MMC snap-in.  Once the server was removed, the MMC would freeze.

You could notice that the RDS group (in this case ‘My group’ would get an hour glass on it, and then the RDS Manager would get an error.

 

     

Close the MMC, and ensure there are not instances of mmc.exe running.

Open the registry and navigate to:

HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionTerminal ServerTSAdminConnectionsMy Group

Find the server that was removed and delete it.  Close the registry and open RDS Manager.

Reference:
http://www.pcreview.co.uk/threads/terminal-service-manager-hang-when-i-open.1608147/

Remove Dymo label printer addins.

I recently installed a Dymo Label printer on a Terminal Server.  There were no options during the installer, so addins were installed into Word, Excel and Outlook.  I used Group Policy Preferences to remove them.  To remove them, the following registry keys need to be deleted:

HKCUsoftwaremicrosoftofficewordaddinsdymo.labelwriteraddin
HKCUsoftwaremicrosoftofficeoutlookaddinsdymo.labelwriteraddin
HKCUsoftwaremicrosoftofficeexceladdinsdymo.labelwriteraddin