Do you know what causes this error and how to solve it?

To solve this error, you better run Command Prompt as administrator.

In general, if running the Command Line as administrator, you will not come across the error again.

the error message

Of course, to run Command Prompt as administrator, there are several ways.

Now, here is the tutorial.

  1. pop in Command Prompt in the search box and choose the best-matched one.

choose send to desktop

Then right-click it to chooseOpen File Location.

Next, selectCommand Promptand right-click it to chooseSend to>Desktop.

Right-pick the shortcut on the desktop and chooseProperties.

choose Advanced

In the pop-up window, navigate to theShortcuttab.

Then clickAdvanced…to continue.

Then check the optionRun as administratorand clickOKto continue.

check the option run as administrator

[4 Ways] How to Open Elevated Command Prompt Windows 10