Jul 08

Do you need to be able to automatically run scripts or services at startup in Windows? I recently needed to have all of my Windows pc’s run a script everytime the box started up. For instance, every time my Windows boxes started up, I wanted all of my install scripts re-copied over to the desktop every time I rebooted the box. That way if I made a change to any of my startup scripts, I would only need to reboot a box for the new scripts to be install automatically for me. If you need this to be able to do this, just follow these quick and easy instructions:

I have tested this method and it works on the following Windows operating systems:

Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008

1.) Go to “Start” -> “Run” -> “Notepad.exe” and type the following into your notepad document:

Windows Registry Editor Version 5.00

“copyScripts”=”\”c:\\copyScripts.bat\” -hide”

2.) Now save this document as “installCron.reg“.

3.) Now all that you need to do is to Double-Click the file “installCron.reg” and answer yes to the prompts. Depending on what versions of Windows that you run this on, you should get a prompt similar to the following:

Do you want to allow the following program to make changes to this computer?

4.) Click the “Yes” button.

5.) You should then see “Are you sure you want to continue?

6.) Click the “Yes” button again.

7.) You should now see “The keys and values contained in C:\installCron.reg have been successfully added to the registry.

8.) Reboot. When you Windows computer restarts, it should automatically run your script or services for you.

Jul 06

Have you lost your Mac OS X Server Installation Serial Number? If you have lost the OS X Server Installation serial number or have a Mac OS X Server and you need to reinstall it, but you don’t know what the installation serial number is, just follow these quick and easy instructions to retrieve it from your Mac OS X Server:

1.) Open Terminal and type the following command: sudo /System/Library/ServerSetup/serverserialnumberutil -get
2.) Press <Return> or <enter>.
3.) You should see something that looks like the following:

XSVR-000-R-XXX-XXX-XXX-XXX-XXX-XXX-X|username|company name

That’s it, you should now have the serial you either lost or never knew.

preload preload preload