Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I work on remote Windows Server 2008 machine over RDP and frequently need to revive broken copy&pasting over RDP. Which is killing rdpclip process in Task Manger (tab "Processes") and launching it gain by: switching to tab Applications --> pressing button "New Task..." --> typing 'rdpclip'--> clicking OK.

Well, I do not need to type 'rdpclip' if it is the last used command. The problem that in "Create New Task" of Windows Task Manager I always launch rdpclip only but it shows the last run program from Windows command prompt (Win +R), usually it is "notepad" for me.

enter image description here

Is it possible to bind the last used command/task to Task Manager only? and how?

share|improve this question
2  
Why do all this, why not just put a shortcut somewhere for rdpclip set to run as admin? – Paul May 30 '12 at 3:13
    
It is even more unconvenient. Before launching rdpclip I should deleted the ild process, so I am anywat alread in Task Manager. There is no much sense to go outside – Gennady Vanin Геннадий Ванин Jun 25 '12 at 2:24
up vote 0 down vote accepted

I think the best approach would be to create a batch file like this:

taskkill /im rdpclip.exe
rdpclip.exe

Put this somewhere convenient, and set it to run as administrator.

Then just run the batch file whenever you need to restart rdpclip.

share|improve this answer
    
@Synetech my commented suggestion was just to start rdpclip from a shortcut, whereas this both kills and restarts the process. It addresses the issue without dealing with the XY nature of the question. – Paul Jun 25 '12 at 4:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .