Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 01, 2000

Tools for the Control Freak


RSS
Subscribe to Windows IT Pro | See More Thin-Client Devices Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

If you choose the View the user's session option, the person remotely controlling the session won't actually control the session but will be able to see what the original user is doing. The person who set up remote control can't use the mouse or keyboard in this type of remotely controlled session. This option is a helpful troubleshooting tool if you want to help a user correct a problem but you don't want to manually interfere. However, I find that the Interact with the session option is typically more useful than the View the user's session option.

Remote Control Capabilities
Because you can take remote control of a terminal server session only from another terminal server session, you need to log on to a terminal server on the network. The remote control option in the Terminal Services Manager and the Shadow command-line utility won't work from the console. (Additionally, you can't shadow the console from a terminal session. If you need to use the console, just log on with the appropriate privileges.) After you're in the session, you can remotely control a user's session in two ways: from the Terminal Services Manager or from the command line.

To use the GUI, start a terminal server session and log on using an account with administrative privileges. From within the session, start the Terminal Services Manager in the Adminstrative Tools folder. In the window that opens, select a terminal server in the left pane and switch to the Users tab to display user sessions, as Screen 4 shows. (The green icons indicate the server that you're working from.) Find the session you want to shadow, and choose Remote Control from the Actions menu. (Alternatively, you can choose this option from the pop-up menu that appears when you right-click on the connection or from the toolbar button that resembles a monitor.) A dialog box prompts you for the hot-key combination you want to use to end remote control of your own session (so that you can return to the original session). If the Remote Control option isn't visible, you're probably trying to take control either of a console session or from a console session. Again, shadowing works only from an RDP session, even if you must make an RDP session to the server at which you're sitting.

If you've configured the user session to require user permission for control, a dialog box will appear on the user's screen, stating that user X in domain Y has requested permission to control the session. If the user permits the control, you're in charge of the session—your session will take over the user's session. If the user doesn't permit the control or waits longer than about 30 seconds to accept it, an error message informs you that you didn't receive permission to control the session. The degree of remote control you have over a user's session depends on the user account settings you've already set.

The command-line utility that lets you take remote control of a user session is called Shadow, after the name that WinFrame and MetaFrame use for remote control. The utility's syntax is as follows:

shadow {<session name> | <session ID>} [/SERVER:<server name>] [/v]

To use Shadow, start a Terminal Services session with administrative privileges. To find the session ID or session name of the user whose session you want to shadow, open a command prompt and type

query user <username>

or

query session <username>

in which username is the name of the person whose session you want to control. You can't shadow based on username; therefore, even if you know the logon name of the person whose session you're shadowing, you'll need the session ID or session name.

If you're shadowing a session on the terminal server to which you're logged on, the command syntax for shadowing Session ID 1 is

shadow 1

If that session requires user permission for remote control, you'll see the following message while your session waits for permission to take over the remote one:

Your session may appear frozen while the remote control approval is being negotiated.
Please wait...

After you have permission, you're in the remote session, just as if you had used Terminal Services Manager.

I recommend using Terminal Services Manager at least once before trying the command-line utility. The Shadow command doesn't prompt you for a hot-key combination to end remote control and return to your session. (The default hot key is Ctrl+*.) Shadow uses the hot key that you defined for the GUI; you need to create and memorize that hot-key combination before you can use it with Shadow. Make sure you know the key combination you'll need to return to your own session from the shadowed one.

Added Functionality
If you're interested in trying out multiuser Windows, Win2K's Terminal Services is for you. But Terminal Services means more than just getting a free copy of WTS to play with. Win2K brings some needed functionality to the tool—including remote control support—and also introduces a mode that lets you manage your Win2K servers remotely, even from a computer that doesn't have Win2K or even NT installed. If you haven't yet experimented with this Win2K feature, now's the time to do so.

End of Article

   Previous  1  [2]  Next  


Reader Comments
Good and informative article.



Roel Ovinge May 03, 2000


Great article!.

I have been testing Terminal Services under Win2K as a potential replacement for pcAnywhere. I found a couple of shortcomings: 1) To setup FTP ability you have to use a couple of resource kit utiltities or just map share your drive and then connect to it from TS. (no big deal).

2) This is the only real problem I have with it: You can not Remote Control the original Server desktop. You may miss potential pop-up messages, can not display the real server's Task Manager, etc... like pcAnywhere allowed you to take control of the server. One of the articles tells me to look at the event logs for potential pop-op messages, but I don't know if that will always work.

RFC (Request For Comments)

Thanks

Johnny Figueroa November 02, 2000


What if one wants to shadow or remotely control a user w/o prompting the user? i.e. to have management monitor what an employee is doing w/o the employee knowing it?

Randall Mason October 08, 2002


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...

The Desktop tab is missing from the Display Properties in Windows XP?

...


Windows OSs Whitepapers Replay for Exchange: Enterprise Protection and an Affordable Price

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

WinConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

Maximize your SharePoint Investment – 8 Cities
Discover best practices and tips for both architecting and administering SharePoint. Early Bird Price of $99 through Sept 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



When managing just VMware isn’t enough
Plan/Manage/Secure – NetIQ VMware management. Download whitepaper.

What’s up with your network? Find out with ipMonitor
Availability monitoring for servers, applications and networks – FREE trial

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16 in London.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing