CentOS Server Hardening Tips

This article provides various hardening tips for your Linux server.
Continue Reading

Windows Deployment Services(wds), WAIK, DFS-R & Windows 8.1 Part 1

I have been known to be at the cutting edge of technology, early adoption of Microsoft technologies is a must and this time round nothing is going to change.  I first played with Windows Deployment Services (WDS) when it was moved to server 2008 and had exposure to the Windows Automated Installation Kit (WAIK) at the same time.  I took the plunge and deployed Windows 7 using Light Touch deployment via WDS and the WAIK a month after 7 was released to the enterprise and I have now decided to pass on my knowledge to you with step by step instructions on how you can do the same with Windows 8.1 and Windows 2012 R2.
Continue Reading

CentOS Use Public/Private Keys for Authentication

The following Tutorial walks you through how to setup authentication using a key pair to negotiate the connection, stopping the requirement for passwords.
Continue Reading

How to turn on automatic logon to a domain with Windows XP, Windows 7 and Server 2008

I had a requirement for some of our security camera servers to login automatically now on a normal standalone computer this is easy but on a domain it gets more complicated.
Continue Reading

Server 2003 Reinstall Terminal Services Licensing.

I Came across an issue today where i needed to reinstall terminal services licensing but when you do this licensing is lost and needs to be re-applied.

I managed to resolve this issue by copying the licensing db to a different folder and then re-installing terminal services and copying it back.


  1. stop Terminal Services Licensing service
  2. Copy c:\windows\system32\LServer\TLSLic.edb
  3. Paste the db to a different location
  4. Uninstall Terminal Services Licensing from add remove components
  5. Re-Install Terminal Services Licensing
  6. stop Terminal Services Licensing service
  7. copy the TLSLic.edb back to c:\windows\system32\LServer\ overwriting the new db that is in there
  8. start Terminal Services Licensing service

Now you will notice that TS Licensing is working and all of your licences still work.


NOTE: You CANNOT move this to another server it is registered to that Licensing server!!!


It sometimes happens (and it’s not a good sign most of the time): you’d like to stop a Windows Service, and when you issue the stop command through the SCM (Service Control Manager) or by using the ServiceProcess classes in the .NET Framework or by other means (net stop, Win32 API), the service remains in the state of “stopping” and never reaches the stopped phase. It’s pretty simple to simulate this behavior by creating a Windows Service in C# (or any .NET language whatsoever) and adding an infinite loop in the Stop method. The only way to stop the service is by killing the process then. However, sometimes it’s not clear what the process name or ID is (e.g. when you’re running a service hosting application that can cope with multiple instances such as SQL Server Notification Services). The way to do it is as follows:
Continue Reading

Synchronise time with external NTP server on Windows Server

Time synchronization is an important aspect for all computers on the network. By default, the clients computers get their time from a Domain Controller and the Domain Controller gets his time from the domain’s PDC Operation Master. Therefore the PDC must synchronize his time from an external source. I usually use the servers listed at the NTP Pool Project website. Before you begin, don’t forget to open the default UDP 123 port (in- and outbound) on your firewall. Continue Reading