The CUSTOMTOOLS License Activation requires permission to access the Windows WMI service. If the permissions are not granted properly to the WMI service, the CUSTOMTOOLS product activation fails with an error shown in the following picture.
When you get an error above, you should also get at least one of the following errors into the CUSTOMTOOLS log available in the Windows Event Viewer.
System.Management.ManagementException: Access denied
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at ATR.CT.LicensingEndpoint.IdentityManager.WMIQuery(String oQuery, String oField, Boolean bFirstResOnly, String oFieldValueToken)
at ATR.CT.LicensingEndpoint.IdentityManager.GetHDDSerial()
at ATR.CT.LicensingEndpoint.IdentityManager.GetMachineID(String& machineID)
at LicenseModule.CLicenseModule.ValidateIdentifier(CLicense oLicense)
ATR.CT.Utility.CTException: Access denied ---> System.Management.ManagementException: Access denied
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Management.ManagementObjectCollection.get_Count()
at Microsoft.VisualBasic.Devices.ComputerInfo.get_OSManagementBaseObject()
at Microsoft.VisualBasic.Devices.ComputerInfo.get_OSFullName()
at ATR.CT.DBEngine.SQLDatabase.Login2(String sUser, String sPwd, Int32 iDBMajor, Int32 iDBMinor, Int32 iDBBatch, String bsSessionKey, Int32& plSessionID)
To verify the cause, open the Windows Command Prompt and run the following command in there. winmgmt /verifyrepository.
In case you have the issue this article refers to, the command above in the command prompt should give a result shown in the following picture.
You must add "SERVICE" to the administrators user group. This will give permissions back to the system to access the WMI classes as well as allowing MSINFO32 to access them.
To apply the solution for this issue, you have two optional ways to choose from. Use one of the following ways to fix an issue described in this article.
The alternative way is to make the user group changes using the Windows Command Prompt with the following instructions:
For more information, please read the Cannot view System Information (apparently a WMI error) thread available in the Windows VistaForums internet community.