DosTips.com

A Forum all about DOS Batch
It is currently 27 Apr 2017 05:06

All times are UTC-06:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 17 Feb 2017 02:39 
Offline

Joined: 17 Feb 2017 02:28
Posts: 3
Sometimes the clipboard stops working. I'm led to believe that ending the clipboard process and then relaunching it, should solve the problem. I want to automate that in a batch file for 'easy access' at a moment's notice. https://technet.microsoft.com/en-au/lib ... 2147217396 gives examples of syntax (and explanations) for stopping processes, but I find it too complex to comprehend. None of my experimenting has produced a batch file that stops the clipboard from working. I have tried command lines like : "kill clip.exe"; "kill c:\windows\system32\clip.exe” and "taskkill /s srvmain /f /im rdpclip.exe", but none of them in a batch file seem to affect the clipboard functionality in Win10. Neither clip.exe nor rdpclip.exe show when 'tasklist' is typed into Command prompt. I'd like some help - preferably a finished batch file - to at least START the process (if not complete it).


Top
   
PostPosted: 17 Feb 2017 07:33 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3503
Sebastian42 wrote:
Sometimes the clipboard stops working. I'm led to believe that ending the clipboard process and then relaunching it, should solve the problem.

What hypothesis led you to this belief?


Top
   
PostPosted: 17 Feb 2017 07:47 
Offline

Joined: 06 Sep 2013 21:28
Posts: 666
Location: Virginia, United States
The clipboard isn't a process, it's a data buffer. You can't stop or start it.


Top
   
PostPosted: 17 Feb 2017 14:45 
Offline

Joined: 17 Feb 2017 02:28
Posts: 3
Squashman wrote:
Sebastian42 wrote:
Sometimes the clipboard stops working. I'm led to believe that ending the clipboard process and then relaunching it, should solve the problem.

What hypothesis led you to this belief?

A google search - I did not document the source.


Top
   
PostPosted: 17 Feb 2017 14:53 
Offline

Joined: 17 Feb 2017 02:28
Posts: 3
Squashman wrote:
Sebastian42 wrote:
Sometimes the clipboard stops working. I'm led to believe that ending the clipboard process and then relaunching it, should solve the problem.

What hypothesis led you to this belief?


From https://social.technet.microsoft.com/Fo ... progeneral
"The best solution I have found is to pull up task man, end the process rdpclip.exe, and then restart it by first changing focus from task manager to another program and back to task manager, choose file>new task (run) and then typing in rdpclip.exe and hit enter. The remote clip service will restart, and usually the copy you wanted to paste immediately becomes available."


Top
   
PostPosted: 18 Feb 2017 07:46 
Offline

Joined: 06 Sep 2013 21:28
Posts: 666
Location: Virginia, United States
Sebastian42 wrote:
Squashman wrote:
Sebastian42 wrote:
Sometimes the clipboard stops working. I'm led to believe that ending the clipboard process and then relaunching it, should solve the problem.

What hypothesis led you to this belief?


From https://social.technet.microsoft.com/Fo ... progeneral
"The best solution I have found is to pull up task man, end the process rdpclip.exe, and then restart it by first changing focus from task manager to another program and back to task manager, choose file>new task (run) and then typing in rdpclip.exe and hit enter. The remote clip service will restart, and usually the copy you wanted to paste immediately becomes available."

That's exclusively for when you experience the problem on a remote machine you're interacting with via RDP, unfortunately.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited