How do you do....it? Thread, PsTools - PsExec in Technical; I have PSExec on my PC and want to run a RDP command remotely as from where I work I ...
21st June 2010, 02:07 PM #1
PsTools - PsExec
I have PSExec on my PC and want to run a RDP command remotely as from where I work I cannot access all our servers so have to RDP to one of two sites then RDP again.
What I want to do it run mstsc from one of our servers that is at one of the two locations.
At the moment I have this command but it runs the mstsc on the server not on my machine: C:\PsTools\PsExec.exe \\nl-it-01 mstsc
Does anyone know what I have to run to get this to run on my machine?
Thanks in advance.
21st June 2010, 02:18 PM #2
maybe try -a or -i flags. i thought you'd have to specify the full path to the file on the remote machine, but could be mistaken.
21st June 2010, 02:21 PM #3
misread what you're doing.
mstsc will run for you and give you a window to one server. then from that console you can run it again local to that server to open a session on the other server. is that what you're trying to do.
you shouldn't need psexec. you can try it without the \\compname parameter if you want it to run local, but then there's no point running psexec.
21st June 2010, 02:39 PM #4
What I am trying to do is run the mstsc file from a server that is on one of the two server suites.
21st June 2010, 09:31 PM #5
you cant, the only gui you can bring from a computer your controlling with psexec is the command line. vnc might be a better option for what your trying to do.
21st June 2010, 11:54 PM #6
I'll just RDP to a server then RDP off that, trying to make things simple!
22nd June 2010, 08:39 AM #7
That will work but, depending on bandwidth, it might not give a good experience!
If you can find command line equivalents for what you're trying to do then those will work with psexec and will be much smoother. Obviously not everything can be done from the command line but lots of things can and it's worth investigating.
22nd June 2010, 09:05 AM #8
We have the bandwidth just a pain having to hop via another box. I will just have to live with it!
22nd June 2010, 09:08 AM #9
That's sort of what i meant in my 2nd post. Nest RDP works well, i do it all the time, sometimes 3 deep, as everywhere i log in, i'm often rdp'ing to somewhere else, so if i work from home, they all nest together. So long as you're careful not to create a loop it's fine!
Originally Posted by MatthewL
By bladedanny in forum Windows
Last Post: 23rd June 2010, 09:34 PM
By sparkeh in forum Windows
Last Post: 27th February 2009, 09:06 PM
By Admiral208 in forum How do you do....it?
Last Post: 23rd January 2009, 12:06 AM
By chrbb in forum Windows
Last Post: 21st April 2008, 04:05 PM
Last Post: 29th November 2005, 03:30 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)