Sunday, August 21, 2011

ConfigMgr 2012 Console Extensions

Hopefully this will be one of many SCCM 2012 "Console Extensions". One thing you have already noticed is that 2012 is now Ribbon Based so we can't call them "Right Click" tools. You may already be familiar with Greg Ramsey's Guid Locator method for 2007. http://myitforum.com/cs2/blogs/gramsey/archive/2008/05/05/sccm-2007-console-extensions-guid-locator.aspx


Here is the version I created for 2012. Basically I looped through the XML Console files and create a tools folder and file based on each GUID in the Default section of the Ribbon. This might not be a totally exhaustive list but I think it should be a good start. The file/folders are pulled from the Beta 2 version currently downloaded from Microsoft.

The Zip file is the actions folder and should be extracted in the Actions Folder (
%ProgramFiles%\Microsoft Configuration Manager\AdminUI\XmlStorage\Extensions\Actions)

I hope to update this as the SDK is updateded. This way you can see the changes in the Console Extensions. Once everything is published I hope to see about creating a tool to converted the XML 2007 format to the XML 2012 format, which is slightly different.

Wednesday, August 17, 2011

Role keeps installing.

Problem:
Role on server keeps installing, every hour. Let's say is it is the MP role, yet in the MPsetup.log file it shows that the role installed sucessfully but the Compmon.log shows that the services are not installed. You also might find the registry entries for the server are not there. If found several errors in the event log as listed below about the performance counter error. After searching I finally located the "repair" command for the performance counter. After several hours I went back and checked and found the server had stopped repairing/reinstalling and the logs look good. All logs were moving as they should. Below is the data I found in the logs and the command to run.



Windows Event Log:

The performance counter explain text string value in the registry is not formatted correctly. The malformed string is #%$*>)@}#. The first DWORD in the Data section contains the index value to the malformed string while the second and third DWORDs in the Data section contain the last valid index values.


CompMon.log:
Can not get the current execution state for component SMS_MP_CONTROL_MANAGER since it is not installed or completed installing.
Can not get the current execution state for component SMS_EXECUTIVE since it is not installed or completed installing.
Can not get the current execution state for component SMS_COMPONENT_MONITOR since it is not installed or completed installing
Can not get the current execution state for component SMS_OUTBOX_MONITOR since it is not installed or completed installing.
Can not get the current execution state for component SMS_MP_FILE_DISPATCH_MANAGER since it is not installed or completed installing.
Waiting until the next polling cycle in 5 seconds from now.
Checking components ...

MPSetup.log:
Installation was successful.



Resolution:
lodctr /r: c:\windows\system32\perfstringbackup.ini