How to Remove Home Folder Mapping for all AD Users

With so many businesses adopting Microsoft Office 365 or Google Apps for Work, users are now able to put more of their files in the cloud - thus replacing on-site server storage and user home directories. The below Powershell script will remove all user home folder mappings in Active Directory:

Get-AdUser -Filter * -Properties * | Foreach {
   Write-Host "- " $_.Name
   if ($_.HomeDrive -ne $null) {
    Write-Host -NoNewline "|-  Current home:" $_.HomeDrive "->"

Automatically Pull Old Computer Name with MDT Task Sequence

One of the biggest slowdowns when reimaging an entire lab of computers is the naming process in MDT. Of course, you could simply do a refresh deployment but often you just want to completely wipe everything on the machine and start fresh but also keep the same computer name.

This can easily be done using a UserExit.vbs script in just a couple steps.

  1. Open up your MDT deployment share and add the following two
Posted on
Tagged in windows , mdt

How to Write an Auto-Updater (for Adobe Flash)

In what is sure to be one of my least read posts, I'm going to share with you how to write an auto-updater for upgrading Adobe Flash.

But why on Earth would you want to write your own (other than because your boss told you to cough)? It comes with its own updater! Or you could use a tool such as PDQ Deploy or SCCM to deploy! Well if you have limited internet bandwidth, you

Event 8228 - SRMSVC Quick Fix

For some reason, a couple of our Server 2012R2 file servers randomly logging a bunch of Event 8228 SRMSVC warnings. Every 10 seconds, it logs a warning similar to this in the event log:

File Server Resource Manager was unable to access the following file or volume: '\\?\Volume{ed7228df-ce3e-11e4-8253-001018973e08}\System Volume Information\SRM\FciNrt.usn'. This file or volume might be locked by another application right now, or you might need to give Local

Posted on
Tagged in windows , fsrm

Help, VMware ESXi will not turn off my VM!

Labeling things in a consistent and accurate matter is important. When naming a LUN on the SAN and in VMWare, you want their names/numbers to be identical. But what happens when someone flip-flops and names something wrong and you delete the wrong LUN?

This happened to me and while we had backups ready to go, I ran into an issue that slowed me down a lot - the VMs wouldn't power off! Despite not

Posted on
Tagged in vmware

Stop Cryptolocker from Hitting Windows File Shares with FSRM

Imagine this - you have thousands of users across dozens of departments, all having their own set of file shares that are set up as mapped drives, and all users have full read/write access to their drives. Now a user gets infected with whatever variant of Cryptolocker is currently going around and starts encrypting all mapped drives...and no one realizes anything is amiss until the next morning when you find hundreds of gigs

Quick Tip: Allowing FSRM to Send Email via Exchange

Last week, I was working on configuring File Server Resource Manager (FSRM) on Windows Server 2008R2 but I noticed I wasn't getting any emails. Luckily there's a built-in "Send Test Email" button but it thru a less than helpful error:

Error Message

To find more details, I opened up the event viewer to see these details:

Error: IFsrmEmailExternal::SendMail, 0x8004531c, Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to

Need Bonjour across VLANs? Set Up an Avahi Reflector!

I can honestly say I don't know a single person that likes Bonjour. Or at least, not anyone who is network-savvy. Bonjour, Apple's proprietary Zeroconf mDNS system, is great for home use. In a small home network, it makes connecting Apple devices together easy. But Bonjour simply wasn't built for large, enterprise networks with multiple VLANs.

Several vendors have come out with solutions for this that repeat the Bonjour traffic across multiple VLANs. But never

Posted on
Tagged in Ubuntu

Securing your Linux Server in 8 Steps

Before I get going with too many tutorials, it might be a good idea to just step back and talk about the very first thing you should be doing from the start: securing your server!

Luckily this doesn't need to take a long time - we can secure things pretty quickly. Let's get started!

STEP 1 - Update your server

Depending on your Linux distribution, your install ISO/DVD could be months or even years

Installing Cachet on Ubuntu 14.04

I recently came across an amazing piece of open-source software called Cachet for dashboarding system statuses! James Brooks at Alt-Three has done a really great job with development but the documentation is still a bit lacking for those less familiar with Linux. Therefore I've put together a start-to-finish guide for getting Cachet up and running in 20 minutes! Or you can just skip to the end of the post to download a ready-to-go VMware VMDK