Rather than build a new Windows 7 virtual machine from scratch in hyper-v, I like to do a fresh install of one VM and then “export” it as a “template” for re-import later on. Importing a machine as a new copy is much faster than building a machine from scratch and installing Windows from an […]

To make this comparison we need to first consider the problem that both approaches help us to solve. When programming any system you are essentially dealing with data and the code that changes that data. These two fundamental aspects of programming are handled quite differently in procedural systems compared with object oriented systems, and these […]

I have been using powershell to automate Internet Explorer interactions with a web application with a login page in our internal environment at work. I ran into an issue with my script because the page I was trying to access was secured with SSL and we were using a self-signed certificate. This causes Internet Explorer […]

This is redacted version of a powershell script I had to come up with recently to fix an issue with a web application in our environment. $hostsPath = "$env:windir\System32\drivers\etc\hosts" $ip = ipconfig | findstr /i IPv4 |Out-string $ip = $ip.TrimStart("IPv4 Address. . . . . . . . . . . : ") $ip = […]

One of the things that is often handy to know is when a server was last rebooted. This is nice to know for things like patching, registry updates, etc… stuff that requires a reboot to take affect. I came across a quick article that explains a very quick way to get an answer. Open up […]

I recently setup a new secondary windows domain. All of the users are logging in remotely via a VPN connection and their workstations belong to a different, separate domain… I quickly found myself having to regularly administer accounts… What I needed was a password self-service tool so users could take care of simple things like […]

I decided that I wanted to give Microsoft SCCM (Systems Center Configuration Manager) 2012 a go. Three days later I almost have my install complete. A couple of hurdles I had to jump over…

We recently had a security requirement come down the line that required me to leave the wading pool of GPO administration behind and dive into the stormy waters of Powershell scripting. I am not going to dive into a full explanation of how to get started on powershell. What I am going to do is […]

I had some trouble finding some good examples of syntax and full explanation for creating VHD files (attaching new hard drives) from the Azure Powershell command line and attaching them to existing VMs. Here is my quick and dirty method of doing just that…

Ran into a fun issue today… I had a pair of Server 2012 R2 servers in a remote office that refused to sync the proper time for their clocks. No matter what I did they were always off by five minutes. One of them was a domain controller for the office. In the process of […]

One of my glorious privileges in IT is managing and enforcing security policy for the company I work for. Being a windows shop, one of the primary tools I use to that end is Group Policy. For those of you not familiar with Group Policy, it is Microsoft’s gift (and sometimes curse) to admins such […]

In a post Heartbleed world, implementation of SSL is being scrutinized like never before (at least in my short years of experience in information security). Even though Microsoft/IIS implementations were hardly, if at all, affected by Heartbleed, they do often suffer from other common SSL vulnerabilities. This is particularly true of Microsoft Server 2003 R2 […]

Recently I had to transfer the FSMO roles in my Active Directory Domain to a new domain controller. They aren’t a particularly exciting topic or even really all that common in the grand scheme of things. However, if you do Microsoft Active Directory administration, FSMO roles are something you should at least be aware of […]

A couple of days ago I posted full instructions for integrating an Ubuntu 14.04 LTS server into your Microsoft Active Directory Windows Domain. This is a short follow-up to that post which can be found here: http://www.kiloroot.com/add-ubuntu-14-04-lts-server-to-a-windows-active-directory-domain-fullest-integration/ To make my life easier I wrote three shell scripts that can be run to automate the majority […]