Registry not getting updated after adding a value
Hi Guys,
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.
Answers (2)
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.
Comments:
-
Thanks mate - Sidhugadu 12 years ago
if its on vista or win7 , run cmd as administrator. Right click run as administrator on cmd.exe. Then try to merge the registry.
Comments:
-
I actually tried doing that, it still does not add the values. and I have admin rights. and am using win7 - Sidhugadu 12 years ago