O'Reilly logo

Learning Windows Server 2003 by Jonathan Hassell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Command-Line Management

Several neat utilities that are sprinkled throughout this chapter, and some that I didn’t cover in detail, enable you to perform much of the functionality you find in the graphical management interfaces for Terminal Services from the command-line. I’ve collected them all in this final section of the chapter, as a quick reference of sorts.

Change logon

Enables logons (using the /enable switch) or disables logons (using the /disable switch) to a specific server. Use /query to find out what mode a machine is currently in.

Change port

Modifies serial port mappings for programs that operate in DOS compatibility mode. Use /query to find out the current mappings.

Change user

Changes the mode in which a Terminal Services machine operates. Using /install switches the machine into install mode to add applications of multisession use, and using /execute disables the install mode for normal functionality. Use /query to determine the current mode. See earlier in this chapter for detailed information on this command.

Cprofile

Cleans profiles for inefficient use of space, and removes from the Registry any file associations the user has configured. Profiles must not be in use to run this tool. Use /L to clean every local profile, /I to prompt you before cleaning each profile, and /V to display each action the program has taken.

Flattemp

Enables flat temporary directories—that is, enables the redirection of temporary directories to a location other than the default. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required