Thursday, January 31, 2013

SharePoint Navigation Limited to 50 Items

There is a limit set in SharePoint by default which only allows fifty links to show up in the navigation. If you add pages and/or subsites beyond the limit of 50, they stop showing up in the navigation.

The right thing to do would be to re-evaluate your SharePoint site structure at this point. Chances are though, that you will need a more immediate work around to get you past this issue in the meantime.

The limit is set in the PortalSiteMapProvider class in SharePoint. Microsoft’s explanation behind this limit is that “Showing a large number of items in the navigation menu is not useful and can have a negative impact on performance”.

Wednesday, January 30, 2013

Powershell Script to Delete Out Temporary Internet Files

If you have a lot of user profiles on a box, the user profiles can start to take up a lot of disk space. This is especially so on a Citrix or terminal services server, but can affect any system where more than a few people logon. I wrote a quick powershell script that can be scheduled to clean these out.

IIS Log Management Script in Powershell

IIS logs on a busy webserver can use up a lot of disk space. I wrote this little powershell script that I schedule to run on all of my web servers. It goes in and deletes out any IIS logs older than 1 year. Then it compresses any IIS logs that are left which are older than 1 day and are not already compressed. You can change the length of time for these to suit your needs by changeing the numbers in the "AddDays(-123)" parts of the script. Just make sure it's a negative number, or else you won't have any logs left.

Saturday, January 19, 2013

Configuring a CRM Email Router to Run Under a Domain Service Account

If you tried running the CRM 2011 email router under a domain service account, you probably ran into some issues. Please, do not take the easy way out and make the account an administrator, you can give it the rights it needs without going to that extent.

The first thing it needs is the "log on as service" user right, but it should get that granted when you configure the service to run under your service account in services.msc. So, I'm going to assume that's already taken care of.

Friday, January 18, 2013

MSCRMEmail: Metadata contains a reference that cannot be resolved

Below is an error that can appear when you are running the CRM email router on the same server as your CRM web services. I experienced it after adding a second web site on the CRM server to run a portal that is back-ended by CRM. The error was also accompanied by high CPU and memory usage as well.

Sunday, January 13, 2013

Tips on How to Free Disk Space on Your PC or Server

I have noticed a lot of people on the internet having issues with their hard drives filling up "mysteriously" and they are not sure what to do to reclaim some of that disk space. I've already written a handful of articles that touch on various consumers of disk space, so I am going to bring all of them together in one place for your convenience. I will keep adding to this page as I write more articles that are along these same lines.

Friday, January 11, 2013

How to Configure Your Page File to Save Disk Space

Written by Greg Kjono

There are a couple of hidden files that typically use up a lot of disk space, especially in systems that have large amounts of RAM. These are the pagefile.sys and hiberfil.sys. Hiberfil.sys can be deleted if you don't use the hibernation feature. Instructions on how to do that are available at

I don't recommend completely removing the pagefile, especially on desktops and laptops, however. You can configure them to not use so much disk space though. By default they are set to "system managed" and are probably close in size to the amount of memory you have in your PC. Chances are that you aren't actually using most of that space in the page file, and that your computer is just allocating that space in case it needs it in the future.

Wednesday, January 9, 2013

How to associate a second YouTube channel with a Google Adsense account

If you created a second YouTube channel and you are want to link it to your original adsense account, then you are in the right place. It's not a hard thing to do. It's just that some of the peices are kind of hidden on YouTube's site.

I am going to assume that you have already created a second YouTube channel and that you want to link it to your adsense account. First, log into the YouTube channel that you want to tie to your adsense account.

Error! Windows - No Disk: Exception Processing Message c0000013 Parameters 75a851d8 979a26dc 75a851d8 75a851d8

This is one of those errors that doesn't really give you any information to go on. All you really get is this popup message that say Windows - No Disk: Exception Processing Message c0000013 Parameters 75a851d8 979a26dc 75a851d8 75a851d8.

Error! Windows - No Disk: Exception Processing Message c0000013 Parameters 75a851d8 979a26dc 75a851d8 75a851d8

Sunday, January 6, 2013

Disable Weak SSL Ciphers and Protocols in Windows, IIS, ISA, TMG & UAG

You should disable the weak SSL ciphers and protocols that are riddled with vulnerabilities and security flaws on any Microsoft Windows server running IIS, ISA, TMG and UAG.

The resolution for this weakness is rather simple. Merge the data below into your registry and reboot. That's it.

The easiest way to do that is to copy the text from the white box below, past it into notepad and save the file with a ".reg" extension (make sure to change the "Save as type" to "All Files". Backup your registry, then right-click the file and select "merge". Click "Yes" and you are done. If you are running UAC, you need to click "yes" twice.

Thursday, January 3, 2013

Phantom space used in Windows 7, Windows Server 2008, Windows Server 2008 R2, and Windows Vista

A common issue that has baffled a lot of administrators is where a large amount of disk space is showed as in use, but they can’t find the files that are using it. For example, ff you go to the root of the C: drive, select all of the files, right-click, and click properties. The amount of space shown as used on that properties window isn’t nearly what it should be if you deduct it from the size of the drive and compare your results to the free space that Windows explorer, or my computer shows.

There are a couple things that most often contribute to this. The first is a bloated, oversized $TOPS file. You can set your system to specify that the Transaction Resource Manager will clean the transactional metadata on the next mount, or reboot.

How to delete hiberfil.sys on Windows 2008/Vista/Windows 7

In Windows 2008, 2008 R2, Vista and Window 7, disabling hibernation via Power Options in the control panel doesn't get rid of the hiberfil.sys file. This file is usually equal to the amount of memory your system has, so it eats up a lot of disk space. This is  especially true if you have a lot of memory which is common on servers, or a small amount of disk which is common on virtual machines. To get rid of this file and free disk space, just run the following command from an elevated, or administrative command prompt.

Wednesday, January 2, 2013

Symantec Endpoint Protection 12.1 clients are holding onto multiple virus definitions, using a lot of disk space

There is a known issue with Symantec Endpoint Protection 12.1 clients where it does not delete the old virus definition files. These definition files build up and start consuming gigs and gigs of disk space.

They do have a fix for it now, which involves upgrading to Update Rollup 2 (UR2). Unfortunately,  you might not be able to upgrade right away. As a workaround, I wrote the powershell script below that will cleanup the old definition files. I schedule this to run daily.