Is there a way to "lock" a hard drive from programs installing on it?

mroneeyedboh

Distinguished
Mar 24, 2012
180
0
18,680
I have an SSD that is 64gb. I use it only for the windows operating system. I noticed that some programs can default to C: and load onto it. I have to remember to select D: ( my storage ) when loading new programs on...

Is there a program that can lock it to be a system drive only?

Oh and also, I noticed that the drive was at ~25 GB left after the fresh install of windows 7, now I only have 15gb left in the SSD. Is there anything I can delete or do to try and get some GB back? I would assume its from all of the updates windows has been downloading because of the fresh install.
 
Solution
well are you using windows hibernate and is your page file huge? you could disable hibernate that should free up some space. and fo ryour page file if you have like 8gb of memory and your not maxing it out all the time change it to like 2gb or something? might be helpful.

as far as locking windows...i dont think it works like that but somebody will probably chime in on that.
 
You can change the default setting using Regedit. Check out this site. Its the one I found to do the exact thing for myself.
http://www.thewindowsclub.com/change-default-program-files-directory-windows

Also for getting some space back. Try changing your swap file to something really small since computers hardly ever use more memory than whats installed. Also set your System Restore/Protection settings to really small like 1% so it only uses a tiny bit of space.
 


And Windows updates often has an issue with that type of Registry edit.