Wednesday, April 30, 2008

Increasing a VMWARE virtual hard disk

vmware-vdiskmanager.exe -x

Here's an example, in which running this command increases the size of the virtual disk file "H:\VMs\W2K3\IDE00.vmdk" to 6 GB:

vmware-vdiskmanager.exe -x 6GB "H:\VMs\W2K3\IDE00.vmdk"

If you have not added the full path to vmware-vdiskmanager.exe to your Environmental Variables, you'll need to use the full path each time you runt the command.

For example:

"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.exe" -x 6GB "H:\VMs\W2K3\IDE00.vmdk"

After you've expanded the virtual disk size, you'll also need to expand the partition.

The easiest way to do this is with Acronis Disk Director.

Just set the .iso boot disk as the virtual CD Rom on your VM and use the utility to resize. It will take you less than 1 minute.

Monday, April 28, 2008

How to determine which service pack is installed with SQL 2005


  1. Open SQL Server Management Studio
  2. Click on 'New Query'
  3. Paste in SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
  4. Click on Execute
  5. The installed SP will display on the results tab

Monday, April 14, 2008

VMWARE: How to access the boot menu on startup

Open up the .vmx file in notepad
Paste in the following line

bios.bootDelay = "5000"

Save and restart the virtual machine.

This will give you 5 seconds(which is more than enough to hit the ESC key and access the boot menu.

Tuesday, April 1, 2008

Microsoft Word/Office 2007 - Unable to paste from body of document into "Document Properties" / "Document Information Panel" Fields

We're implementing Microsoft Office SharePoint Server 2007 and are in the process of upgrading clients to Office 2007. I've noticed something very strange during testing though....Word won't let users copy text from the document body and paste into any of the fields on the Document Information Panel.

The problem seems to be intermittent and we can't work out what's causing it.

Interestingly, you can copy and paste text from the word document body into a notepad file and then copy the same text from the notepad file directly into word....any ideas on whether this a bug or how to configure word to get around this rather glaring limitation?

***************************

On further investigation, I think it might have something to do with the fact that the SharePoint metadata fields we're trying to paste into in the Document Information Panel are "Enhanced Rich Text".... I'm lead to believe this because we've encountered issues when trying to enter information into this field in the "Datasheet View"....

After downgrading the column type at the Site Collection level to "Rich Text" - the problem appears to have gone away *and* we can type into this field in a Datasheet view without getting the pesky error message "This cell is read only".

****************************

I'll need a few additional days to confirm if my suspicions are correct...I really hope they are though, because users are going to freak-out if they have to manually type in a document summary and title for every document we migrate to SharePoint.