VMware ESX Install iDRAC Service Module

I'm creating this guide because the instructions on the Dell website did not work for me.
Download FilesGot to the iDRAC service Module files that apply to the ESX host (should look like the item below) Copy Files to ESXExtract the ZIP you just downloaded and copy the .VIB and (not sure if this one is actually required) file to anywhere on the datastore InstallationShutdown all VMs and put the ESX host in maintenance modeSSH into the ESX hostRun the commands belowcd /vmfs/volumes/%datastoreName%we do this to easily get the GUID of the datastoreesxcli software vib install -v /vmfs/volumes/%DataStoreGUID%/ISO/iDRAC/%iDRACFile%.vib -fMine looked like this: esxcli software vib install -v /vmfs/volumes/54311fd8-70c2redc-78546-44398f869345/ISO/iDRAC/cross_oem-dell-dcism-esxi_3.4.0.1.ESX6i-live.vib -fIf the install completes correctly you should see:  VIBs Installed: Dell_bootbank_dcism_3.4.0.1.ESXi6-1000 Reboot the ESX serverGo to the iDR…

Get Alerts for Low UPD and FSLogix disk space

One of the hurdles of UPDs and FSLogix is that they cause issues if they run out of space, and they don't alert users when they are out of space. In some cases you will waste time troubleshooting when you could have resolved it in a minute by just cleaning up the disk.

I created the script below to address this issue. You can run it against your RDS servers and gateway, and you will not need to modify anything beyond the SMTP settings, thresholds, and exclusions.

The script will do the following:
Exit if it is not run on a server (you can comment this out if you use UPDs on Desktops)Query all collections on the RDG and scan all UPD paths*Must be run on the Gateway for this to workQuery FSL Profile and ODFC paths*Must be run on computers with FSL enabledIf low space disks are found the script will send you an email with a table of all the pathsIf nothing is found the script will exit. Known limitations: The script might report false positives/negatives if you modified your max UPD/FS…

Script to Logout all Users Before Restarting RDS Servers

Multiple vendors have recommended logging out all users before restarting our RDS servers. Sadly I was never able to find a script that could do everything I wanted.

I created the script below for Server 2012 + servers. The script will do the following: Logout all active users (even console users)Write errors and information into the Application event log You can find the script here:

The script will not reboot the server, but you can always add a shutdown -r -t 0 at the end, or schedule your reboot script to run right after this one.

Enforce Office Add-ins

This guide will show you how to force add-ins to load in Office every single time. We will also prevent users and office from disabling/enabling add-ins*.

*Outlook 2016* will sometimes disable add-ins any way, but we will apply a workaround for this.

At the end of the guide, the add-ins you configure will look like this:
Getting the ClassID of an add-in Find the ClassID of the Add-in. This is found in:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\AddinsHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\AddinsHKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Office\application name\AddinsHKEY_CURRENT_USER\Software\WOW6432Node\Microsoft\Office\application name\Addins
It is usually in a format similar to Application.OutAddin
Enforcing add-ins  We will now create a GPO that will enable or disable the add-ins that we configure. Create a GPO called Office Enforced Add-ins*Depending on the importance(compliance, auditing, etc) of this Add-in it might be a good idea to Enforce the GPO(…

Fixing Office 365 Azure AD Sync issues

Symptoms: You have synced the AD users, but you have duplicates or two of a similar user (reception@ and receptionist@). You try to edit the UPN of either user and you receive an error saying that the attribute must be unique.

On the sync service you get an error saying the attribute(usually the UPN) must be unique.
Background: UPN = username (and usually email address)

ImmutableID (anchor) = used to link an AD user to an Office 365 user (after UPN matching)

In AD there exists an account with a UPN:

In Office 365 there exists an account with a UPN:

These two accounts are the same user, but their O365 email address does not match up with their UPN (not usually a problem, but during the initial sync it is)
The problem: The AD sync service is started and AD users are synced with Office 365 users.

You log into Office 365 and see two users now: and

You try to un-sync an…

Fixing Group Policy Replication issues

I ran into an issue where GPUpdate kept returning the error below:

"Computer policy could not be updated successfully.  The following errors were encountered: The processing of Group Policy failed.  Windows attempted to read the file \\COMPANY.LOCAL\sysvol\<FQDN>\Policies\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\gpt.ini from a domain controller and was not successful.  Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:

a) Name Resolution/Network Connectivity to the current domain controller.
b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).
c) The Distributed File System (DFS) client has been disabled.

To diagnose the failure, review the event log or invoke gpmc.msc to access information about Group Policy results."

In my case the DCs got out of sync and the fix was to complete an author…

Duplicate Printers Showing Up in Windows

The Issue:You delete a printer, but it keeps coming back (and it probably doesn't work properly)There are multiple print queues for the same printer
You can't delete a printer This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.Cause I don't have a solid root cause for this issue, but here are some theories  Printers were deployed through GPO at one point and the policy didn't get removed properly.Printer spooler was restarted at the wrong timeIf you clear HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider and restart the spooler before restarting the computer there is a chance that printers will be duplicated.General printer corruptionSolutionThese steps will likely result in all users losing their printer preferences and default printers.
These are some preemptive things that will not solve the issue, but can help you have a better star…