Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I determine my session id in terminal services

Posted on 2004-10-21
10
Medium Priority
?
258 Views
Last Modified: 2013-12-23
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
Comment
Question by:jvu1275
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 16

Expert Comment

by:robrandon
ID: 12383386
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
 

Author Comment

by:jvu1275
ID: 12383455
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
 
LVL 16

Expert Comment

by:robrandon
ID: 12383551
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 16

Accepted Solution

by:
robrandon earned 2000 total points
ID: 12383637
This may also be relevant:

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

See the bottom with how to enable shadowing.
0
 

Author Comment

by:jvu1275
ID: 12385463
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
 
LVL 16

Expert Comment

by:robrandon
ID: 12402634
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
 

Author Comment

by:jvu1275
ID: 12402970
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
 
LVL 16

Expert Comment

by:robrandon
ID: 12403011
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
 

Author Comment

by:jvu1275
ID: 12403026
kool...i just finished reading the link you sent... it works just like a charm... thanks alot...
0
 
LVL 16

Expert Comment

by:robrandon
ID: 12403226
Awesome.  No problem.  Happy to hear it is working.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
An article on effective troubleshooting
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question