Monday, 8 December 2014

Windows 8 hiberfil.sys large file size removal

I only have a 60GB SSD hard drive running windows 8. I am trying to save disk space and noticed this large file:

I guessed it was to do with hibernating, and is roughly 75% the size of my RAM, which is 8GB, So it is taking up 10% of my hard drive. I found this very helpful article describing this file and it's function which is well worth the short read.

Basically, it has the added benifit of helping Windows boot faster. But I will forfiet that advantage as I only switch my PC on once a day.

Here's how to disable it:

powercfg /h off

Monday, 1 December 2014

OS X installing Profiles .mobileconfig files through ARD command line

I've not quite got OS X server running pushing changes to macs yet, so in the mean time I have to change a profile through the web service, download it and install it on the machines I want to update.

I found this article which helped doing it through command line:

/usr/bin/profiles -I -F "/Library/MyOrganization/Company Wi-Fi.mobileconfig"
I first copied the file to "Users/Shared" then ran this script. To improve it, I could make a pkg file which ran a script to install the file. That is the next step