So using the windows extend feature on the volume (in disk manager on in clonedisk) would be enough?
Yep.
Though it is doubtful that it will work (it needs to be tested).
The whole point is - as mentioned in the given post http://www.forensicf...560295/#6560295- is that MS/Windows and related tools "links" partition info with volume info, i.e. AFAIK/AFAICR the Windows 7 "extend volume" feature expects to find an "unpartitioned" area and extends the partition to include that, and then resizes the volume (filesystem) to the whole space of the partition (minus one sector for the backup bootsector if NTFS).
It is as well possible that it detects the unindexed space inside the partition but outside the volume, of course but it would be an "anomaly" given how partitions and volumes are normally treated in Windows.
In Clonedisk you could implement (if it is not actually there already) something *like* I am using the 10 Gb/7 Gb by Zoso as an example:
1) snapshot/save the extents of the 10 Gb partition
2) overwrite the MBR or EPBR partition table with the extents of the 7 Gb volume (taken from the volume BPB + 1 sector)
3) reboot (or refresh the disk manager view/detected devices, depending on the OS this might need to unmount/remount the volume(s) on the device)
4) use the disk manager or diskpart capabilities to "extend" the partition and volume to the same 10 Gb size it was before
5) it has to be seen how much "granularity" you have in the built-in tools (i.e. if you have sector-wise precision) though of course if both the "7 Gb" and the "10 Gb" have been created by the same Windows 7 through disk manager this is probably not a problem but when "mixing OS" (different alignment) and or using other tools which allow "custom" sizes/alignments you may risk to create some remaining "gap" between the "enlarged to 10 Gb (roughly) partition and the subsequent one.
Almost completely unrelated (but not that much after all ) and just to show off a little bit, check how I managed to work around the issue of 512/4Kb sectored devices:
http://www.msfn.org/...ent-interfaces/
http://www.msfn.org/...ent-interfaces/
at the time if I recall correctly one of the most annoying issues were the differences in the way the diskpart behaved when attempting to "refresh" the mounting, cannot say how Windows 7 behaves, but seemingly there are some differences between XP and Windows 8/8.1.
Wonko
P.S. Attaching the same graphic as in:
http://www.msfn.org/...aces/?p=1095185
that should help in understanding the difference between partition space and actual volumes inside it.