3

I have been experiencing problems pasting data as a metafile after a change in the display scaling (DPI settings) of my primary monitor on Windows 10. The only way to fix the problem so far is to log out and log back in.

I would like to try and restart the service responsible for clipboard management, but I can't find it. The only documentation I found refers to a ClipSrv under Windows XP...

If anyone knows how to restart the clipboard management service, I'd be very happy to hear about it!

2

Since there are other posts showing how to restart it, you could also consider clearing (if the restart doesn't work or if you want to try something else):

cmd /c "echo off | clip"
  • This clear the content of clipboard, do not restart the service! – Romeo Ninov Jun 26 '17 at 10:03
  • I have the same issue, and entering the command above gives me "ERROR: Access is denied." error :(. – thdoan Nov 16 '17 at 1:33
0

As of my quick research, clipboard functionality is an integral part of Win32k.sys and there is no service responsible for the clipboard.

To address your problem, let's assume the data in the clipboard gets corrupted by some reason. Therefore, I would suggest you also to try to inspect the clipboard state after pasting the data into it.

To make the process more traceable you may try to load the data into the clipboard manually with PowerShell:

Write-Output $data | Set-Clipboard

You may also append items to the clipboard without replacing the existing content:

Write-Output $data2 | Set-Clipboard -Append

And check the clipboard content with:

Get-Clipboard

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.