General Admin Tasks

Creating a Simple HTTP Server with one line of Python

Python can run a simple HTTP server, using a built-in module called SimpleHTTPServer this provides standard GET and HEAD request handlers. The great thing about this is that you do not have to configure anything, you only have to have Python installed. This is perfect to use when you need a quick web server and don’t want to mess with setting up apache. You can use this to turn any directory on your system…

Installing Linux Mint In VirtualBox

Linux Mint is a Ubuntu-based distribution whose goal is to provide a complete out-of-the-box experience by including browser plugins, media codecs, support for DVD playback also because its Ubuntu-based, Linux Mint is compatible with Ubuntu repositories, Hell ” It’s my favourite distribution”. This Post is going to run through Installing Mint 18 (Sarah) into VirtualBox. You can download Mint from here and I will assume that VirtualBox is already installed and ready to go. If VirtualBox is not…

Find Cached WiFi Passwords in Windows

You don’t have to work long in a computer support role before you get the question ” What is my WiFi password” and this can sometimes mean, you have to reset the WiFi password on the router\access point, as the password is stared out for security reasons and then wait for the fall out of calls after. If there is a windows box still connected to the WiFi you can run the commands below…

How to Recreate a Corrupt Profile on Windows 7 / 8 /10

Recreating a windows profile used to be as easy as just renaming the old profile, then rebooting the PC and logging in again to create a fresh profile, but since windows 7 you have to delve into the registry and make a few changes other wise the user will get stuck with a tempory profile every time they login. Restart your PC to realises the locks on your profile Log on with another administrative account. Rename or Delete the…

Delete Stale or Inactive Computer Accounts from Active Directory

I recentley found this post from Santhosh Sivarajan’s blog which gives you an easy way to identify and delete inactive or stale computers in an Active Directory enviroment. Using the dsquery command you can easliy find all of the computers in the directory that have not been logged into in a given time interval or disabled. The following command will return all computers that have been inactive or stale for 2 weeks: dsquery computer…

Testing Email Connections with Telnet

This is one of the essential troubleshooting tricks that an Exchange administrator needs to know, sending an email using telnet from command prompt. Lets say you’ve just configured a relay connector and want to test it from the server that you wish to allow relay from before you let that server’s owner know that it is all set up for them. Or perhaps you want to quickly test whether a another email server on…

Restrict RDP Access by IP Address with Windows Firewall

You can restrict RDP access to your server, either by IP address or a range of IP addresses, using the rules in the Windows firewall. You can actually use this same method for any open port, on any Windows PC, running Windows firewall. One thing before we start. If you are thinking about using this so that you can open RDP up to the internet, Don’t. Even though it would work, always try to…

Scroll to top