Jump to content

Recommended Posts

Posted

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.

Posted
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.
Posted

:doh: 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.

Posted

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.

Posted
Thanks Strawberry.

 

I'll just RDP to a server then RDP off that, trying to make things simple!

 

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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...