Slightly OT but useful in a remote situation nevertheless, is the ability to reboot a system that refuses to follow the normal shutdown/reboot procedure. On numerous occasions, a remote system will not even obey a "shutdown -r -t xx" command. If one runs Task Manager, sorts the running processes' Image Name alphabetically and kills the first svchost.exe running under the Network Service user, the system will reboot in 60 seconds every time.

On the 18/06/2008 16:56, Tim Vander Kooi wrote the following:
I attended a session in Orlando on remote management, and the things you can do with WinRM and WinRS were really awesome. You may want to do a quick search on those. There’s a lot on MSDN and TechNet regarding both.

Tim

*From:* Ziots, Edward [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, June 18, 2008 6:46 AM
*To:* NT System Admin Issues
*Subject:* RE: View processes running on a remote PC in realtime

Useful to know about running remote commands with psexec. Will come in handy for the odd occasion when I need to silently roll out patches on a case by case basis, and I'm sure it will prove to be very useful for other scenarios over time. Thanks for taking the time to respond.

On Wed, Jun 18, 2008 at 11:43 AM, James Rankin <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

Another interesting use of pstools is "psexec \\computername cmd" which will open you a remote command prompt and keep it open until you exit in the normal fashion. Much easier than telnetting. Psexec is probably the most useful tool in the suite.

2008/6/18 cs <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

Thanks James - I expect pstools will automate the telnet step below but after posting found an alternative approach to find out what processes are running in "near enough" realtime....

1. Start telnet on remote computer via computer management
2. Connect to telnet server from client
3. Run "tasklist /v" every 10 seconds or so to gauge what processes are taking up system resource

Will give pstools a shot though - the above workaround is too overkill for my liking...

On Wed, Jun 18, 2008 at 11:15 AM, James Rankin <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

pslist (with or without the -s switch) will do this on a local or remote machine

Download pstools from MS to get it

2008/6/18 cs <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    Hello all,
    I'm looking for a tool that will allow me to view (in realtime)
    processes running on a remote XP SP2 desktop, i.e. to gauge CPU
    utilisation, etc.
    Although "tasklist /s computername" tells me WHAT processes are
    currently running (along with memory usage), I'd like a similar
    view, only in realtime.
    I'm aware I could simply remote control the PC in question and use
    Task Manager to view running processes but the user has left their
    desktop locked and due to internal security policy I'm not
    authorised to reset the user's password without contacting the user
    first.

    To put into context the above requirement, I'm simply trying to
    ascertain if any applications are running within the user's logon
    session before I log 'em out to install some software.

    Hope that all makes sense. Apologies if I haven't explained clearly.

    Any advice would be much appreciated.

    Thanks in advance,

    - JS

Pslist will do this,

Pslist \\servername <file:///\\servername> –s is all you need.

Z

Edward E. Ziots
Network Engineer
Lifespan Organization
MCSE,MCSA,MCP,Security+,Network+,CCA
Phone: 401-639-3505

-----Original Message-----
*From:* cs [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, June 18, 2008 7:36 AM
*To:* NT System Admin Issues
*Subject:* Re: View processes running on a remote PC in realtime


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to