How to? PsExec and WindDirStat on a remote system

JM81

New member
Local time
10:02 AM
Messages
1
I'd like to be able to run WinDirStat on a remote machine that I have administrative rights over but it does not work.

This is what I have done: Run CMD as admin: psexe.exe -i -s cmd.exe

From the new prompt: psexec.exe \\host -u username winddirstate.exe

I type in my PW and it does not launch

Both running Windows 7 Enterprise.
 

My Computer My Computer

At a glance

Windows 7 Enterprise x64
Computer type
PC/Desktop
OS
Windows 7 Enterprise x64
The program does launch....... on the remote computer. Problem is that WinDirStat is a normal GUI program, and it will appear on the desktop of the remote computer. Moreover, since psexec usually runs as a service on the remote computer, it'll appear on the "service's desktop", which nobody can launch..

On the other hand, cmd.exe is a console program and operates entirely based on text, and psexec easily redirects input and output to your own console. This is the very same thing that happens with telnet and SSH, by the way.

In short, you cannot run GUI programs on the remote machine and expect them yo appear right in your local desktop. Stick to console software or use remote desktop for GUIs.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top