Archive

Archive for March, 2011

Exchange 2010 – Please specify an existing server role(s) to uninstall

March 28, 2011 Leave a comment

Some Controls aren’t valid
– Please specify an existing server role(s) to uninstall

 

Easy one – rather than ticking the boxes for roles you wish to uninstall you must clear (un-tick) the boxes.

Advertisements

Error Activating/Deactivating OCS 2007 R2 Server after rename

March 18, 2011 Leave a comment

 

Accidentally activated an OCS Edge recently, and then renamed it.

 

Whoops.

 

Server was marked as un-activated, and when I attempted activation I got the following;

 

ERROR (0xC3EC794B): Specified role doesn’t match the installed product ID.

 

Answer was simple – rename the machine back to its prior name, and deactivate the Edge service and uninstall the binaries.

Quest set-executionpolicy

March 4, 2011 Leave a comment

The Quest pre-requisites for GroupWise to Exchange migration (for Exchange 2010) has the following command;

Also: Depending on your environment, you may need to run this command to enable the
PowerShell layer using remote PowerShell:

get-executionpolicy | set-executionpolicy unrestricted

This is incorrect on Windows XP SP3 (PowerShell 2) and should be;

set-executionpolicy unrestricted

Checking Rollup version in Exchange 2010 (and Exchange 2007)

March 4, 2011 Leave a comment

Since Exchange 2007, rollup updates are not necessary show in the EMC/EMS against the server object;

image

As can be seen above, the servers are all listed as 2010 RTM even though I know I have installed RU4!!

Never mind, this can properly be seen by running the following PowerShell command;

GCM exsetup.exe | fl

And checking the “FileVersion”;

image

Happy updating!

Hosts “not responding” after joining Virtual Centre to Active Directory

March 2, 2011 Leave a comment

Had a bit of a scary moment today – joined the Virtual Centre server to an AD so I could install backup technologies onto it.

 

All went fine aside from when I opened the vShpere client – all my hosts were marked as “not responding”.

image

Re-connected the hosts (as it can be seen above) – and the hosts popped back in and then back out again. Hmm not good!

Checked DNS, all right as far as I can see. Checked time sync, all right again.

 

Rather bricked myself, so off I went uninstalling the Virtual Centre server and reinstalling (using the existing DB) and voila! all is good.

 

In short, if you do have to join your Virtual Centre to AD, do it before you put Virtual Centre on it or reinstall afterwards!

Providing 32 bit drivers from a Windows 2008 R2 print server – part 1

March 2, 2011 Leave a comment

Recently deploying a 2008 R2 print server to server printers out to Windows XP (x86) clients.

 

When I came to install the first x86 driver, it complained that it required a x86 version of ntprint.inf (please provide a path to windows media x86). This is obviously not to be found on a 2008 R2 x64 system, so I did a bit of digging.

 

Lots of Technet posts later, and I came up with the following post;

 

STEP BY STEP GUIDE TO GET A WORKING NTPRINT FOLDER FROM WINDOWS 7 MEDIA.
If you have a Windows 7 32-bit CD, perhaps with a new computer, OEM disc should work fine, do the following:
1. Make a folder on your C Drive called Win7Mount
2. Obtain a copy of ImageX. This can be downloaded from Microsoft. It is their new imaging software.
3. Insert your Windows 7 DVD or mount your ISO. Note the drive letter.
4. Open a command prompt and change directories to wherever ImageX is installed. I have the Windows AIK installed so mine was at C:\Program Files\AIK\Tools\x86.
5. Type the following command: imagex /mount H:\Sources\install.wim 1 C:\Win7Mount and press ENTER.
6. Wait for imagex to complete. Will take 2-3 minutes to fully mount DVD.
7. Now browse to C:\Win7Mount\Windows\winsxs\
8. Copy the contents of x86_ntprint.inf_31bfxxxxxxxxxxxxxxxxxxxxxxx to wherever you save your Print Drivers. I called it "Windows 7 32-bit NTPRINT". That way when I need it in the future I will remember what it was for. (Note: there is another folder called x86_ntprint.inf.resources_xxxxxxxxxxxxxxxxxx. I copied the contents of that one as well, but didn’t need it. I figured I might in the future so I went ahead and grabbed it now.)
9. Now type: imagex /unmount C:\Win7Mount and press ENTER. This process will take 60 seconds or so.
10. Now when the print server asks for the Windows media, just browse to that new folder you created and it will find the files needed.

(from R_Farquhar @ http://social.technet.microsoft.com/Forums/en-US/winserverprint/thread/59c1d8e4-76f4-415a-9ec1-7046c9d417a2/ )

 

However this gave me a “the system cannot find the file specified” when running step 5. Hmm time to do some more digging.

After some more prudent digging I decided to use DISM to mount the image, so here is some updated instructions! 🙂

1. Make a folder on your C Drive called Mount

2. Insert your Windows 7 DVD or mount your ISO, or extract the contents using something similar to WinRAR. Note the drive letter/or location of extraction

3. Open an administrative command prompt.

4. Type the following command “dism /mount-wim /WimFile:d:\install.wim /index:1 /mountDir:c:\mount” and press ENTER.

5. Wait for dism to complete. Will take 2-3 minutes to fully mount DVD.

6. Now browse to C:\Win7Mount\Windows\winsxs\

7. Copy the contents of x86_ntprint.inf_31bfxxxxxxxxxxxxxxxxxxxxxxx to somewhere sensible.

8. Now type: “dism /unmount-wim /mountdir:c:\mount /discard” (where c:\mount is your mounted dir) and press ENTER. This process will take 60 seconds or so.

9. Now when the print server asks for the Windows media, just browse to that new folder you created and it will find the files needed.