How do I solve the 'Windows cannot access the specified device path or file. You may not have appropriate permissions.' message?

Some users have reported getting this error message when attempting to install the remote server. The error message is usually caused by anti-virus programs being too aggressive, and blocking the installation altogether.

Bryan J. reported that with Avast, “hardened mode” and “gaming/silenced mode” needs to be disabled.

A general solution is usually to temporarily disable your anti-virus software (on your own responsibility!) while installing the server. Remember to re-activate it afterwards!