• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

How do I determine my session id in terminal services

Hi,

I am trying to learn how to shadow a remote session using xp
I have 2 xp machines that connect via remote desktop connection.
i read somewhere that you use the following syntax:

shadow {session_name | session_id} [/server:server_name] [/v]


I don't see where i can find out what the session id is.... and what does it mean by the server can someone please explain this to me? Thanks
0
jvu1275
Asked:
jvu1275
  • 6
  • 4
1 Solution
 
robrandonCommented:
Here is an example of the syntax:

SHADOW 1 /SERVER:TERMINAL

This would work if my Terminal Servers name was Terminal and a session number 1 was established.  

You can add the Session ID column to task manager and see what user is associated with the session.

0
 
jvu1275Author Commented:
does that mean by default the first session id is typically 1? that doesnt  tell me how do i find out what session id that i have.

also i do not have a terminal server. I have a 2003 dc and a member server

also. one of the xp machines is not part of our network they are remoting via the web.
0
 
robrandonCommented:
I believe the default session ID, as in the locally logged on account is 0.  You can find out by going into task manager on the server that they are connecting to.  I forgot to mention that besides adding the session ID column to task manager, you have to check the box to Show processes from all users.  This is all on the processes tab.

It would still be the name of the server.  So if you 2003 DC is called MYFIRSTDOMAINCONTROLLER, it would be something like:

SHADOW 1 /SERVER:MYFIRSTDOMAINCONTROLLER

You are trying to shadow their session on the server right?  Not actually view their local desktops, right?

0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
robrandonCommented:
This may also be relevant:

http://support.microsoft.com/kb/278845

See the bottom with how to enable shadowing.
0
 
jvu1275Author Commented:
actually yes. i am trying to view the local desktop. I am using a tool called tsweb. it is termianl service over the web. so  when they connect to one of my local computers i would like to shadow that session.
0
 
robrandonCommented:
You won't be able to view their local desktop through this process.  When they create a session, you would only be able to shadow that session,  not the local desktop on their computer.

If you want to see their desktop, you would have to take control of it through some other means.
0
 
jvu1275Author Commented:
im not trying to shadow their computer. when the remote user grabs remote of my computer, i want to be able to shadow that computer on my network. not the remote user's desktop.
0
 
robrandonCommented:
Oh, ok.  I thought you said otherwise.  The instructions posted above should work.  Are they not?  If not, what errors/troubles are you experiencing?

0
 
jvu1275Author Commented:
kool...i just finished reading the link you sent... it works just like a charm... thanks alot...
0
 
robrandonCommented:
Awesome.  No problem.  Happy to hear it is working.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now