Monthly Archives: January 2014

Configuering Time Synchronization in the Domain

I like time to be on time and manually configure the NTP server for my domain. This way I can choose a time source which I have good connectivity to. But Kerberos needs the time to be synced within the domain or authentication will fail.

To configure a manual time source take the following steps:

  1. Choose a NTP Server as Source
  2. Find the PDC emulator
  3. Stop the Time Service
  4. Configure the Time Provider
  5. Open any firewall ports
  6. Start the Time Service
  7. Verify result

Choose NTP Server as Source

For me the Time Servers from xs4all are the best. But one good place to start is

I’ll just stick to and

Find the PDC Emulator

To find the PDC there are multiple options, from old to new:

Stop the Time Service

Well, here again multiple possibilities. But let’s just stick to PowerShell:

Stop-Service W32Time

Configure the Time Provider

w32tm /config /syncfromflags:manual /manualpeerlist:”,,,”

Since the time is configured on the PDC there is no need to set it as a reliable source.

Open Firewall Ports

The NTP protocol uses UDP on port 123. See RCF 1305

Start the Time Service

Start-Service W32Time

Verify the Result

With the following command the configuration can be verified:

w32tm /query /configuration

To perform a sync:

w32tm /resync

This should respond with a message saying: The command completed successfully.

To check on the status:

w32tm /query /status

S.M.A.R.T. in Action

For the first time in my life I saw S.M.A.R.T. in action. Both the BIOS and Windows reported that an issue was detected with a hard disk and that failure could occur.

Disk Failure

The Windows Event log didn’t show any hard disk read errors yet, so cloning the disk would have a high chance of success.

I’ve seen disks fail all the time, so nothing new there. But I’ve never seen the S.M.A.R.T. system warn up-front so a replacement is possible without losing any data.

So I added a new disk, did a clone of the drive. Updated the MBR on the new disk, removed the old disk, update BIOS and good to go with a new drive. No unexpected down time, or even worse… data loss.

I didn’t take the time to look what exact S.M.A.R.T. parameter triggered the error.

Open Command Window Here

To quickly open a command window and have it at that specific location use Shift + Right Click in folder windows and use the Open command window here option. Make sure nothing is selected, else it will not show the correct menu option.

Open Command Window Here

Neat is that when doing this on an UNC path, it will automatically map a network drive and have the Command Prompt at that network drive location. Since the Command Prompt can’t handle UNC paths as current directory.

The network drive will be automatically disconnected when the Command Window is closed. Having multiple Command Prompts will created multiple network drives, starting backwards from the letter Z.

Slipstream UAG Updates

For the installation of Forefront TMG I slipstreamed the updates which saves a lot of time. For Forefront UAG it is even more interesting to slipstream the updates. Since both Forefront TMG and Forefront UAG have a set of updates that need to be applied.

When searching for a tutorial I only found a post on the Microsoft Forum regarding the slipstreaming the updates for Forefront UAG. However, no one is reporting any results good nor bad.

Continue reading

Incorrect detection of Windows Update KB972493 for Server 2008R2

Forefront TMG and Forefront UAG still need Windows Server 2008 installations. My WSUS servers keeps reporting update KB972493 for all Windows Server 2008 installations on a consistent basis. Which is incorrect, since these machines are not running WSUS or anything at all. There are clean retail installations, so the mistake must be in the update detection logic.

I found that Jeremy Jameson has the same issue also and created an computer group for the servers and then declined the update for that computer group.

Continue reading

Forefront TMG Client Patch Slipstream

After successful slipstreaming all updates for the Forefront TMG installation media I tried to duplicate the success for the Forefront TMG Client installer, which lacks update KB2616324.

I failed to slipstream this update, although it looks like it is going fine, the installer is not updated. After running the “updated” installer it still installs as 7.0.7734.100 instead of 7.0.7734.186.

I checked the patch file with Orca, and it looks all OK but doesn’t seem to work out. Applying the update to a system with the Forefront TMG Client installed, works as expected. Will need to deploy this update after Forefront TMG Client deployment.

Slipstream Forefront TMG Updates

From Microsoft only the Forefront TMG Retail (7.0.7734.100) version is available, so if you do a fresh install you need to apply at least the following updates:

  • Service Pack 1 (7.0.8108.200)
  • Service Pack 1 Software Update 1 (7.0.9027.400)
  • Service Pack 2 (7.0.9193.500)
  • Service Pack 2 Update Rollup 4 (7.0.9193.601)

These updates all take serious time to install when applied to a system. Not a bug issue, since you don’t have to attend the whole process. But when a new installation is part of the recovery strategy, time is precious.

To slipstream the files:

  1. Copy the Forefront installation media to a writable location
  2. Download the updates.
  3. Apply them using the Windows Installer (msiexec.exe) with the /a /p parameters.

Continue reading

Configure Static Certificate Server Endpoint for DCOM CertSrv Request

To request certificates from Forefront TMG ports need to be opened to allow access from Forefront TMG to the Certificate Authority. This is a known situation and there is a blog post at ISA Server on how to accomplish this.

But if the CA is a Windows Server Core installation, it is a little more tricky to configure the CA to use a static port. It is not possible to remote manage the DCOM part of the CA using the MMC Component Services Add-in.

You can do this directly through the registry using regedit on the Server Core installation.

  1. Find the Application ID GUID of the Certificate Server Request component.
  2. Update the key to use a fixed port.
  3. Restart the Certificate Service.

Continue reading