Permission Error?

#1
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 permission error.

How can allow Users to write the key. The keys will only go into HKEY_CURRENT_ USER

The system is NOT joined to a domain.

The reason I do this is I have quite a few users that use my system.

Thanks
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.