Error when expanding disks in Windows Server 2008

If you try to expand disks on a Windows Server 2008 and you get an error message like this:
notenoughspace

The resolution that worked for me is to do an Manual rescan of the disk.
Do like this:
rescan