14

PsExec for remote command on Windows EC2 instance

view full story
linux-howto

http://serverfault.com – Here is what I am trying: Launch ami-c98d55a0 with t1.micro size and a security group with inbound tcp ports 139, 445, 3389 open. Using paping, I get a response on port 3389 but not 139 and 445, so I remote desktop into my instance and turn off the firewall completely. I then try the following in cmd.exe on my local machine (Windows 7 Home Premium 64-bit), running as Administrator. C:\Windows\system32>psexec \\ec2-XX-XX-XXX-XXX.compute-1.amazonaws.com -u Administrato r -p "XXX" cmd.exe PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark Russinovich Sysinternals - w (HowTos)