If you allow telnet access and your RDP sessions are all locked up (from pesky admins disconnecting and not logging out), there are a few tools that you can use from the CLI. One tool is called query, this tool allows you to see who is all logged in. The usage is 'query session' and you will get the output of who is logged in and what ID's they are using.

Another command is tsdiscon and you pass it in the session_id of the person you want to disconnect. Mind you though using this command sometimes doesn't disconnect the user because the connection could be hung up.

If that is the case then there is the ever so wonderful 'tsshutdn /reboot', which (provided you give it a few minutes) will restart the terminal services client.

All of these work really well over a connection that uses SSH (such as FreeSSHd or Cygwin).

More information can be found at http://technet2.microsoft.com/windowsserver/en/library/2b82a2b9-e226-40e0-bacc-cb564bd4c1c11033.mspx?mfr=true and http://support.microsoft.com/kb/320188

Comments Comments (0) Permalink Permalink     Rss feed for comments Post Comment Feed

  • E-Mail
  • DotNetKicks
  • Digg
  • LinkedIn
  • StumbleUpon
  • Slashdot
  • TwitThis
  • Facebook
  • del.icio.us
  • Reddit
  • Yahoo! MyWeb

While working on a school project using wxPython and XML I was intrigued by the way that Python wants you to handle XML. You have three options, 1) expat, 2) SAX or 3) DOM. All three methods happen to be very disgusting to implement. I decided that it would be worth time spent to find a good way to convert XML to an extensible object structure. I actually found that method at this URL http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/149368. The best part of this snippet is that you can call an elements name, get their child, get the name of the child, get an attribute all really fast (because the author used expat).  

for child in element.children :
	if child.name == "Panel" : 
		pnl = wxPanel(frame, pos=(child.getAttribute("x"), child.getAttribute("y")), size=(child.getAttribute("width"), child.getAttribute("height"))) 
		for control in child.children : 
			self.setControl(pnl, control) panels.append(pnl) 
		else : 
			self.setControl(frame, child)

Comments Comments (0) Permalink Permalink     Rss feed for comments Post Comment Feed

  • E-Mail
  • DotNetKicks
  • Digg
  • LinkedIn
  • StumbleUpon
  • Slashdot
  • TwitThis
  • Facebook
  • del.icio.us
  • Reddit
  • Yahoo! MyWeb

Every time I go deeper into the BlogEngine code base I am caught off guard at how well thought out the abstraction layers are. The ExtensionManager is another layer that helps people who build Extensions have a place to administrate their extension. If you don't want to use the default Settings class holder, you can use a custom administration page.

Method public static void SetAdminPage(string extension, string url)
Description Allows to set custom settings page to use instead of default page.
Usage ExtensionManager.SetAdminPage(“BBCode”, “~/path/to/mypage.aspx”);

http://rtur.net/blog/post/2008/01/Documentation-on-Extension-Manager.aspx

I am going to have to put this to good use with my RandomQuotes extension that I am trying to make work.

Comments Comments (4) Permalink Permalink     Rss feed for comments Post Comment Feed

  • E-Mail
  • DotNetKicks
  • Digg
  • LinkedIn
  • StumbleUpon
  • Slashdot
  • TwitThis
  • Facebook
  • del.icio.us
  • Reddit
  • Yahoo! MyWeb

About Author

Justin Wendlandt
Justin Wendlandt
I work for Wells Fargo, play a lot of video games, and program in many languages. [ more ] E-mail me Send mail

View Justin Wendlandt's profile on LinkedIn View Justin Wendlandt's Facebook Profile View Justin Wendlandt's Twitter Profile View Justin Wendlandt's Zune Profile View Justin Wendlandt's Xbox Live Profile

Calendar

<<  January 2008  >>
MoTuWeThFrSaSu
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Most comments

wow cheats wow cheats
1 comments
us United States
S&#246;koptimering Sökoptimering
1 comments
us United States
commercial roofing hayward commercial roofing hayward
1 comments
us United States

Digsby

Poll

This poll is closed.
What do you use to connect to the internet?
A DLink Exterme Gaming router
 
0.0%
A Linksys / Cisco home router
 
0.0%
None of the above
 
0.0%
A Netgear home router
 
0.0%
I built my own box to do routing
 
100.0%

Total Votes: 1

Stock Quotes

WFC 29.57 0.00 (0.00%)
GOOG 576.45 0.00 (0.00%)
BBY 38.96 0.00 (0.00%)
CML 15.71 0.00 (0.00%)
COST 59.84 0.00 (0.00%)
MSFT 28.97 0.00 (0.00%)

Xbox Gamer Card

Jwendl Gamer Score: 10225
Jwendl
Borderlands (1045) South Park (180) Rock Band 2 (310) Gears of War 2 (400) TEKKEN 6 (0) Culdcept SAGA (95) CSI: Deadly Intent (0) Madden NFL 10 (0) CSI-Hard Evidence (0) Eternal Sonata (40) Magnacarta2 (50) Spectral Force 3 (275) Left 4 Dead 2 (50) LEGO Batman (0) Madden NFL 09 (375) Soulcalibur IV (325)
Offline
3/10/2010 11:05:03 PM
Last seen 3 hours ago playing Xbox.com

Xbox Avatar

xbox Avatar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Creative Commons License