The Windows NT and Windows 2000 Resource Kits come with a number of command-line tools that help you administer your Windows NT/2K systems. Over time, I’ve grown a collection of similar tools, including some not included in the Resource Kits. What sets these tools apart is that they all allow you to manage remote systems as well as the local one. The first tool in the suite was PsList, a tool that lets you view detailed information about processes, and the suite is continually growing. The “Ps” prefix in PsList relates to the fact that the standard UNIX process listing command-line tool is named “ps”, so I’ve adopted this prefix for all the tools in order to tie them together into a suite of tools named PsTools.
The tools included in the PsTools suite, which are downloadable as a package, are:
Ã‚Â· PsExec – execute processes remotely
Ã‚Â· PsFile – shows files opened remotely
Ã‚Â· PsGetSid – display the SID of a computer or a user
Ã‚Â· PsInfo – list information about a system
Ã‚Â· PsKill – kill processes by name or process ID
Ã‚Â· PsList – list detailed information about processes
Ã‚Â· PsLoggedOn – see who’s logged on locally and via resource sharing (full source is included)
Ã‚Â· PsLogList – dump event log records
Ã‚Â· PsPasswd – changes account passwords
Ã‚Â· PsService – view and control services
Ã‚Â· PsShutdown – shuts down and optionally reboots a computer
Ã‚Â· PsSuspend – suspends processes
Ã‚Â· PsUptime – shows you how long a system has been running since its last reboot (PsUptime’s functionality has been incorporated into PsInfo)
The PsTools download package includes an HTML help file with complete usage information for all the tools.
Note: some anti-virus scanners report that one or more of the tools are infected with a “remote admin” virus. None of the PsTools contain viruses, but they have been used by viruses, which is why they trigger virus notifications.
Download: PsTools 2.45