Home  >  Article  >  How to fix "Sorry, the operation using the clipboard is not allowed" error

How to fix "Sorry, the operation using the clipboard is not allowed" error

WBOY
WBOYforward
2023-04-29 22:04:072630browse

If this error doesn't go away, this article will show you how to correct it. We've included several fixes as well as some ways to prevent this error from happening.

What does the "Sorry, clipboard operations not allowed" error mean?

This error means that, for whatever reason, your copy/paste functionality is not currently working properly. For those who don't know, the copy/paste feature works by temporarily storing whatever you copy in your Mac's "clipboard." It remains in the Clipboard until you shut down your Mac or copy something else.

Since this process works like any other application or service on your Mac, it can fail in as many ways as possible. Malware can interfere with your clipboard. This is unlikely on a Mac, but not impossible.

It may also be that the process that manages the clipboard crashes or falls into an error loop. Another process on your Mac may also be malfunctioning, rendering the clipboard inaccessible. Or you might have run out of storage space on your Mac, preventing you from reading from or writing to the Clipboard. However, if this is the case, then you have a bigger problem on your hands!

4 Fix "Sorry, the operation using the clipboard is not allowed"

Since most of the reasons behind this error are related to Mac process getting stuck, most of these fixes will revolve around Restart and clear these processes. If none of these solutions work, you may need to contact Apple Support or a third-party repair service to resolve the issue.

Side note: Unfortunately, anything you saved in your clipboard is likely gone at this point. Don't expect to recover the data you stored in your clipboard during this process.

1. Restart the pasteboard server using Activity Monitor

The first thing we want to try is to restart your pasteboard server. The pasteboard server is the process that manages clipboard storage and pasted content. You can think of it as a gateway to anything you store in your clipboard.

One way to restart the pasteboard server is through Activity Monitor. To open Activity Monitor, press command space on your keyboard, then type "Activity Monitor" and press the Enter key.

How to fix Sorry, the operation using the clipboard is not allowed error

The Activity Monitor window should open. Activity Monitor is a default Mac application that gives you an overview of every application, process, and service currently running on your Mac.

In Activity Monitor’s search bar, type “pboard”. You should see the pboard process for each user logged in on your Mac.

How to fix Sorry, the operation using the clipboard is not allowed error

Double-click the board process you want to restart, then click Exit.

How to fix Sorry, the operation using the clipboard is not allowed error

You will see a pop-up box asking if you are sure you want to exit this process. Activity Monitor will ask this question whenever you try to quit something - it's not specific to pboard. Click Quit or Force quit.

Since pboard isn't something you can really prevent from running on your Mac, it will quit and then immediately restart. You can now try using copy/paste again and see if this solves your problem!

2. Restart the pasteboard server using Terminal

The second fix is ​​basically the same as the last one. The difference is that we will be using the Terminal instead of the Activity Monitor to restart the board.

  1. Press command Spacebar, enter "terminal", then press Enter
  2. Enter killall pboardTerminal and press Enter
    How to fix Sorry, the operation using the clipboard is not allowed error
  3. Alternatively, you can type sudo killall pboard. This will log in with administrator privileges Run the command and ask for your Mac password. This command will perform the same action but will not be blocked by any permissions. You can think of it as the difference between "exit" and "force exit".

3. Restart and update your Mac

Another easy way to fix the "Sorry, the operation using the clipboard is not allowed" error is to restart and update your Mac . This will clear your pasteboard and clipboard in the process, which may solve your problem.

After restarting your Mac, try using the copy/paste feature again.

4. Restart your WindowServer

Finally, you can try to fix this error by restarting WindowServer. WindowServer is a background process that manages screen windows. Essentially, anything you view on your Mac is displayed to you by WindowServer.

Therefore, any bug or hang in WindowServer can cause numerous problems, one of which is your clipboard failure.

Note: Quiting WindowServer will also quit all applications and open windows. It will also log you out of your Mac. When you log back in, all applications and windows you had open will be restarted. However, any unsaved data will be lost. Address this issue in the same manner as restarting your Mac.

  1. Press Command Space on your keyboard, then type "Activity Monitor" and press Enter
  2. In the Activity Monitor search bar, type "WindowServer"
    How to fix Sorry, the operation using the clipboard is not allowed error
  3. Double-click the WindowServer process and click Exit

If If you're still getting the "Sorry, operation using the clipboard is not allowed" error, it might be time to contact Apple Support.

How to prevent this error from occurring in the future

Make sure the material you copy is saved somewhere first

The first way to prevent clipboard crashes when deleting data is to first save the data Protect elsewhere. If you're copying from one app to another, don't close or delete anything before pasting and saving the data elsewhere.

Using Time Machine to back up your Mac is another key way to prevent data loss. However, no matter how you protect your data, the key is not to think of the clipboard as a reliable method of storage. no!

Use a third-party clipboard manager such as Keyboard Master

The second way to prevent data loss is to use a third-party clipboard manager for saving. These applications can act as additional clipboards or built-in clipboard functionality. For example, Keyboard Maestro allows you to create any number of clipboards and view the history of those clipboards.

The purpose of these clipboard managers is to enable you to copy and paste multiple items at once. You can copy a paragraph in one, an image in another, and your email in a third. You can then use different commands to paste all of these in any order you like.

While a third-party clipboard manager is not necessarily more prone to crashes, it can serve as a soft backup for your data. You can use commands command C and command 1 to copy the same content to your Mac’s clipboard and third-party clipboards. This way, if your Mac's clipboard crashes, you can still access the data in the other clipboard.

Fix "Sorry, the operation using the clipboard is not allowed" error and make your Mac more comfortable

These are the things you can do to fix the "Sorry, the operation using the clipboard is not allowed" error and make your Mac more comfortable Key ways to prevent it from consuming your data. This is one of the fixes that will allow you to use applications like Terminal and Activity Monitor with ease. These are important applications on Mac that can solve multiple problems.

The above is the detailed content of How to fix "Sorry, the operation using the clipboard is not allowed" error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete