Got a handle leak? Use !Htrace to help find the leaking stacks non-invasively.

So when your an app developer or someone in my position where you need to track down memory leaks one of the tools to use is Htrace once you’ve identified it’s a handle leak.  I just wanted to put this post out there to show that I found you can use Htrace against a usermode…

4

Returning just the errors using Wevtutil.exe

I posted on how you can use Wevtutil to enumerate the event logs on server core or LH.  Someone left a comment asking how could they just return the errors from the System log instead of all the events.  Seems like a reasonable question and with a bit of research here is the solution.  …

4

Windows Server 2008 Step-by-Step Guides (17 total) for your downloading pleasure.

Instead of trying to hunt down the docs you need, follow the link and download the services you will be deploying. Get them while their hot!  http://www.microsoft.com/downloads/details.aspx?FamilyID=518d870c-fa3e-4f6a-97f5-acaf31de6dce&DisplayLang=en Creating and Deploying Active Directory Rights Management Services Templates Step-by-Step Guide.doc Deploying Active Directory Rights Management Services in an Extranet Step-by-Step Guide.doc Deploying Active Directory Rights Management Services…

1

Unable to remotely manage a Server Core machine (MMC, WMI, Device Manager)

I’ve been seeing a lot of churn internally and externally about installing a role on a server core machine and then trying to connect to it remotely only to find that the remote server core machine won’t allow you to connect.  Remote Management: To allow remote management of a server core machine run this locally on the…

2

Not getting kernel memory dumps in Windows Vista or Windows 2008?

Backstory: With the advent of Windows Vista there are changes made in how the operating system determines if it can take a kernel memory dump or not.  Starting in Vista the amount of memory allocated for kernel mode could vary dynamically.  If the pagefile is not big enough, switching to minidump at dump time can’t…

4

Booting into DSRM in Windows 2008

Since the boot.ini file no longer exists in Windows 2008, the way to boot into directory service repair mode has changed.  You can setup the OS to boot to DSRM a couple of ways as shown below.  I’d also mention that to due offline defrags and other NTDSUTIL commands against the database you can now…

1

Using TypePerf to get performance data on the command prompt.

I was tracking a high CPU issue this week and needed to know when one of my servers was pegged so I could investigate.  I could of used perfmon I guess but I really like to do everything I can from the command prompt.  I always like it when there is a tool that can…

5

Webcast coming up: Looking cool in front of your AD peers in Win2k8

Just got back from vacation and will start getting the posts going again.  Just wanted to mention a webcast coming up from AD administration in Windows 2008 that is going to play next Thursday the 27th.  If you got some time to kill, I’d make this session for sure. TechNet Webcast: Extending Windows Server 2008…

0

These are a few of my favorite things… (Part 3)

Just some more junk that I use quite a bit that I would share with others in case it can be useful in the wild… Part 1 Part 2    IFEO via GFLAGS I’ve mentioned setting IFEO before but here is the real short way to do it form the command prompt:  Gflags /P /enable notepad.exe…

1

Kernel stack not resident (Using .pagein)

You might find yourself debugging an issue and a thread you are interested in is paged out.  Here’s the steps to use to page in the stack for the kernel side and user side…   Be careful when doing this on a live machine that you want to release after debugging as paging in certain section…

2