Solved Weird junction problem

gadgetman18i3

New member
Local time
7:52 AM
Messages
4
SOLVED: Weird junction problem

Hey everyone, this is my first post on the forum - I hope someone here will be able to help me out.

I recently bought an SSD and in order to conserve space on the drive, I did a fresh install of Windows 7 and created junctions for the "Program Files", "Program Files (x86)", "Users", and "ProgramData" directories that pointed to a second (D:\) hard drive.

For the first couple of days, everything looked perfect - an inspection of C:\ under Windows 7 would report the correct amount of used/free space. However, now the drive is reporting an INCORRECT amount of used/free space. For some reason, I believe it is including the space in my junction shortcuts as local used space.

I am not sure if Windows Update has somehow caused this problem, but I would like to correct it if I can.

So far all I have tried to fix it was rebooting into the administrator account, using the command prompt to perform a rmdir on the junction folders on C:\, and then re-applying the mklink command to re-create the junctions. However, that did not solve the problem.

I think I should also mention that the junctions are working as intended and everything (I've tested this by placing test files in the junction folder and making sure they pop up in the corresponding D:\ folder and by deleting the files and checking vice-versa). This is just the problem of Windows reporting the wrong amount of used space on the C:\ drive.

I used this method to perform the junction creations during my fresh install (again, I had no issues):
Windows 7 Move the Users and Program Files Directories To A Different Partition | Tuts4Tech

Thanks in advance to anyone who can help me figure this out!
 
Last edited:

My Computer

OS
Windows 7 Professional x64
I'm going to go ahead and post some images for clarification purposes:

Here's a screenshot of "My Computer":
http://a.imageshack.us/img210/2408/computeri.png

Here's a screenshot of my "C:\" drive, with junctions setup:
http://a.imageshack.us/img836/9921/89305354.png

Here's a screenshot of my "D:\" drive, where the junctions are re-directing to:
http://a.imageshack.us/img801/7913/96097497.png

Here's a screenshot of my "D:\" drive folders, showing their true used space:
http://a.imageshack.us/img827/5538/dspace.png

Here's a screenshot of my "C:\" drive, reporting the same used space:
http://a.imageshack.us/img844/4053/cspacejunction.png

Here's a screenshot of my "C:\" drive, showing what the true used space SHOULD be:
http://a.imageshack.us/img841/3851/cspacetrue.png

As you can see from the pictures, the C:\ is reporting that 29.5 gigs are in use, when really it should only be reporting that 22.7-22.9 gigs should be in use.

(Also, I do have "Show hidden files, folders, and drives" checked under folder options in Windows Explorer.)
 
Last edited:

My Computer

OS
Windows 7 Professional x64
What you are doing in the last picture of getting file size is always going to be incorrect.
The values listed in Drive Properties on my Computer is always correct.

It is not adding the junction points to the number. Because the way Drive Properties gets the free and used space is from the hard drive bitmap which contains every single bit the HDD can hold, and every single bit that is currently in use. Always accurate always correct. If the bitmap isn't correct, there will be problems, extensive horrible problems.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Thanks for the reply - I am at school now and cannot check under drive properties, but I will be sure to check when I get home tonight. If there are any weird abnormalities (or if everything checks out perfect) I will be sure to update tonight.
 

My Computer

OS
Windows 7 Professional x64
Thanks logicearth - you were absolutely right. I checked under properties and as it lists in the subtext of "My Computer", the free space on the drive must, in fact, be 30 gigs. I further tested this by making a copy of my iTunes folder (around 20 gigs) and cutting/pasting it within my 4 junction directories. Not a single one of the directories with the 20 gig folder added to them caused the free space on the drive to go down.

I think what probably happened was that Windows Update must have been pretty large (I think I allowed it to install language packs and stuff like that), and although checking the size on the Windows directory didn't reflect that, that must be where my 6 gigs went.

It was just a little ironic that 6 gigs happened to be around the same size as my 4 junction directories combined! I guess coincidences can occur from time to time... :confused:

Anyway, thanks again! I appreciate it.
 

My Computer

OS
Windows 7 Professional x64
Back
Top