A Little Noise


Change Switched on Schoolhouse client host

Our homeschool curriculum choice has been Switched On Schoolhouse, by Alpha Omega Publications. AOP offers the same curriculum in an online format called "Monarch"; Switched On Schoolhouse is their disc-based version. We chose SOS instead of Monarch because it allows our students to do their work anywhere - in the car or a doctor's waiting room - regardless of the available Internet connection.

SOS has two program interfaces, "student" and "teacher", and two installation modes, which they call "full" and "client". If you only have one computer, then you do a "full" install of both "student" and "teacher", and both the student's work and any grading are done all in the same place. However, that means that for me to do any grading, my students can't be using their computers, and I also have to do be seated at their computer rather than using my own, which isn't ideal for us.

AOP has attempted to resolve this inconvenience with their "client" offering. The intended layout is a "full" installation on some host computer (probably the teacher's machine), and then a "client" installation of the student interface on each student's machine. This setup allows the teacher to see all students in the school within a single interface, switching between them with a simple dropdown menu. However, it also requires that the host computer be available on a local network to the students at all times, which would be even worse for us than the online requirement of Monarch (we'd have to set up a local network in the car, and I'd have to bring my computer when I would not normally).

It's possible to reverse the installation: do a full install on the student's machine, and a client install on the teacher's. This layout allows the students to work from anywhere, and when we are on the same local network, I can access their machine from mine and do grading, even while they are using their computer for something else. For a single student, it's ideal, but there's one snag: we have multiple students, each with their own computer. During client installation, you must specify which machine is running the full installation, and there is nothing in the interface that allows you to easily change it later. So I can set it up to connect to Iona's computer, but then can't switch to grade Eden's work.

However, all is not lost. The client stores the name of the computer to which it connects in a configuration file. Edit the file, change the name of the computer, restart, and you're now connected to the other student.

The configuration file is C:\Program Files (x86)\AOP\Switched-On Schoolhouse 2016 Home\SOSHApp.exe.config

(throughout this text, anywhere it says "2016", adjust for the current year.)

As plain text, it can be edited with Notepad, Wordpad, vim, or any similar program. I usually avoid using Microsoft Word or similar word processors to edit config files, because they often try to modify the encoding, replace straight quotes with "pretty" quotes, and other similar things which make the program which is trying to read that file very unhappy. It's a protected file, which means the editor must be running with elevated privileges (right click, "Run as administrator").

About halfway down the file is a line that looks like this:

<add key="ConnectionString" value="Initial Catalog=SOSHOME2016;Data Source=IONA-LAPTOP\SOSHOME80;" />

Change IONA-LAPTOP to EDEN-LAPTOP, save the file, start up SOS, and now I can grade Eden's work instead.

Editing a config file manually every time I want to switch students is tiresome, boring, and repetitive - exactly the kind of things computers do way better than humans. A script beckons.

Download SOS-Switcher.zip (you might be warned by your browser or anti-virus that this is dangerous program. They're right; it has the potential to be dangerous. You should examine the contents and know what they do before blindly trusting them with your computer.)

Since Windows doesn't have a nice regular expression replace program like sed built in, we'll need our own - that's what replace.vbs does. Then we'll need a batch file to call it with the correct parameters - that's what switch.bat does.

Extract these two files and put them in the C:\Program Files (x86)\AOP\Switched-On Schoolhouse 2016 Home\ directory (which you'll have to do as administrator).

Now, for each student, right-click on switch.bat and choose "Create Shortcut". It will ask if it can create the shortcut on the desktop; that's fine.

Right click, Create Shortcut

Right-click on the newly created shortcut, and choose Properties. On the Shortcut tab, there's a Target box, which should say something like:

"C:\Program Files (x86)\AOP\Switched-On Schoolhouse 2016 Home\switch.bat"

Add the name of the student's computer to that, outside the quotes:

"C:\Program Files (x86)\AOP\Switched-On Schoolhouse 2016 Home\switch.bat" IONA-LAPTOP

Click "Advanced" and check "Run as administrator".

You may also choose "Change Icon" - it will tell you that switch.bat doesn't contain any icons, and bring up a window with a bunch of standard Windows icons to choose from. To get the SOS icon, click on Browse..., navigate to C:\Program Files (x86)\AOP\Switched-On Schoolhouse 2016 Home, and open SOSHApp.exe.

On the General tab, you can change the shortcut name. It's probably "switch.bat - Shortcut"; I changed it to "SOS Iona".

Repeat the process for the other students - create a shortcut, modify properties, change the target:

"C:\Program Files (x86)\AOP\Switched-On Schoolhouse 2016 Home\switch.bat" EDEN-LAPTOP

Now, make sure that SOS is not running. Double click on one of the shortcuts. After a moment (and possibly a question if you want to let it change settings on your computer - choose Yes or OK), it should open SOS, and you'll find that you have access to one student's work. Close SOS, launch the other shortcut, and verify that you now have access to the other student's work.

If there's a very long pause, and then an error message saying it can't connect, either you did not put the correct computer name in the shortcut target, or that computer is not running or has a firewall preventing access. The SOS installation disc 2 has some utilities to help you configure all that, and their FAQ and tech support can walk you through that bit.

Filed under: Kids Leave a comment
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

No trackbacks yet.