Possible causes:
- Windows was hibernated rather then shut down.
- Windows was not properly shut down. (Perhaps there was a power failure, or it bluescreened last time it ran?)
- The Windows partition is damaged, and should be fixed with
chkdsk
in Windows. - The Windows partition is too full to be shrunk.
- The Windows partition cannot be shrunk because the files in it are too badly fragmented, preventing them from being constrained to exist only within the new boundaries.
- The Windows partition cannot be shrunk because of immovable files near the boundary.
- The drive has been formatted as a "Windows Dynamic Disk" - Ubuntu can not be installed on a Dynamic Disk, you will need to convert the drive to a Basic Disk.