If you are thinking about encrypting the data could you not simply encrypt the folder in which the database files and scripts are located using the built-in feature of XP?

Right-click folder->Properties->Advanced->Encrypt contents

Unfortunately it's disabled on our standard builds so I can't test here.

I know that the scripted method is more interesting, but if you stuck for a solution then this simple method may do it for you.