Duo Universal C# ASP NET Web Forms

January 18, 2022 0 Comments

Duo recently released their new Universal two factor authentication method which changes from an iFrame method to using a redirect. Duo provides a C# example using .NET Core and MVC but if you still have old web forms applications you’ve built and aren’t ready, you can still integrate them with Duo Universal. First, you’ll need …

Pool Automation with ESP32 and Arduino

July 11, 2021 0 Comments

During the COVID pandemic in 2020 we decided to purchase a pool. With my love for technology I wanted a way to fully automate all pool functions through our phones using Home Assistant, HomeKit, Alexa, MQTT and NodeRed. Pool automation is not something the local pool builders are used to in our area and I …

Home Assistant Integration with HTD MCA-66

August 4, 2019 11 Comments

Recently I’ve been playing with Home Assistant (Hassio) to have a single pane of all my smart home devices (Zigbee, Z-Wave and IP devices) without having to switch apps to control different devices. One of the major advantages of using home assistant is the plethora of customizations available which can even extend to Google Home …

Active Directory Federation Services (ADFS) Authentication Adapter

June 4, 2019 0 Comments

https://github.com/Microsoft/adfsAuthAdapters/tree/master/UsernamePasswordSecondFactor Microsoft has provided source code to allow a Username and Password to be used as a second factor of authentication in ADFS. You may ask, why would you want to have the usernam and password as a second factor? Some automated hacking attempts will can lock out your accounts and/or identify a username and …

Popup Intercept – One Window

August 2, 2018 3 Comments

Released my first publically available Google Chrome Extension called Popup Intercept – One Window! https://chrome.google.com/webstore/detail/popup-intercept-one-windo/fpkgadnkojegbmhdflhhcjkhgjijiakm This extension allows you to customize which addresses will open up into a tab of the main Google Chrome window via the options menu. I know there are some other extensions out there that do something similar but none of …

Removing locally installed printers and replacing with print server

June 18, 2018 0 Comments

Recently ran into an environment where there was a print server installed and managing all 200 printers however some users (380 computers) still had printers installed locally and were printing directly to the printer through the IP address or host name. This can cause issues with permissions, driver updates, or logging. Instead of manually touching …

Remove DNS NS Records after demoting domain controller with PowerShell

April 23, 2018 0 Comments

  Get-DnsServerZone | ForEach-Object { Get-DnsServerResourceRecord -ZoneName $_.ZoneName -RRType Ns | Where-Object {$_.RecordData.NameServer -like ‘DCName.fqdn.com.‘} | Remove-DnsServerResourceRecord -ZoneName $_.ZoneName -Confirm:$false }   Replace the bold test with the fully qualified domain name of the name server. Don’t forget to keep the period at the end of it as well.

Directory Services–Cannot Change Password – Constraint Violation nTSecurityDescriptor

February 19, 2018 0 Comments

  Recently I ran into an issue where trying to enable or disable the option ‘Cannot Change Password’ in Active Directory in my C# code. Using a Domain Administrator account the code worked perfectly fine, but when it was run under a non-administrator I would get “Constrain Violation Occurred” and the following exception "0000051B: AtrErr: …

Outlook Prompting Password using Mapi

November 21, 2016 0 Comments

I’ve spent hours trying to figure out why an Outlook client kept prompting for a password when I moved the users mailbox to Exchange 2016. After hours of the normal troubleshooting I found that it did not prompt for the password when cached mode was off. After having the user connect to another machine for …

Group Policy Printers not installing after update KB3170455 – MS16-087

September 14, 2016 0 Comments

  Microsoft changed the way printers are installed with update KB3170455 (MS16-087). Now, for printers to be installed using group policy, the print driver must be set as true under packaged in Print Management. Some vendors have not updated their drivers to make them packaged, but there is a way to force a package to …