How to Tell if Windows is 32 or 64 bit

KB ID 0000153

Problem

If you want to know what version (x64 or x86) of Windows you are running, then this is the simplest way to find out.

Solution

Under accessories run system information;

Under System Type: If it says x86 then it’s 32 bit.

However if it says x64 then it’s 64 bit.

Windows XP and Server 2003

1. Click Start > Run > sysdm.cpl {enter} > General Tab.

Windows XP x32 (x86) and Windows XP x64

Windows Server 2003 x32 (x86) and Windows Server 2003 x64

Windows Vista / Windows 7 / Server 2008

1. Start > Control Panel > System.

Windows Vista and Windows 7

Windows Server 2008

 

Related Articles, References, Credits, or External Links

NA

Using 32 and 64 Bit WMI Filters For Group Policy

KB ID 0001341 

Problem

I was trying to deploy some client AV packages today, there was an x86 version (x32 Bit) and a x64 bit version of the client software. As I was deploying the software via Group Policy I needed to write a different policy for each package. Then I needed to make sure the x32 bit client only deployed to x32 bit machines, and the 64 bit client only deployed to x64 bit machines.

To do that you need a simple WMI filter.

Create an x86 (32 Bit) WMI Filter

Open the Group Policy Management Console (gpmc.msc) on a domain controller > Drill down to your domain > WMI Filter > New > Give it a sensible name (you will be picking it from a list) > Add > Paste in the following;

[box]SELECT AddressWidth FROM Win32_Processor WHERE AddressWidth =’32′[/box]

Click OK > Accept the warning > OK.

Create a 64 Bit WMI Filter

Open the Group Policy Management Console (gpmc.msc) on a domain controller > Drill down to your domain > WMI Filter > New > Give it a sensible name (you will be picking it from a list) > Add > Paste in the following;

[box]SELECT AddressWidth FROM Win32_Processor WHERE AddressWidth =’64′[/box]

Click OK > Accept the warning > OK.

Applying a WMI Filter to a GPO

With the group policy selected > Scope Tab > WMI Filtering > Select the appropriate filter.

Related Articles, References, Credits, or External Links

Windows 10 Create a WMI Filter for Group Policy

Upgrade vSphere 4 Environment to vSphere 5

KB ID 0000543

Problem

I will probably have a ton of these to do next year! The following process runs right through the entire migration process of vCenter, the ESX/ESXi hosts, The Datastores, The VM Tools, VMHardware, and finally re licencing everything with your new vSphere 5 keys.

Solution

Step 1 Verify your Software and Hardware Requirements

1. vCenter 5 Hardware Requirements:

CPU: Requires Dual CPU (At least 2GHz – IA64 Processors are NOT supported)

RAM: 4GB (More may be required if the database runs on the same machine and you have many hosts and guests.

Disk Space: 4GB (though you need additional 2GB to extract the setup files into).

vCenter can no longer be installed on an x32 Host Operating System (Neither can it be installed on Windows XP anymore!).

2. vCenter 5 Software Requirements:

OS: Windows Server 2003 x64, Windows Server 2003 R2 x64, Windows Server 2008 x64, Windows Server 2008 R2 x64.

Database: SQL 2008 R2 Express (Included).

Note: Microsoft Windows Installer 4.5 and .Net 3.5SP1 are also required. (Can be installed from the VIM setup Media).

Step 2 Back Up

1. You are doing and upgrade, you are only as good as your last backup!

Note: Though it is designed for clients migrating from x32 vCenters, to x64 vCenters you can perform a backup with the datamigration tools On the vSphere VIM 5 Media.

Step 3 Upgrade to vCenter Server 5.0

1. Pop in the DVD, present the iso, or extract the setup files using 7Zip.

2. Start > Run > Services.msc > Locate and stop the VMware Virtual Center Server Service.

3. Run autorun.exe form the install media > Select vCenter Server > Install.

4. Select Language > Next > Welcome Screen > Next > Next > I agree… > Next > Enter your Licence Key (It’s easier to do this later) > Next > Next > If you have Update Manager installed you will see this message > OK.

5. Select “Upgrade Existing vCenter Database” and tick the box to say you have a backup > Next.

6. Select Automatic > Next > Supply User Credentials > Next > Next > Next > Next > Select Small, Medium, or Large Deployment > Next > Install > Finish.

Step 4 Upgrade VMware vSphere Update Manager

1. Back at the installer screen > Select VMware vSphere Update Manager > Install.

2. It should detect (providing you are updating update manager of course) the earlier version > OK > Next.

3. Next >Tick “I Agree….” > Next > Untick “Download Updates…” if you wish > Next > Type in the administrator password > Next > Next > Tick “Yes, I want to upgrade…” > Tick “I Have taken a backup…” > Next.

4. Next >Install > If prompted for a reboot click OK > Finish.

Step 5 Upgrade VMware vSphere Client 5.0

1. This does not have to be on the vCenter server, but your VI clients on your administrative machines will need updating. Back at the installer screen > Select VMware vSphere Client > Install.

2. OK > Next > Next > Tick “I Agree….” > Next > Enter your user information >Next > Install > Finish > Close the VMware vCenter Installer window.

Step 6 Install the Update Manager Plug-in.

1. Launch your new VI client and log into the Virtual Center > Select Plug-ins >Manage Plug-ins.

2. Locate and install the update manager Plug-in.

Step 7 Upgrade your Hosts to ESXi 5.0 Using Update Manager

1. Whilst in your VI client, select the virtual Center > Update Manager Tab > Admin View.

2. Select the ESXi Images Tab > Import ESXi Images.

3. Browse to a copy of the ESXi 5.0 install setup iso > Open it > Next.

4. Next > Next > Give the Image a new name > Finish.

5. Select the “Baselines and Groups” Tab > You should see your imported Image.

6. Change back to “Compliance View” > Attach > Select the ESXi 5.0 Baseline > Attach.

7. Your ESXi hosts should appear (If not, click scan) > Click Remediate > Ensure the host(s) you want to update are selected > Next.

8. Tick “I accept….” > Next > Tick “Remove Installed Third Party Software…..” > Next.

Warning: If you upgrading from ESX (as opposed to ESXi you may have software installed e.g. UPS monitoring software, HP Insight Agents etc, these will be removed, be aware.)

9. Next > Next > Finish > Your Hosts will remediate/upgrade. This can take a long time and appears to hang at 22% > If you have access to the host you can speed up the process by rebooting it when prompted, though you DONT have to do that. It will put the host into maintenance mode update it, the reboot it, and finally take it out of maintenance mode.

10. Repeat as necessary for any remaining ESX/ESXi hosts, if you have HA it will move your gust VMs about for you but I prefer to shift them manually as I find its usually quicker that way.

Step 8 Upgrade your VMFS-3 Datastores to VMFS-5

1. Select a host that has access to the datastore > Configuration > Storage > Select the VMFS Datastore > Update to VMFS-5 > At the warning click OK.

2. Depending on the size of the volume it might take a while, when its finished it will automatically rescan all the datastores and update the display.

Step 9 Upgrade the VMware Tools and Virtual Machine Hardware

1. You can either do this on a machine by machine basis, or using Update Manager. To update the VMware tools on a particular guest, right click it and select Guest > Install/Upgrade VMware Tools.

2. Remember choosing “Automatic Tools Upgrade” will reboot the guest machine, as soon as its finished, plan some downtime or do this out of hours.

3. You can update the virtual machine hardware in the same manner (the guest needs to be powered off first) Then right click > Upgrade Virtual Hardware > At the warning message click Yes.

4. To update using Update Manager > Change your view to “VMs and Templates”

5. Then either select a single VM or select a folder containing multiple VMs (you can create a folder and drag the VMs in you want to update). Select the update manager Tab > Attach > Select either VMware tools or VM Hardware (or Both) > Attach.

6. Select Scan > Select Tools and/or Hardware > Untick Virtual appliance upgrades > Scan.

7. The guests that need upgrading will be shown as “non compliant” > Select them > and click Remediate.

8. Next > Next > If you want to take a snapshot before proceeding, leave the option ticked > Next.

9. Finish.

Step 10 Install your vSphere 5 Licences

1. From within the VI client > Home > Licencing.

2. Manage vSphere Licences > Paste or type your licence keys in, and select > Add Licence Keys > Next > Select Each ESXi host and change its licence from Evaluation mode to the licenced key.

3. Select the Virtual Center tab and allocate that a licence as well > Next > Next > Finish.

 

Related Articles, References, Credits, or External Links

NA

Exchange 2007 – Install the x32 Bit Management Tools

KB ID 0000285 

Problem

As you may already be aware Exchange 2007 on a x32 bit machine is NOT supported in a production environment, however there is one exception, x32 bit Exchange 2007 IS supported for management only.

Note: There is NO x32 bit support, (or media) for Exchange 2010 (and newer).

Solution

You can install these tools on XP, 2003, Vista or Windows 7. For this Example I’ll use XP

Pre-Requisites

1. Install IIS: Start > run > appwiz.cpl > add remove Windows Components > Internet Information Services(IIS) > Next.

2. Download and install .Net Version 2.0

3. Download and Install .Net SP1

4. Download and Install MMC 3.0

5. Download and Install Powershell

Install the Exchange 2007 x32 Management Tools

1. Download the Management Tools.

2. Run the .exe file and extract the files to a folder > From that folder run setup.exe

3. Select “Step 4 Install Microsoft Exchange Server 2007 SP1”

5. At the intro page > Next > Tick “I Accept…” > Next > Next >

6. Select “Custom Exchange Server Installation” > Next > Select Management Tools > Next.

7. Exchange will perform its readiness checks > Next > Finish.

8. Exchange Management Tools will launch automatically.

Related Articles, References, Credits, or External Links

NA

Mailbox Move Error – ‘Couldn’t switch the mailbox into Sync Source mode’

KB ID 0000795 

Problem

While attempting to move a mailbox between sites last week I got this;

Error details: Couldn't switch the mailbox into Sync Source mode.
This could be because of one of the following reasons:
Another administrator is currently moving the mailbox.
The mailbox is locked.
The Microsoft Exchange Mailbox Replication service (MRS) doesn't have the correct 
permissions. Network errors are preventing MRS from cleanly closing its session 
with the Mailbox server. If this is the case, MRS may continue to encounter this 
error for up to 2 hours - this duration is controlled by the TCP KeepAlive settings 
on the Mailbox server. Wait for the mailbox to be released before attempting to move 
this mailbox again.

Solution

I knew no one else was attempting to move it, and I had full exchange permissions.

In my case the two sites with Exchange were joined together with a site to site VPN, the error message was giving me a hint (though a cryptic one) with the ‘Network errors are preventing MRS‘ comment. What I needed to do was increase the ‘Keep Alive’ time for it to complete.

Note: I increased the keep alive time to 1 hour, most posts I’ve seen recommend 5 minutes, it’s up to you, I was running my mailbox moves overnight and I didn’t want to walk back into carnage. Just REMEMBER to DELETE the registry entry when the mailbox moves are compete!

1. Before you can attempt to move the mailbox again you need to remove the move request, either graphically (Exchange 2007/2010) from the Exchange Management console > Recipient Configuration > Move Request > Locate and delete the move request, or from PowerShell;

[box]
Remove-MoveRequest {Username}
[/box]

2. On the source mailbox server, Start > Run > Regedit > Navigate to the following registry key;

[box]
HKEY_Local_Machine > System > CurrentControlSet > Services > Tcpip > Parameters[/box]

Create (or edit if it’s already there) a 32 bit DWORD value.

3. Call the value KeepAliveTime and set it’s value to 3600000 (Note in milliseconds that’s 1 hour), if that’s to rich for you use 900000 (15 minutes).

4. Repeat the process on the destination mailbox server (and any hub transfer servers that will be in the ‘path’ of the mailbox move).

5. Don’t forget to remove these changes when you are finished.

 

Related Articles, References, Credits, or External Links

NA