Skip to main content

Posts

Showing posts with the label AD

Understanding Machine Account Password Rotation Failures in Windows Failover Clusters

I recently encountered an interesting issue involving a two-node Windows Failover Cluster consisting of SVR1 and SVR2. The environment occasionally experienced service startup failures following a failover operation, resulting in unexpected downtime. During troubleshooting, I discovered recurring machine account password update errors on the cluster nodes. This led me down a path of understanding how machine account passwords work in Active Directory, why they are important, and how failures in this area can affect clustered workloads. One important lesson from this investigation is that machine account passwords are often overlooked because they are managed automatically by Windows. However, they play a critical role in maintaining trust between domain-joined systems and Active Directory. When that trust begins to break down, the symptoms may not appear immediately. Instead, problems often surface during authentication-intensive operations such as cluster failovers, service startups, ...

Kerberos Authenication Explained.

Imagine you’re planning a huge day at Universal Studios Singapore (USS). To make the park run smoothly and keep everyone safe, they use a super-smart "Secret Ticket" system so you don't have to carry your passport around to every single ride. The Master Guest List (Active Directory) Before you even leave your house, your parents go online and register you for the park. They create a profile with your name and a Secret Password. The park’s main computer (the Master Ledger) saves your name and a "scrambled" version of your password. Because USS has many different gates and offices, they "sync" this list to every single computer in the park. This ensures that no matter which entrance you walk toward, the staff there already knows your name and has a copy of your secret handshake. The Front Gate (The Authentication Service) When you arrive at the USS entrance, you don't actually tell the staff your password—because if a "bad guy" is standing ...

What Happens When You Run GPUpdate?

When you run gpupdate on a server, it looks like a simple command. But in the background, the server is actually following a strict seven-step process to get its new settings from the Domain Controller (DC). Here is exactly what happens. 1. Starting the Service When you type the command, it wakes up a specific background task called the Group Policy Client. If you just run gpupdate, the server only asks for settings that have changed. If you run gpupdate /force, the server ignores its history and re-downloads every single setting. 2. Finding a Domain Controller The server needs to find a "source" for its settings. It checks your network’s DNS to find a Domain Controller. Once it finds one, it proves who it is (authenticates) using its computer account. 3. Figuring Out Which Policies Apply The server asks the Domain Controller for a list of all Group Policy Objects (GPOs). It checks several things to see which ones it should actually use: Location: Is the GPO linked to the se...