code 80070005

About this tag
The error code 80070005 is a common Windows permission error that occurs when a script or application attempts to access or modify a registry key without the necessary rights. On WindowsForum.com, users discuss this error in the context of user logon scripts, where non-administrator users receive the error when trying to write to the registry, even to HKEY_CURRENT_USER. The error originates from the WshShell.RegWrite method. Troubleshooting typically involves adjusting registry permissions or running scripts with appropriate privileges. This tag covers permission-related issues in Windows environments, particularly for user account control and script execution.
  1. T

    Windows 7 How to Resolve Registry Permission Issues for User Logon Scripts

    Hi There, I've written a logon script which adds registry entires for users. The script will work for administrators. However this does not work Users. I get the following Error Error: Invalid root in registry key Code: 80070005 Source: WshShell.RegWrite The 80070005 is a...
Back
Top