Archive for the ‘ CM2012 R2 ’ Category

ConfigMgr 2012: Error removing Component Server role

At some point you may encounter an error when removing Distribution Point role stated, The server xxx cannot be deleted because it contains the following site system roles:

1. Ensure all roles other than Component Server and Site System are removed.

2. Go to Services.msc, Stop and Restart SMS_SITE_COMPONENT_MANAGER service.

3. Go back to ConfigMgr Console and hit f5 to refresh it.

You will notice Component Server is gone. Go ahead and delete the Server from the Console.

Hope it helps.


ConfigMgr 2012 R2 Site Component Manager failed to install component SMS_PORTALWEB_CONTROL_MANAGER on server

Found an error from Component Status that SMS_PORTALWEB_CONTROL_MANAGER has failed.


Solution: This has always been the issue with IIS ASP.NET. Ensure the latest ASP.NET version is successfully registered.

Launch Command Prompt

Go to %Windir%\Microsoft.NET\Framework\<latest_version>

Run this command –> aspnet_regiis.exe –i

SCCM 2012 Console not connecting to Database

Encountered some operator machines that they are not able to connect to their SCCM Console. Below is the error screenshot.


Checked DCOM & even repaired WMI doesn’t help to resolve it. Found something interesting from SMSAdminUI.log (from %ProgramFiles%\Configuration Manager\Console\AdminUILog) and found errors contains The performance counter ‘# result objects in memory’ was not found.

Fix this by running a command, LODCTR /R

Once complete, you should get a message as below:

Reinstall SCCM Console and your console should be able to launch and connect to SCCM now.

ConfigMgr 2012 R2: Failed to update Boot Image

Kept on getting error “Failed to insert OSD binaries into the mounted WIM file”


The steps I did to fix this issue was to replace the wim file with the ADK WinPE file. Here’s the steps:

1. Rename the faulty boot.wim in folder <SCCM_Installation_Folder\osd\boot\x64 to boot.bak
2. Copy winpe.wim from <ADK_Installation_Drive>\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\x64\en-us to <SCCM_Installation_Folder>\osd\boot\x64
3. Rename winpe.wim to boot.wim
4. Paste the same winpe.wim to the same folder and rename it to boot.<packageID>.wim


You may redo this for x86 if it’s giving you the same issue.

ConfigMgr 2012 R2: Easy tool to change Security Scopes

Thanks Ryan for the tool!

Not much wizard steps needed to change security scopes for an environment.


You can download the tool here


ConfigMgr 2012 R2: Report not running

Found some “strange” issue with reporting. srsrp.log doesn’t show any error, everything looks just fine except launching a report. When we click Run on any report, it doesn’t seems to launch.

Decided to check those log files, found from this log located at C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\AdminUILog\SMSAdminUI.log


Found this error in the highlighted lines. Tricky part is it’s not highlighted in Red using cmtrace.



1. Install Microsoft Report Viewer 2010 Redistributable Package. It can be found from the Internet or C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ReportViewer.exe

2. Close and launch your SCCM Console again and it should be able to Run the reports now.

Unable to login to ConfigMgr Application Catalog

Detected this error “Portal Web Site Control Manager detected PORTALWEB is not responding to HTTP requests. The http status code and text is 500, Internal Server Error”


Solution= Re-register IIS using the command shown below:

1. Launch command prompt with elevated rights

2. Go to %windir%\Microsoft.NET\Framework64\v4.0.30319 (Framework if it’s on a 32-bit computer)

3. Type aspnet_regiis.exe /iru hit Enter


4. Immediately you can login to the portal and slowly you’ll notice the error will be gone.