Diskpart is not a good tool to extend the system partition, there must be unallocated behind it. As far as I know, you cannot extend the system partition with diskpart command line.
partition magic...