Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Weird junction problem

30 Aug 2010   #1
gadgetman18i3

Windows 7 Professional x64
 
 
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!


My System SpecsSystem Spec
.

30 Aug 2010   #2
gadgetman18i3

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.)
My System SpecsSystem Spec
30 Aug 2010   #3
logicearth

Windows 8.1 Pro (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 System SpecsSystem Spec
.


30 Aug 2010   #4
gadgetman18i3

Windows 7 Professional x64
 
 

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 System SpecsSystem Spec
30 Aug 2010   #5
gadgetman18i3

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...

Anyway, thanks again! I appreciate it.
My System SpecsSystem Spec
Reply

 Weird junction problem




Thread Tools





Similar help and support threads
Thread Forum
Junction Points and User Accounts
I goofed and need some help! I set up a friends computer with a SSD for the C: drive and 2 mirrored HDDs for data on D:. I used a junction point to move the Users directory to the data drives. I now realize this was a bad idea. Now you cannot login. You get a message about the User Profile...
General Discussion
Cannot search symlink or junction sub-folders.
After entering a folder by following a symbolic link or junction the search function works correctly. If any sub-folder is entered search no longer works (i.e., always returns "No items match your search."). Is this a bug, a feature, expected behavior? :confused: I want to link to a folder on...
General Discussion
Can I Edit A Junction?
Hello. I have about 15 junctions. Rather than remove them and recreate them pointing to another folder, I would prefer to edit or modify the existing junctions and change the path they point to. Example: E:\steam\steamapps\common\game is a junction to d:\steam-storage\game I would like to...
Customization
Windows 7 Backup and Junction Directories
Hello, first post here (sorry if it gets double posted, browser crashed on first submit). I have a C:\Users *directory junction* mapped to D:\Users. I used the following to achieve this: "mklink /J C:\Users D:\Users". Question is: if I do a *system image*, will my files on D:\Users be backed...
Backup and Restore
Some junction became visible
How do I hide the "My Documents" junction (and "My Pictures" etc. in "Documents" folder)? I think the four junctions became visible after I unzipped a 7-zip file containing the "My Documents" folder created in an XP machine. The junctions are now visible regardless of the "hide system files" etc....
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App