Monitoring SharePoint 2010 on SCOM - Minimal Permissions

I've recently started monitoring my new SharePoint 2010 farms on SCOM, and found the management pack's documentation to be rather lacking in setup instructions, and the required permissions for SCOM's account on the farm were rather shocking:

  • Local admin on all SharePoint servers
  • Local admin on all ...
more ...

"The module ... owssvr.dll could not be loaded due to a configuration problem"

Recently, one of my teammates installed ArcGis Server 9.3 on our fresh SharePoint 2010 box, causing all sites to respond with 503 Service Unavailable. A quick inspection showed that the application pools have stopped themselves, and the Windows application event log was spammed with:

Event ID: 2282
Source: Microsoft-Windows-IIS-W3SVC-WP ...
more ...

Solving and preventing "Topology Discovery failed, error 0x80040a02"

Recently our Exchange 2003 environment broke down when we demoted our last ancient DCs. We panicked and re-promoted them, but no avail. The Exchange servers won't finish loading (they'd get stuck on "Applying computer settings", while actually waiting for the Microsoft Exchange System Attendant service to finish starting ...

more ...

Showing "Mail" icon in control panel through Group Policy

I recently had to lock down a Windows 2008R2 remote desktop server (terminal server)
One of the requirements was to show only some control panel items, a setting that can be achieved using the Group Policy setting "Show only specified Control Panel items" (under Policies > Administrative Templates > Control Panel), but ...

more ...

Dumping your MySQL db using PHP

Hi.
One of my clients asked me to be able to take manual backups of his DB, and because he wasn't so technologically-inclined, using the hosting company's interface wasn't an option. So I created a small PHP page that uses mysqldump to dump the site's db ...

more ...

Setting Dynamic RPC Port Ranges

We recently had to manually set the dynamic RPC port range in our servers, mainly because Exchange 2010 sets the port range so wide that the firewall guys (rightfully) refused to create a rule with that range.

Warning - at your own risk!

When I found out about those settings, I ...

more ...

Making your pages more Facebook shareable

I'm working on a project involving Gallery 3, and one of my goals was tight Facebook integration. Today I've wanted to make sure that when someone shares a page from my gallery on Facebook, it'll show up OK.
After some digging around I found some interesting stuff ...

more ...

Lowercasing PTR records in DNS

Recently, one of the IT crowd informed me that he can't delete some of his PTR records through the DNS management console (dnsmgmt.msc). The record would appear to be deleted, but it'll still show up after refreshing.
After some quick Googling I found kb842127, which says that ...

more ...


Enabling Remote Desktop Remotely

According to this Technet article, to enable remote desktop remotely by using the registry you need to set the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server:fDenyTSConnections=0

and then reboot the server.
Rebooting is actually unnecessary - you can just restart the service TermService
If you'd like to script ...

more ...