Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement
Brian Madden's Blog

Past Articles

The Server 2008 R2 remote desktop logon process (BETA)

Written on Jul 28 2009 6,747 views, 3 comments


by Brian Madden

Kevin Goodman and I have created various "Logon Process" charts for Citrix and Terminal Services over the years. Since so much has changed for 2008 R2, we decided to create a brand-new chart from scratch. Since R2 is still beta (well, I guess it's RTM now but I don't have the final code yet), this chart is also beta.

You'll notice we made a major format change, as switching over to this vertical format is much easier to edit and easier to view online. The idea is that the retangular boxes are actions, and the round areas are our comments.

Here's the version that Kevin and I presented at BriForum 2009 last week. Please tear it apart! Let us know where we're wrong, what needs to be added, etc. We'll release an updated version in a few weeks.

 







Comments

Helge Klein wrote re: The Server 2008 R2 remote desktop logon process (BETA)
on Tue, Jul 28 2009 10:37 AM Link To This Comment

The API function for loading user profiles is called "LoadUserProfile" (not LoadProfile). It requires, among others, the path to the profile directories as parameters, not NTUSER.DAT. LoadUserProfile returns a handle to HKCU after NTUSER.DAT has been loaded into the registry.

The function is documented here:

msdn.microsoft.com/.../bb762281%28VS.85%29.aspx

Ingmar Verheij wrote re: The Server 2008 R2 remote desktop logon process (BETA)
on Wed, Jul 29 2009 4:51 AM Link To This Comment

After seeing the chart, and your explination @ BriForum, (and let's not forget Kevin) i've had some thoughts about the layout.

Pros:

It's absolutely easier to read than the previous version, just read top-down and your their. Brilliant.

Cons:

There are some side-effects with the new layout:

- It won't fit on my wall anymore;

- There is no seperation for the different stages (with the different colors);

- Less detail (?).

So here are my thoughts about how the chart can be evolved:

- Add the color scheme for the different stages;

- Add a collapse / expand feature for more or less detail (in the online version);

- Show the communication between client and server(s) with arrows. Include the ports beeing used and the data transmitted (like you see it in the datacomm books);

- Link the different process to Wiki pages (not my idea, heard it after the session);

- Add details about troubleshooting (where to look, what does it do, examples, etc.);

- Create optional values like : Do you run Citrix? Do you use a CAG? 2003 or 2008?

Of course not ALL can be implemented (unless someone has a LOT of spare time), but wouldn't that be awesome?

Kevin Goodman wrote re: The Server 2008 R2 remote desktop logon process (BETA)
on Fri, Jul 31 2009 10:54 PM Link To This Comment

A couple of thoughts:

We are working on a way to "rotate" the chart so you can print it sideways -- it may go all the way around the cube, but you will be able to have a printout.

This chart format allows us to expand the chart greatly. The other chart got too busy. We will add the debug stuff on the next version of this chart.

Also, you may have noticed that there is on printing on this chart. Our idea is to see if everyone likes this format if so Brian and I am able to go to town on it. I know I have always wanted to add GPO loading but in the previous chart it would have been impossible.

Anyway, always open for suggestions and corrections (Thanks, Helge -- not sure why I spaced on LoadUserProfile)

Kevin

(Note: You must be logged in to post a comment.)

If you log in and nothing happens, delete your cookies from BrianMadden.com and try again. Sorry about that, but we had to make a one-time change to the cookie path when we migrated web servers.