Monday, October 30, 2006

dxdiag -- directix diagnostic tool

There are Diagnostic tool for Directx installed your sytem.
command name is "dxdiag" which shows the diagnostic tool.

Thursday, October 05, 2006

New Utility Tools for Windows

Have you ever seen a command. like "su" or "sudo" in Linux. In Windows 2000 this feature has implemented as command "RunAs"

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

EX:

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



And we have another interesting feature "FAST USER SWICHING"

When multiple users share a computer, logging off and logging on to the computer in order to switch users can become tiresome.

Fast User Switching, a feature of Windows XP Home Edition and Windows XP

Professional when it is not joined to a domain, makes it possible for you to quickly switch between users without actually logging off from the computer. Multiple users can share a computer and use it simultaneously, Switching back and forth without closing the programs they are running.

For example, suppose you are working on the household budget and you have to leave the computer for a short time. Your child expresses a desire to play a game while you are away. With Fast User Switching, you can leave your financial program running and let your child log on to play the game. When you log back on, you return to the budget without losing your place.


  • Fast User Switching will not appear if it has not been turned on in User Accounts in Control Panel.
  • Fast User Switching is not available on computers that are members of a network domain.
  • Only users with a computer administrator account on a computer can turn on or turn off Fast User Switching.
  • Fast User Switching cannot be turned off while multiple users are logged on to the computer.
  • When Fast User Switching is not turned on, programs shut down when you log off, and the computer runs faster for the next User who logs on. For information about turning on Fast User Switching in User Accounts in Control Panel, click Related Topics.

** RunAs command has been introduced from Windows 2000 . For Windows NT there is a its precedor called as "NETEXEC"

NetExec, first released in 1997, was one of the first tools for Windows NT providing the functionality to run a program under a foreign account. In the meantime there are many so-called "su" tools with similar basic functions available. Beginning with Windows 2000 even Mircosoft ships such a tool, named "RunAs.exe".

However, NetExec contains a lot of unique features:

  • Desktop-Manager
    The Desktop-Manager lets you create addition login-sessions, each running on its own desktop. This brings the Windows XP "Fast user switching" feature to your Windows NT/Windows 2000 box. But even Windows XP users will love it, as Desktop-Manager is much simpler to use and consumes fewer (a lot fewer!) system ressources.
  • Create your own clients
    Using the CustomClient-Creator add-on, you can create special .EXE-files, that run a predefined command line under a different account. The command line and the password are stored encrypted inside the .EXE.
  • No special privileges needed
    Some su-tools require that certain, high power privileges like SeTcbPrivilege ("Act as part of operating System") are assigned to user accounts. This is very dangerous because it gives users the power to make themself member of the Administrators group! NetExec does not need such privileges.
  • Extended security features
    NetExec contains even more features for enhanced security. Additional sessions can be closed automatically, desktops can be password protected and much more.
  • Extended network support
    NetExec was designed for optimal usage in client server environments. Roaming profiles are full supported. Novell- or Windows networks are supported by special functions.
  • Complete command line interface
    Besides a very comfortable GUI NetExec is completely usable from the command line. Some special command line options make NetExec a first choice in advanced batch file scenarios like automatic software rollouts.
  • Temporary Administrator group memberships
    Another feature that make NetExec a excellent choice for software installation scenarios are extended group memberships. Using this feature it is possible to run a process under a non-privileged user account, but inside this process the user becomes also a member of the Administrators group. Therefore the app uses the profile, settings and home directory of the non-privileged user account, but runs with Administrator privileges.
  • Multilanguage support
    User interface and help files are available in English and German languages. The preferred language can be changed at runtime and is stored as a per user setting.
  • Runs on Terminal Services
    Most su-tools fail completly, if used from a terminal session hosted on Windows 2000 Advanced Server. The same problem applies to Windows XPs additional logon session created by "Fast user switching". NetExec works even well in such scenarios.
  • you can refer http://www.netexec.de/fs_netexec.html

Enjoy the Stuff.. Bye