Registry not getting updated after adding a value
I have this peculiar question for you guys. I am trying to automate MS Visual Studio Premium 2012. I have automated it successfully but the thing is here I want to disable the updates. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\ExtensionManager "EnableAdminExtensions"=0x00000000 and
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\11.0\ExtensionManager "DisableUserExtensions"=0x00000001. to disable the updates and the extension per user.
I have tried to insert these values manully but the things is when i try to add the registry it wouldn't allow me to add that registry. Says that I dont have admin privileges, but I have admin priv's.
Can any one help me with this please.
Community Chosen Answer
Try to separate the registry, one for the Current User and the other for the local machine entry:
Double clicking on the Current user registry should merge the entry to HKEY_CURRENT_USER.
While running the Local Machine registry as Admin. Right click on the registry then Run as Admin should merge it to HKEY_LOCAL_MACHINE
Hope this help.