Archive for the 'work' Category

Adding XP printer drivers to a 2008 print server

computers, howto, work No Comments »

We’re currently in the process of migrating servers from Server 2003 to Server 2008, which is proving a right old pain for various reasons. This morning’s headache was reinstalling a load of network printers on the new 2008 install that worked perfectly well on the 2003 install.

64-bit 2008, by default, only installs printers with the 64-bit 2008 and (for some printers, it seems, but not others) the 32 and 64-bit Vista/Windows 7 “User Mode” drivers. The old-style 2000/XP/2003 drivers don’t get a look in. There doesn’t seem to be a way to add them on the server either.

Thankfully, someone else has already found a way of sorting it. Basically, you navigate on an XP client to the Printers and Faxes share of the 2008 server, then click File > Server Properties > Drivers > Add, and point it at the XP (and other, if necessary) drivers for the printer.

There are a few issues, particularly if the 2008 and XP drivers have different names, but these can be resolved or worked around.

Here’s the full set of instructions – read the comments there for how to fix the additional problems!

WebMarshal “3003″ errors

computers, howto, work 3 Comments »

If, like us, you have WebMarshal, and it’s tied to an SQL Server Express database, you may find it sometimes just… breaks. You’ll get eventlog messages like “3003:  Failed to write session to database” and “PRIMARY filegroup is full” and “Could not allocate space for object ‘dbo.DomainFileLog’”. Chances are, your database is full.

The Express version of SQL Server 2005 is nice because it’s free, but it does limit database sizes to just 4GB. This may sound huge, but for us, that’s only around 4 months worth of internet logs, and we need to clear some space every so often. I always forget how to do it, so this post is a reminder to me as much as anything.

Before you start, to make things easier, get yourself a copy of Microsoft SQL Server Management Studio Express. It’s free, and makes managing your SQL databases much easier. Once installed on your SQL Server machine (and connected to it), you can set about fixing WebMarshal.

Firstly, you need to purge a load of old records from the log. Chances are you don’t need to go back more than a few months anyway. If you do, you might want to backup your database, name it as a “snapshot” of today’s date, and then restore it if you need to have a look at old entries. How you purge depends on the version of WebMarshal you have, but for either 3.x or 6.x you start my clicking open the WebMarshal database from the object explorer on the left.

Now, on the pane on the right, you’ll have an empty command window. In here, you need to paste one of the following commands:

For WebMarshal 3.x:

exec dbo.PurgeLogData @NumDays = 'n'

Where n is the number of days to keep. So, if you want to get rid of anything more 60 days old, replace n with 60.

For WebMarshal 6.x:

exec dbo.PurgeLogData @PurgeDate = 'yyyymmdd', @MaxRecords = 0

Where yyyymmdd is the date from which everything older is deleted. So, if you wanted to get rid of everything from before 10th April 2010, enter yyyymmdd as 20100410.

Whichever command you use, after typing it in, click the “! Execute” button to perform the task, which may take some time.

Unfortunately, all this does is remove the data. It doesn’t shrink the data files, so your 4GB database will still be 4GB. Thankfully, there’s an easy way of doing this.

Back on the object explorer pane, right-click the WebMarshal database and choose Tasks > Shrink > Database, then click OK. Again, this may take a while. Once finished, for good measure, choose Tasks > Shrink > Files, then click OK.

Now your database should be much smaller! To check, right-click the database once more and choose Properties. In the General section, there’s an entry for Database Size. If this is way below 4GB, you’re done. If not, you might want to do a bit more purging!

Streaming EyeTV video to the network

computers, howto, work 5 Comments »

Apparently, there’s some sort of football tournament on at the moment. Quite a big one too. I wouldn’t know.

However, the fact that it’s on, and some of the games are on during the working day, causes a few problems in that staff at work want to watch them. And they don’t have teevees. Me to the rescue then, with this motley crew of software and devices:

  • An Elgato EyeTV 410
  • A PowerMac G5
  • VLC
  • The VLC Plugin for EyeTV

Of course, this method should work for pretty much any supported EyeTV product and Mac. You’ll also need to know the IP address of the Mac you’re streaming from.

Firstly, you need to install the plugin. You can find this here. Once done, open EyeTV then open VLC. Make sure you can access EyeTV from VLC by choosing File > Open Capture Device and choose EyeTV from the selector. You may find you have to choose Screen then EyeTV again as it sometimes doesn’t “see” EyeTV right away. Pick a channel from the channel selector (you can change this later) and click OK. Don’t choose anything to do with streaming here.

