How to set up a Linux lab with no Linux machines

So when you’re told that you might have 30-odd students that need access to Linux for some course they’re doing, and you don’t have any spare machines and don’t want to dual boot with Windows on a computer suite and you don’t have time to do that anyway, what do you do? Well, one solution is what we’ve done: A Linux virtual machine running on a Hyper-V server, with “child” virtual machines, each accessible from a Windows machine. Specific for …

Switching audio output between jack and HDMI on RetroPie

RetroPie is a great multi-emulator project for the Raspberry Pi, but I noticed that its auto-detect for which audio device to use seems a bit erratic. I’ve speakers plugged into the 3.5mm jack, as the HDMI cable runs to a speaker-less monitor, and usually (but not always) RetroPie defaulted to squirting sound out the HDMI port. There’s two ways of fixing this. Firstly, you can change the audio output for the current session (i.e. until you reboot it) by issuing …

Fixing “Not enough free space” error when deploying Windows image

After creating a new install of Windows 7, with all the software on I wanted, I then tried to use our Windows Deployment Services Server to capture the image. However, it failed using both methods we’d used previously. When booting to Windows PE over the network, choosing all our usual capture options, and then triggering the capture, an error message came up – “not enough free space”. This seemed odd, as there was a good 60GB free on the local …

Making MacPorts work again after upgrading to Mavericks

Although pretty much everything “just works” after upgrading from Lion/Mountain Lion to Mavericks, one thing that doesn’t is MacPorts. Well, it still works, or at least it did for me, but you’re unable to upgrade it or install more ports, as they all fail with various error messages (including “Error: org.macports.extract for port gperf returned: command execution failed”), and the usual sudo port selfupdate just gives the message MacPorts base version 2.2.1 downloaded. —> Updating the ports tree —> MacPorts base …

Updated: How to upgrade your 3DS SD card, to 64GB and beyond

UPDATE 15th January 2015: I’ve updated this guide again to cover transferring data to a New 3DS here. Please use this link here from now on: Upgrading your 3DS SD card, your 3DS, or both. A while back I put together this guide for migrating all your 3DS games and files from one SD card to another. It’s one of my most popular articles, and somehow (thanks to you lot for recommending it) it has become the de-facto way of doing …

Who’s looking at my SQL server?

Putting this here mainly for my own benefit, but it may help others. If you want to find out which NT users are connected to your MS SQL (2005 or 2008) server, and which computer they’re using – simply use this query (which you could run in SQL Server Management Studio): select hostname,nt_username from sys.sysprocesses For added excitement, if you do use Management Studio, you can display the result as text or a grid to take into Excel and filter …

Can’t upgrade Exchange 2010 – “The service cannot be started”

The time had come to install SP3 on Exchange 2010. Things hadn’t worked, with nothing useful in the logs, when I tried to apply all the SP2 update rollups, so I thought I’d skip them and go straight to Service Pack 3. I had a few odd issues to begin with: For some reason it thought I had Windows Update running. I didn’t. Then it got through the “readiness checks” but failed because “beremote” (Symantec Backup Exec was running – …

Possible solution to Camptune X’s “repair disk” error

My Windows Bootcamp partition was getting a bit full, so I wanted to resize it. It seemed the easiest way of doing this was by using Camptune X, and, after solving the following problem, I think it was: Run app, use slider to resize OS X and Windows partitions, wait. That’s it. However, when I first ran it, it came up with an error – saying that my OS X partition was damaged and telling me to run a disk …

How to get rid of inaccessible extra mailboxes in Outlook 2010

It’s pretty common in an Exchange environment for users to have access to other users mailboxes. Permission can be given via the Exchange Management Console for users to access another mailbox from within Outlook (File > Open > Other User’s Folder), and, in theory, permission can be removed using the EMC as well. Unfortunately, even though permission is seemingly removed, it often leaves the now unnecessary mailbox in Outlook where it can’t be deleted, accessed, or even hidden from sight. …

Exporting routes from Endomondo (and using them in Google Maps)

I love Endomondo, but one thing it doesn’t do is let you export routes you’ve created and use them in other applications and things like Google Earth and Google Maps. Sure, you can export workouts as both tcx and gpx files, but that means you need to have actually cycled the route first before you can export it. In my route planning, I like to create the rough route in Endomondo, then stick that in Google Maps and look for nearby …

Injecting Windows Updates into install WIM files via MDT

For a while now we’ve been deploying Windows 7 on the network using the Microsoft Deployment Toolbox, and it generally works well. However, some of the images we deploy are now about a year old, and a year is a long time in the wonderful world of Microsoft Critical And Security Updates, and so having deployed a new PC there’s still a good hour’s worth of install-reboot-install-reboot-install “fun” with the updates. I decided it was time to start rolling the …

My first Arduino project – Pulse

OK, so it’s not really a project. And the circuit is just that used in the ARDX manual for CIRC-07. But the program is mine! It’s not very exciting, but then I expect first projects rarely are. If you can’t tell from the video, the LED pulses and the two buttons control the speed of the pulse. int ledPin = 9; int inputPin1 = 3; int inputPin2 = 2; int val = 0; void setup() { pinMode(ledPin, OUTPUT); pinMode(inputPin1, INPUT); …

Restricting who an Exchange 2010 user gets email from

At work, we have an IT Helpdesk (as part of Spiceworks). Staff can email the helpdesk, and the helpdesk creates a work ticket and the IT staff get notified. It works well. However, the system is locked so that only people on the work domain, with work email addresses (lets say, @work.com) can email it. This was intentional, so it didn’t pick up spam and so staff didn’t email it from their home email accounts and so on. If this …

Managed network install of Google Chrome Frame

If you’re locked into using Internet Explorer on your network, for whatever reason, you’ll probably find that there are some websites that simply don’t work properly, and ask you to install a “modern browser” like Firefox or Chrome. Thing is, allowing other browsers on your network is fraught with technical support issues, especially if you use other systems that insist on only working properly in IE (like some Sharepoint stuff). You can’t rely on users to always use the right …