KiXtart script to generate and email uptime report

March 10th, 2009 No comments

As part of my Service Level Agreement at work I have to produce a monthly uptime report for each server. Rather than generate individual reports for each server I decided to write a KiXtart script that would generate a report for all servers and email it to me each month.

Read more...

Categories: Scripting, Windows Server 2003 Tags:

KiXtart script to check for website availability

February 19th, 2009 No comments

At work there is an old web application that is managed offsite by a hosting company. It runs on Oracle 9iAS. Apparently there is an issue with Oracle 9i and the web service will frequently crash (due to a known caching problem) taking the application offline.

Read more...

Categories: Scripting, Windows Server 2003 Tags: ,

Dell Latitude E4300 CD DVD burning problem

January 5th, 2009 8 comments

I recently bought a batch of Dell Latitude E4300 laptops as replacements for outdated machines at work. I retained one for myself and after a few days decided to wipe Windows XP and install Windows Vista Business. Everything was fine until I wanted to burn a copy of Knoppix from an .ISO image.

Read more...

Exchange Server hangs applying computer settings

November 18th, 2008 No comments

I recently had a problem when I rebooted an Exchange 2003 server after some updates and it refused to display the winlogon screen. Instead it sat at "applying computer settings". I left it for around 10 minutes before realising something was seriously wrong.

Read more...

Categories: Exchange Tags:

Create file of a certain size

October 13th, 2008 No comments

Every now and then I find myself needing to create a file of a certain size for one reason or another. This is usually for testing in situations where people are experiencing email attachment issues or disk quota problems, things like that. The quickest way to do this is to use a Windows command line utility called fsutil.exe. This command line tool can be used (amongst other things) for quota management, system info enumeration and some basic file manipulation.

Read more...

Categories: Command Line, Windows XP Tags:

Install Dell OEM PowerDVD on non OEM system

October 6th, 2008 21 comments

I just had an issue where I was trying to install PowerDVD 5.1 onto a Dell laptop with a fresh Windows XP install. The PowerDVD software was on Dell branded media and I had reinstalled the laptop using a non OEM Dell branded version of Windows XP Professional. It seems that there is a check during the installation process of PowerDVD to verify that the software is indeed being reinstalled back onto a Dell branded computer. As I hadn’t used the original reinstallation CD that came with the laptop I had half guessed that PowerDVD was going to complain.

Read more...

Categories: Software, Windows XP Tags:

Adtran disable Spanning Tree using Edgeport and BPDU

September 11th, 2008 No comments

I have 6 Adtran Netvanta 1524st switches on which I wanted to disable STP (spanning tree protocol). After checking the switches through their web interface and using SSH to check the Adtran Operating System (AOS) command line help I was unable to spot any obvious method of disabling it.

Read more...

Categories: Hardware Tags: ,

Regkey to disable XP dial-up connection logon

August 22nd, 2008 No comments

Here is a registry key I run from a startup script to disable the option that allows users to invoke a "Log on using dial-up connection". Having had experience of working in a school I know how kids will use any excuse to distract them from logging onto a computer and starting the lesson!

Read more...

Categories: Registry, Scripting Tags: , ,

KiXtart script to backup MSSQL database

August 22nd, 2008 No comments

Here is another quick KiXtart script I wrote to backup a Microsoft SQL database on a server. I personally run it locally on the server that contains the database I want to backup using a scheduled task. It connects to the MSSQL database using the OSQL command line utility which it runs through a shell.

Read more...

Categories: MSSQL, Scripting Tags:

KiXtart script to retrieve Active Directory user info

August 21st, 2008 No comments

Here's a quick script written using KiXtart to retrieve information for a user (object) in Active Directory. Once enumerated, object information is stored in variables to be used later.

Read more...

Categories: Scripting Tags: , ,