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

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

Deploy .exe using batch check os version and if the update is already installed.

OK so I had an issue that Microsoft released an update for Windows XP that I needed to install but they didn’t do an MSI so I couldn’t deploy is using GPO which was a real pain.
Continue Reading


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