Hey, just in case anyone is interested in this post, here is what worked for me (in Windows 10, recently: Aug 2015):
SHRINKING A VOLUME
Some info gathered from this site (and others):
http://www.download3k.com/articles/How-to-move-Pagefile.sys-and-Swapfile.sys-to-another-drive-in-Windows-8-8.1-or-10-00430
To shrink a volume (e.g. a partition) on Windows 8.1/10 follow these steps:
1. Open Computer Management (Search "Computer Management")
2. Go to Storage > Disk Management
3. Select the drive you wish to shrink e.g. C:
4. Right click on it and select Shrink Volume
5. If it does shrink much (e.g. there is a lot of Free Space indicated but it can't shrink much of this, then it is likely there is a PAGEFILE issue / file 'stuck' somewhere in the partition which can't be shrunk past.
6. Run a Defrag: Right click on the C: drive and select Properties, then Tools tab, the select "Optimise and Defrag drive" > click "Optimise" button. Select the drive to defrag (e.g. C

, then click "Optimise" button. Let it finish and then…
7. Open Event Viewer (type Event Viewer in Search)
8. In Evet Viewer, locate and click on: Windows Logs > Application
9. Check out the recent events: there should be your defrag event there at or near the top. Look for Event ID "259" which will provide details of the defrag: especially of importance to us: the name of the last file which it can't move (last unmoveable file):
e.g. it will look something like this:
"
A volume shrink analysis was initiated on volume Windows (C

. This event log entry details information about the last unmovable file that could limit the maximum number of reclaimable bytes.
Diagnostic details:
- The last unmovable file appears to be: \pagefile.sys::$DATA
- The last cluster of the file is: 0x11956cc
- Shrink potential target (LCN address): 0xcf87d0
- The NTFS file flags are: P---D
- Shrink phase: <analysis>
To find more details about this file please use the "fsutil volume querycluster \\?\Volume{c0d5ac1a-0549-4049-94c3-46478595be9a} 0x11956cc" command.
"
10. Now you can see it is the \pagefile.sys::$DATA file that is causing an issue (can't be defraged to allow you to shrink your volume)
11. Now we know the 'stuck' file we want to get rid of it… if it is this pagefile, then..
12. Right click on This PC ( = the old "My Computer" I think), or, similarly go to Control Panel > System and Security > System
13. Click on Advanced System Settings on the Left hand side. In this dialogue box, click on the Advanced tab.
14. Next click on the "Setting" box which opens the Performance Settings box click on the Advanced Tab.
15. In the Virtual memory section click the "Change" button.
16. Deselect the "Automatically manage paging file size for all drives" and then for C: drive [Windows]; select the "No paging file" option and then press the "Set" button. Click "yes" on the warning dialogue box that pops up.
17. Next, select a (ideally different drive, preferably a different INTERNAL drive, in this case I will put it on my E: [Music] volume (which is on a different internal HDD to my [Windows] volume, then click the "System managed size" option, and then press "OK" button:
18.
RESTART your computer now!
19. Open Computer Management again and then Volume Shrink to desired size...

20. Then, don't forget this final step! - go back into System properties and change back the system paging file to how it was originally (before steps 16 & 17 above).
You may have a different problem to this, but if its the
pagefile problem this should fix it.
(Otherwise you can probably just use a free software package to do a similar thing!).
Good luck.