Tuesday, May 24, 2016

Error 1911 - Could Not Register Type Library

Recently I ran into an issue while attempting to install MS SQL 2014 Management Studio on a Windows 2012 R2 Server. While it was able to install some of the components, the most important ones failed to install. I kept running into an error called 1911 where it was not able to register a certain file. After doing some research online, I noticed that a lot of people running multiple versions of Windows had the following update installed on their system KB3072630.

The simple fix for me was to remove the update and install the application. This allowed me to successfully install the SQL Management Studio without a problem. If you would like to keep your system secure, I would advise that you install the update to patch the vulnerability once again. Sophos published an article with a little more information, if interested, you can follow this link.

Tuesday, May 3, 2016

Activating Windows 7 - Error: 0x80070005 Access Denied

Today I ran into an issue while trying to activate Windows 7 on a workstation.  While trying to import a key via the slmgr.vbs /ipk command, I received the following error. 0x80070005 Access denied: the requested action required elevated privileges.

The strange thing about this error is that I had logged on with an administrator account and I even tried it from an elevated command prompt. It turns out that the workstation was missing some crucial registry entries. What worked for me was importing the following (copy the following text and change the extension to .reg).

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20]

I can't guarantee that this will work for you, but it worked for me. If it doesn't, there are other possible solutions where I originally found this solution.  Full credit goes to Shantanu over at troubleshootingwindows.com.