Google

Tuesday, November 21, 2006

Run As Command in Windows 2000/3 & XP

Runas

Allows a user to run specific tools and programs with different permissions than the user's current logon provides.

Syntax

runas [{/profile|/noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:UserAccountName program

Examples

To start an instance of the command prompt as an administrator on the local computer, type:

runas /user:localmachinename\administrator cmd

When prompted, type the administrator password.

To start an instance of the Computer Management snap-in using a domain administrator account called companydomain\domainadmin, type:

runas /user:companydomain\domainadmin "mmc %windir%\system32\compmgmt.msc"

When prompted, type the account password.

To start an instance of Notepad using a domain administrator account called user in a domain called domain.microsoft.com, type:

runas /user:user@domain.microsoft.com "notepad my_file.txt"

When prompted, type the account password.

To start an instance of a command prompt window, saved MMC console, Control Panel item, or program that will administer a server in another forest, type:

runas /netonly /user:domain\username "command"

domain\username must be a user with sufficient permissions to administer the server. When prompted, type the account password.

Reference

- Microsoft Website

Monday, November 20, 2006

How to run Control Panel tools in Windows by typing a command at a command prompt or in the Open box

How to run Control Panel tools in Windows by typing a command at a command prompt or in the Open box

   Control panel tool             Command
-----------------------------------------------------------------
Accessibility Options control access.cpl
Add New Hardware control sysdm.cpl add new hardware
Add/Remove Programs control appwiz.cpl
Date/Time Properties control timedate.cpl
Display Properties control desk.cpl
FindFast control findfast.cpl
Fonts Folder control fonts
Internet Properties control inetcpl.cpl
Joystick Properties control joy.cpl
Keyboard Properties control main.cpl keyboard
Microsoft Exchange control mlcfg32.cpl
(or Windows Messaging)
Microsoft Mail Post Office control wgpocpl.cpl
Modem Properties control modem.cpl
Mouse Properties control main.cpl
Multimedia Properties control mmsys.cpl
Network Properties control netcpl.cpl
NOTE: In Windows NT 4.0, Network
properties is Ncpa.cpl, not Netcpl.cpl
Password Properties control password.cpl
PC Card control main.cpl pc card (PCMCIA)
Power Management (Windows 95) control main.cpl power
Power Management (Windows 98) control powercfg.cpl
Printers Folder control printers
Regional Settings control intl.cpl
Scanners and Cameras control sticpl.cpl
Sound Properties control mmsys.cpl sounds
System Properties control sysdm.cpl
You can visiting microsoft website for more clearer.

Thursday, November 09, 2006

How to Install Windows XP/2000 Recovery Console?

Installing the Recovery Console

You can install the Recovery Console on your computer to make it available in case you are unable to restart Windows. You can then select the Recovery Console option from the list of available operating systems on startup. It is wise to install the Recovery Console on important servers, and on the workstations of IT personnel. This article describes how you can install the Recovery Console to your Windows XP computer. To install the Recovery Console, you must have administrative rights on the computer.

Although you can run the Recovery console by booting directly from the Windows XP CD, it's much more convenient to set it up as a startup option on your boot menu. To run directly by booting from the CD see the "Using the Recovery Console" section later in this article.

To install the Recovery Console, perform the following steps:

  1. Insert the Windows XP CD into the CD-ROM drive.

  2. Click Start, and then click Run.

  3. In the Open box, type

d:\i386\winnt32.exe /cmdcons

where d is the drive letter for the CD-ROM drive.

  1. A Windows Setup Dialog Box appears, which describes the Recovery Console option.

  2. The system prompts you to confirm installation. Click Yes to start the installation procedure.

  3. Restart the computer. The next time you start your computer, you will see a "Microsoft Windows Recovery Console" entry on the boot menu.

Note: Alternatively, you can use a UNC to install the Recovery Console from a network share point.

Reference Link:

- Installing Recovery Console by Daniel Petri