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 ...

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 PTR records …

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 it …

more ...



Internet Explorer and SPNs

After learning how SPNs work (read my "Who? Why? Where" to learn what's an SPN), I was frustrated to find out that I can't implement my experience in the real world.
I've created a Sharepoint Central Admin site on port 1234, and wanted to enable kerberos authentication for it, so …

more ...

Checking for conflicting oIDs

I got word that this script was useful for some other IT team, so it's definitely blog-worthy!

The Story

I've inherited some AD forests with their schema extended by in-house software, using oIDs belonging to an MS pool, meaning that those numbers might be used by future schema extensions by …

more ...

Vanishing permissions on AD objects

I recently managed to solve a problem that bugged me for a ~ year - permissions on a specific group on AD would vanish, and the change won't show up on the security logs of any DC (as audit success).

The Story

We've made groups for our helpdesk teams, and gave them …

more ...

Stsadm / new SPSite is slow

Update: Get the script here

The Story

A couple of days ago, developer extraordinaire Itay Shakury was doing performance tuning on one of our SharePoint applications, and came to me with a problem - creating a new SPSite object took about 30 secs. The stranger part was that only the first …

more ...