kieranbarnes do you know where your towel is?

Redirecting non-www to a www prefix

Posted on May 22, 2010

This old chestnut again.

Create or edit the .htaccess file

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.YOURDOMAIN\.COM$ [NC]
RewriteRule ^(.*)$ http://www.YOURDOMAIN.COM/$1 [R=301,L]
Filed under: Apache No Comments

[Snippet] Event ID 1056 Source Dhcp Server

Posted on May 20, 2010

Got the error

The DHCP service has detected that it is running on a DC and has  no credentials configured for use with Dynamic DNS registrations  initiated by the DHCP service.   This is not a recommended security configuration.   Credentials for Dynamic DNS registrations may be configured using the command line "netsh dhcp server set dnscredentials"

It suggests we use netsh dhcp server set dnscredentials. What it doesn't tell us is the full command, so here it is,

netsh dhcp server set dnscredentials <USERNAME> <DOMAIN> <PASSWORD>

Filed under: Windows No Comments

Event ID 10015 Source DCOM

Posted on May 20, 2010

Got a locked down Active Directory? Or just a messy one? Getting

The machine wide limit settings do not grant Remote Launch permission for the COM Server application with CLSID {5A5AA0AA-1DEB-4683-96B0-B43301E83971}

errors?

Then read on!

Filed under: Windows Continue reading

Canadian Goose landing at Sale Water Park

Posted on May 19, 2010

Filed under: Photography No Comments

Can’t install the Office Genuine Advantage Notifications (KB949810) update?

Posted on May 19, 2010

Do you get

"Installation Failure: Windows failed to install the following update with error 0x80070643: Office Genuine Advantage Notifications (KB949810)."

Simple. Start the Task Scheduler service.

Filed under: Windows Continue reading

[Snippet] Manually reset a Wordpress password

Posted on May 19, 2010

Wordpress stores user passwords in MD5 checksums, so using your SQL admin tool of choice you can easily reset it.

UPDATE `wp_users` SET `user_pass` = MD5('NEW PASSWORD') WHERE `wp_users`.`user_login` = "THE USER" LIMIT 1
Filed under: MySQL, Wordpress No Comments

Synchronizing time on a Windows 2003 domain controller

Posted on April 26, 2010

In a Windows domain environment its incredibly important that all clients & servers share the correct time. Its also important that this time is correct, otherwise your users go home early.

Here we'll set your domain controller to get the time via NTP. Windows clients will then automatically collect the right time from their domain controller.

Filed under: Windows Continue reading

The currently selected KDC certificate was once valid…

Posted on April 26, 2010

Description:The currently selected KDC certificate was once valid, but now is invalid and no suitable replacement was found. Smartcard logon may not function correctly if this problem is not remedied. Have the system administrator check on the state of the domain’s public key infrastructure. The chain status is in the error data.

I had this error on a domain controller that shouldn't have this error. Theres pretty much no documentation for KDC or certificate debugging.

Filed under: Windows Continue reading

Daisy Duke

Posted on April 25, 2010

Filed under: Photography No Comments

How can I specify the Global Catalog (GC) that I want my Microsoft Exchange Server system to use?

Posted on April 21, 2010

If you want to force the Exchange server to use a specific GC instead of letting the server automatically choose a GC, you can perform the following steps:

  1. Start the Microsoft Management Console (MMC) Exchange System Management (ESM) snap-in (Start, Programs, Microsoft Exchange, System Manager).
  2. In the treeview pane, navigate to Administrative Groups, &ltadministrative group name>, Servers.
  3. Right-click the server and select Properties.
  4. Select the Directory Access tab.
  5. From the Show drop-down list, select Global Catalog Servers.
  6. Clear the "Automatically discover servers" check box.
  7. Click Yes in the confirmation box.
  8. Click Add.
  9. Enter the name of the GC to use.
  10. Click OK.

Microsoft recommends that you don't manually set the GC that Exchange Server uses; therefore, you should manually set the GC only when it's absolutely necessary.

Filed under: Exchange, Windows No Comments