all posts in the 'Scripting' category


Regkey to disable XP dial-up connection logon

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!

KiXtart script to backup MSSQL database

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.

KiXtart script to retrieve Active Directory user info

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.