You should now have an entry like “/eyetv-channel=3″ in your VLC playlists. Play this, and you’ll get your EyeTV channel in VLC!

Next, you need to so the streaming. Click File > Streaming/Exporting Wizard.

Choose Stream to Network, click Next, then choose the /eyetv playlist from the “Existing playlist item” list, and click Next again. For Streaming method choose HTTP, and leave Destination blank, then Next again. Leave all the Transcode options unticked, click Next, and choose “MPEG TS” for the encapsulation format. Click Next once more. In the next window, click Finish. You now have a ready-to-watch stream!

Now, on another machine on the network, open VLC. Choose File (or Media, depending which version you have) and Open Network Stream. For Protocol, choose HTTP, and in the address box type ipofmac:8080 (where “ipofmac” is the IP address of the Mac that’s providing the stream). Now Play!

All things being well, you should now be watching your TV stream across the network. If you need to change channel, you can do that on the “server” by simply flicking channel on the EyeTV controls.

Circular reference

computers, work 2 Comments »

Can’t upgrade the Active Directory Schema until I make the server a domain controller. Can’t make the server a domain controller until I upgrade the schema.

What.

April Fools Day 2010

work No Comments »

After last year’s Epic April Fool of Win, expectations were high for today. I had a feeling people were not going to be as gulli– er, trusting, as before. After all, they don’t want to fall for it again, do they?  Or you’d think that, anyway.

My email this morning:

To: All Staff
Subject: Reminder about changes to staff passwords

Hi all,

Just a (second!) reminder about the changes to your password when we come back over Easter.

The new password policy will be this:

  1. Passwords will now need to be changed every 20 days, not every 45 days.
  2. It will not allow you to postpone changing your password (i.e. when asked, you will need to change it immediately – you won’t be given the 14 days grace you currently do).
  3. It will not allow you to change your password to ANY password, or variation of any password, you have ever used previously – this means you can’t just “add a 1″ to the end or use the same password with a different number in it.
  4. Your password must follow the “password strength” rules below.

Passwords must meet the following rules:

  1. They must be at least 16 characters long.
  2. They must contain at least two upper-case letters.
  3. They must contain at least two lower-case letters.
  4. They must contain at least two numbers.
  5. They must contain at least two punctuation symbols.
  6. They must not contain consecutive or repeated characters (e.g. “1234″, “fghi” or “BBB” are not allowed).

In addition, passwords will be checked against an electronic dictionary to ensure they do not contain any proper words.

Any questions, please pop in and see us.

From my original email sent last Monday:

—-

As you are probably aware, we had another “hacking” incident last week. A staff password was “brute force attacked” and a pupil found out what it was. As a result, we will need to revise again the complexity of passwords.

As mentioned in briefing this morning, we will be resetting ALL staff passwords over the Easter holiday. You will need to come and see us on the first day back to obtain your new password, which will only be divulged to you once you have signed the Staff Acceptable Use policy. You will then need to change this password as soon as possible by logging in and following the instructions.

Of course, the email last Monday didn’t exist. Nor did the hacking attempt.

Less than 30 seconds after clicking send, I got my first complaining phone call. Result!

Virtualising Exchange 2003

computers, howto, work 2 Comments »

Later this year, we’ll be migrating Microsoft Exchange 2003 over to 2007. Apparently, this isn’t technically a migration but is instead a transition. Something to do with moving and upgrading the same product, rather than changing from another product (like Lotus Notes or something, presumably). Semantics, eh? Tch.

This task is one fraught with peril at every turn, so requires a bit of planning and testing. The first issue is that Exchange 2007 only runs on a 64-bit version of Windows Server. Naturally, we only have 32-bit 2003. So we need to upgrade the server from Windows 2003 (32-bit) to Windows 2008 (64-bit), and there’s no upgrade path. We need to build a new server, but we don’t have the hardware and the current Exchange server is easily up to the task anyway, so after the transition it would be redundant.

Virtualisation to the rescue!

The intention, then, is to virtualise the current Exchange Server, plonk the virtual machine temporarily on another server, then wipe the original to put Windows 2008 and Exchange 2007 on. After that, there’s the task of actually doing the transition.

Today I started on a trial run of the process. I’ve already got a running 2008 server with Exchange 2007 on it ready, and I’ve found a way of making a virtual machine out of a running server: disk2vhd. Once you run it (and you don’t need to take your machine down to do so), you get this:

