Hi there,
Trying to create a registry value using vbscript on Windows 7. I am logged in as a user which is a member of the local administrators group, but when i run a vbscript to add a value under the HKLM area on the registry I get:
Permission denied, Code 800a0046 Microsoft VBScript runtime error
If i write to a HKCU value its ok and works, but not when under a HKLM, can anyone help?
I thought being a member of local admistrators group be fine to add to the registry, but clearly not for HKLM values.
Anyone able to help me?
Thanks in advance,
sharpy
Trying to create a registry value using vbscript on Windows 7. I am logged in as a user which is a member of the local administrators group, but when i run a vbscript to add a value under the HKLM area on the registry I get:
Permission denied, Code 800a0046 Microsoft VBScript runtime error
If i write to a HKCU value its ok and works, but not when under a HKLM, can anyone help?
I thought being a member of local admistrators group be fine to add to the registry, but clearly not for HKLM values.
Anyone able to help me?
Thanks in advance,
sharpy