This error occurs due to the fact that some plugins, such as V-Ray Renderer or Corona Renderer, can write their scripts to certain system folders of 3Ds Max and when trying to write such a write fails. Therefore, scripts may not be generated or may be partially recorded.
An example of such a script with an error, you can see in the screenshot below:
You need to copy this path and paste in the file manager, then just find and delete the buggy file.
Attention!Done! Try restarting 3Ds Max, there should be no error now!
Do not try to delete the whole ENU folder, as they say in many forums! This can lead to the loss of many settings and interrupt your workflow! Only one file that is causing the problem needs to be deleted!