Yeah, the server is called Rupert.

Then we wait. For a very, very long time. A day, in fact.

After that, it should be as simple as plugging the new VHD into something like Virtual PC or Virtual Box. But it seems that wasn’t the case. I hadn’t taken account of the fact that the machine with Virtual Box installed on it was a single Quad Core processor, and the Exchange Server was running on a Dual Quad Core processor. So it wouldn’t boot, as it didn’t have enough CPUs.

Looks like I’m going to have to put it all on hold for a bit then, until I get some more hardware, or find a way of reducing the CPUs :)

How to buy a Lenovo server

computers, rant, work 4 Comments »

Perhaps the title for this post should contain a question mark, because, as you’ll see, I have no idea.

We needed a new server at work. We always buy Dell, but The Powers That Be request that all purchases over £3000 require at least three quotes. So off I went to Dell’s website, where I spec’d up a server and they gave me a price on the screen there and then. I then emailed a Dell reseller the same spec, and he emailed me back a price in a few hours. Easy.

For the third quote, I decided to look at similar servers from other companies. HP was temporarily out as their site was playing up, so I thought – IBM do servers, lets look there. That was the first problem, as they pointed me at Lenovo. I went to lenovo.com, and chose Servers. Chose a rack server, and clicked View Models. Then spec’d one up. Easy enough so far, but then what?

There’s no “Buy” button. There’s no price.  There’s no “add to cart” (even though you have a cart). You get given a configuration code, but then what?

In the top right of the servers page, I found a phone number labelled “Buy now from a Partner”. So I rang them, and they told me their system was down so they couldn’t access the sales department via computer, but they’d ring sales and get them to call me back in 10 minutes. Four hours later, I rang back, to be told that they had no record of my call, and it was usual for me to be just put through to sales directly and they didn’t know why I hadn’t been.

They put me through to sales. After being on hold for ten minutes, I got to speak to someone who told me that “this isn’t server sales, you’ll need another number”. They gave me another number, and I rang it. Again, I was put on hold for ages, only to be cut off as soon as someone answered. I rang back, and after another wait spoke to someone.

Turns out this particular department only supply servers to resellers.

They gave me another number to try, which was busy when I rang it. I called back the next day, eventually getting through. Only to be told I’d come through to the wrong department. Sigh.

This department gave me another number. Which, unsurprisingly, was the same one I’d run originally. This was going really well. I rang them, to be told – again – their system was down and they couldn’t contact sales. But they took my name, number and email address and would “get right back” to me. That was over a week ago.

I therefore declare it IMPOSSIBLE to buy a Lenovo server, and, by inference, I simply refuse to accept that Lenovo servers physically exist. I find it astonishing that a company of Lenovo’s size can be so disorganised and incompetent, and completely unable to even provide me with a price for something listed on their own website!

For what it’s worth, HP’s site came back up and took me less than 5 minutes to obtain a price for a similar product.

Custom Wii case

games, work No Comments »

I made a custom Wii case today. I’ll make you one, if you like: just £49.99!

Creating Dress-Up Mannequins in Illustrator

computers, howto, work No Comments »

I’ve created a helpsheet for everyone who has ever wanted to create digital dress-up dolls! This shows how to import images to use as fills for clothing, so you can scan in some material and use if as a dress or something!

(Download the PDF here: Creating Dress-Up Mannequins)

I realise this may seem like a bit of a random thing for me to produce, but it was something I was asked to do for work. So that’s my excuse. And nothing to do with my desire to dress up dolls. Er, or something.

Reversed Y-axis charts in Excel 2007

computers, howto, work No Comments »

I had an unusual query this week. A member of staff wanted to create a line graph that showed the chart position of a song over a number of weeks.¬¨‚Ć It’s an easy thing to do – two columns in the spreadsheet, one for “Week” and one for “Position”.

Problem is, in a chart, the low numbers are at the top and the high numbers are at the bottom, so the graph comes out upside-down. You can’t just make the chart position numbers negative either, as the x-axis would then be on the top of the graph.

Thankfully, there’s still an option: right click the y-axis on the graph and choose “Format Axis”. Tick the boxes for “Values in reverse order” and “Maximum axis value”. While you’re here, you might want to change the Minimum value to 1 from 0, as there’s no 0 position in your average pop charts!

See:

charts

You can also download the Excel file, if you like.