Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change a Windows 7 Registry key in HKEY_LOCAL_MACHINE->SOFTWARE->Classes->CLSID->B54F3741-5B07-11cf-A4B0-00AA004A55E8} -> InprocServer32. I ran regedit as administrator. But when I was trying to modify that key, it doesn't allow me to change and reports error as

Cannot edit: error writing the value's new contents

So why can't I change the registry key even in administrator mode? How to solve this problem in Windows 7? I also disabled my Anti-Virus but it didn't help.

share|improve this question
This is related to this question that was originally on SO and was migrated to SU – Scott Chamberlain May 30 '13 at 14:07
up vote 7 down vote accepted

Because by default Administrators only have read permissions for that key

enter image description here

You can open the permissions window by right clicking on InprocServer32 and choosing Permissions....

Now to head off a XY Problem, why are you wanting to changes the value in the first place?

share|improve this answer
Thanks. I originally posted a question related to Postgresql installation problem on SO and someone suggested me to post here. So this is related to that question. – tonga May 30 '13 at 12:48

That key usually belongs to the VBS script handler DLL. Symantec likes to overwrite it with their script scanning engine, and since you mentioned disabling your Anti Virus, I'm guessing you are using a Symantec AV product (but other AV packages may also do similar).

Even though you disabled the AV protection the package may still be actively preventing you from tampering with the keys. Most likely to keep malware from modifying it.

Try modifying it while in booted in Safe Mode, or use MSConfig to disable all the Symantec services and utilities until you're done.

Depending on the issue, perhaps completely uninstall the Symantec package, and/or reinstall without the Script Scanning features (if possible).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.