Solved

How do I determine my session id in terminal services

Posted on 2004-10-21
254 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
Question by:jvu1275
    10 Comments
     
    LVL 16

    Expert Comment

    by:robrandon
    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
    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
    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
     
    LVL 16

    Accepted Solution

    by:
    This may also be relevant:

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

    See the bottom with how to enable shadowing.
    0
     

    Author Comment

    by:jvu1275
    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
    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
    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
    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
    kool...i just finished reading the link you sent... it works just like a charm... thanks alot...
    0
     
    LVL 16

    Expert Comment

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Product Review - Android Remix

    Come along for the ride with our Senior Product Manager, Brian Matis, as he reviews the Android Remix.

    This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
    Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
    Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    860 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now