Showing posts with label SCCM. Show all posts
Showing posts with label SCCM. Show all posts

Monday, May 12, 2014

SMS_MP_CONTROL_MANAGER failed to start with 0x80041002

My customer is running on SCCM 2012 RTM build 7711. The management point is downed and showing the error message above in the mpcontrol.log.

Resolution: Uninstall the Management Point role and verify that the Management Point is uninstalled in the MPSetup.log. After the uninstalled completed, reinstall the Management Point. Verify that the Management Point is setup completely in the MPSetup.log.

Wednesday, April 16, 2014

Failed to initiate install of WSUS updates, error = 0x800b0109

SCUP 2011 is integrated with SCCM 2012 R2. SCCM deploy the Adobe Reader X! updates but failed with error 0x800b0109. First thing I checked is whether the WSUS certificate is installed in the Trusted Root Certification Authorities and Trusted Publishers of Local Computer. Yes, the WSUS certificate is installed!!

Browsing the internet and saw there is a requirement to set GPO to enable the setting below:
"Administration Templates -> Windows Components -> Windows Update -> 'Allow Signed updates from an intranet Microsoft update service location'

After I enabled the settings, the Adobe Reader updates installed successfully.

Thursday, April 10, 2014

Configuration Manager Client Upgrade Package Distribution Failed

Whenever you setup a new distribution point, the system will automatically distribute 2 packages to the distribution point.
1. Configuration Manager Client Package
2. Configuration Manager Client Upgrade Package

But somehow the Configuration Manager Client Upgrade Package failed to distribute to the distribution point. The upgrade package is hidden, hence unable to redistribute the upgrade package like normal package. Therefore, we have to trick the system to redistribute the packages.

Trick:
1. Open an empty notepad and save it as client.acu
image
2. Copy the client.acu to the inboxes\hman.box folder at the top-level site
3. Monitor the hman.log to check whether the Client Upgrade package gets updated

Friday, March 14, 2014

OSD Error Code: 0x80220005

I’ve done Computer Name prompt for the OSD. But somehow I entered a computer name that’s too long, hence prompted me the error code 0x80220005 during the OSD running. After I rerun the OSD and entered a shorter name, there isn’t any more error code.

Monday, March 10, 2014

Fail to Capture Windows 7 SP1 x64 via Capture Media; Failed to create the Shared Environment object. Code(0x800705AF)

Recently I bumped into this error when I try to capture the Windows 7 SP1 x64 reference image. The reference machine was installed on a HyperV VM. Actually there are two reference image I try to capture; Windows 7 SP1 x86 & Windows 7 SP1 x64. Both also installed on the HyperV VM. Both assigned with the same resources, 1 VCpu, 512 Mb Memory RAM. But turned out the x86 version successfully captured and the x64 version failed with the error message “Failed to create the Shared Environment object. Code(0x800705AF)”. the error code basically means “The paging file is too small for this operation to complete”

My colleague asked me to assign more Memory RAM juice to the Windows 7 Sp1 x64 VM and retry. This time I assign 1024 Mb Memory RAM to the VM and give it a try. The error no more appear and the image is captured successfully.

Tuesday, March 4, 2014

SCCM 2012 R2 Primary Site to join SCCM 2012 SP1 CAS

I was doing some experiment yesterday to try out the scenario above. I’ve setup a SCCM 2012 SP1 CAS, then install a SCCM 2012 R2 primary site and try to join to the CAS 2012 SP1 hierarchy. Guess what…… It failed…… The setup wouldn't allow the setup to continue because it detected the new installation version is newer than the version installed on the CAS.
Untitled

Wednesday, January 29, 2014

SCCM 2012 SP1 CU4 is now available

Microsoft has just released CU4 for SCCM 2012 SP1. The update can be obtained from http://support.microsoft.com/kb/2922875.

According to the support article, below are the issues fixed.

Issues that are fixed
Software distribution
  • Packages are listed as Unknown in the Content Status node of the Administrator Console. This occurs after a Configuration Manager 2007 distribution point is upgraded and assigned to a Configuration Manager 2012 secondary site.
  • Internet-based clients cannot download content from an Internet-facing distribution point after first they first encounter a failure to reach Windows Update.
    The DataTransferService.log file on the client will record errors that resemble the following:

    Failed to set proxy to bits job for url 'https:// site.configmgr.com:443/SMS_DP_SMSPKG$/{pkg_id}'. Error 0x87d00215
    All proxy types and no proxy have been tried for times but failed.

  • 2913703

    (http://support.microsoft.com/kb/2913703/ )

    Applications that use dynamic variable lists are not installed in System Center 2012 Configuration Manager

  • Adding or deleting a deployment to a software update group results in policy evaluation for all deployments within the group instead of the deployment that changed.
Operating system deployment
  • The wrong software update for an operating system image may be selected the list of items that are returned in the Schedule Updates Wizard is sorted.
  • 2894539

    (http://support.microsoft.com/kb/2894539/ )

    A post-CU3 update is available for System Center 2012 Configuration Manager SP1
    Task sequences that contain Windows 8.1 as a condition on the Options tab generate an exception when they are changed or accessed. Details of the exception are displayed in text that resembles the following:

    System.Reflection.TargetInvocationException
    Exception has been thrown by the target of an invocation.

  • Child sites will not process the content for a task sequence that was changed after migration from another site. The Distmgr.log file on the child site will contain entries that resemble the following, and the package state will not change:

    Package {Package_ID} is in Pending state and will not be processed...

    Note This fix applies only to task sequences that are not yet migrated. Task sequences that were migrated before you applied CU4 should be deleted and then migrated again.

  • After the update is installed on site servers, any operating system boot images should be updated. To update boot images after the hotfix is applied, follow these steps:
    1. In the Configuration Manager console, click Software Library.
    2. In the Software Library workspace, expand Operating Systems, and then click Boot Images.
    3. Select the boot image that you want to update.
    4. Right-click and then select the Update Distribution Points action.
      Note This action updates all distribution points and may have an adverse effect on an environment that contains many distribution points.
    5. Repeat steps 3 and 4 for all boot images that were previously distributed.

    For more information about how to update boot images, see the "How to Manage Boot Images in Configuration Manager

    (http://technet.microsoft.com/en-us/library/hh397288.aspx)

    " topic on the Microsoft TechNet website.

Administrator console
  • 2894539

    (http://support.microsoft.com/kb/2894539/ )

    A post-CU3 update is available for System Center 2012 Configuration Manager SP1
    The "All Windows RT" and "All Windows RT 8.1 Preview" entries should not appear in the supported platform list for new configuration items.

Application Virtualization
This cumulative update adds support for Microsoft Application Virtualization (App-V) 5.0 Service Pack 2 (SP2). The following issues are seen only in App-V 5.0 SP2 environments earlier than CU4.
  • With App-V 5.0 SP2, when a new version of an App-V package supersedes an earlier version, and that earlier version is being used, the package will be listed as not published. Errors that resemble the following are seen in the AppEnforce.log and AppDiscovery.log files
    AppEnforce.log:

    Publish-AppvClientPackage : A publish operation has been scheduled, pending
    the shutdown of all applications in the package or the connection group.
    …
    Publishing Package is successful but one one of the Virtual Package is currently in use. Close this Virtual Package to get the changes into effect
    Performing detection of app deployment type TestApp - Microsoft Application Virtualization 5(ScopeId_0C7279F0-1490-4A0E-A7A3-32A000CEF76D/DeploymentType_d1adf427-ac14-4ee1-9e51-415af7675383, revision 2) for system.

    AppDiscovery.log:

    Required component [{AppVPackageRoot}]\TestApp.exe is not published

  • With App-V 5.0 SP2, App-V packages that are being used cannot be uninstalled. Errors that resemble to the following will appear in the AppEnforce.log file:

    CVEWorker::UninstallConnectionGroup() failed

Endpoint Protection
  • 2907566

    (http://support.microsoft.com/kb/2907556/ )

    November 2013 anti-malware platform update for Endpoint Protection clients

Site Server
  • Adding or removing a deployment from a Software Update group results in increased load on the Object Replication Manager component of the SMS Executive service. This can lead to delays in distributing software updates in a hierarchy.

Tuesday, January 21, 2014

Remote Computer Failed to View Report – Prompt for Credential

I received a call from a customer this morning, saying that he cannot view report from remote computer. He cannot view the report from his computer. Everytime he runs the report, it prompts for credentials. He tried few credentials but still failed to view the report. Below is the fix that I did.

Go to the Reporting Point server. For my case, I go to the SCCM Primary Site because it is a standalone server.
Open IIS, expand Sites\Default Web Site and click SMSReporting_XXX.
Double click Authentication under IIS
1

Highlight Window Authentication, and click Providers on the Actions pane
2

On the Providers window, make sure that NTLM is on the top of the list. For my case, Negotiate is on top of the list. I changed NTLM to top of the list.
3

After the configurations above, my customer is able to view the reports from remote computer again.

Tuesday, December 17, 2013

Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error

My SCCM 2012 SP1 server is working fine all the while until last few days. The SCCM server is installed in Windows Server 2012 with SQL Server 2012. The management point is down, the application catalog website/webservice point is down, the software update point is down. The mpcontrol.log is showing the error below

Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error
Http test request failed, status code is 500, 'Internal Server Error'mpcontrol error

Troubleshooting steps that I’ve taken:

  1. Browse to http://sccmservername/sms_mp/.sms_aut?mplist; HTTP500 error, not showing xml
  2. Browse to http://cl-hyv-cm01/sms_mp/.sms_aut?MPCert; HTTP500 error, not showing xml
  3. Restart SCCM server
  4. Double, triple confirm the required Windows server roles and features required are installed
  5. Remove MP, reinstall MP
  6. Remove MP, remove IIS, reinstall IIS, reinstall MP
  7. aspnet_regiis –I is not working in Windows Server 2012, hence I used dism /online /enable-feature /featurename:IIS-ASPNET45 to reinstall the ASP.
  8. Remove the SCCM client installed on the SCCM server
  9. Verify there is no GPO settings configuring the startup type of SMS Agent Host (CCMEXEC.exe) services

Useful Reference:

  1. http://blogs.technet.com/b/configurationmgr/archive/2013/09/04/support-tip-configmgr-2012-management-point-fails-with-a-500-error-after-working-fine-for-a-short-period-of-time.aspx
  2. http://anoopcnair.com/2011/04/20/configmgr-sccm-2007-mpcontrol-log-shows-httpsendrequestsync-fails-with-status-code-500-internal-server-error/
  3. http://blogs.technet.com/b/smsandmom/archive/2008/09/04/configmgr-2007-mpcontrol-log-shows-httpsendrequestsync-fails-with-status-code-500-internal-server-error.aspx

Resolution:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0 saves the day.
cmd

After I applied the command, the MP’s HTTPSendRequestSync succeed.
mpcontrol 

According to some sources. This problem occurs because the ASP.NET registry keys are missing. The ASP.NET registry keys are missing when you install ASP.NET after the Enable32bitAppOnWin64 Microsoft Internet Information Services (IIS) metabase setting is set to a value of 1. Because IIS is configured to run in 32-bit mode, the ASP.NET installation does not create the ASP.NET registry keys in the 64-bit registry. The ASP.NET installation creates the ASP.NET registry keys only in the 32-bit registry.

Therefore, to enable the 64-bit mode, type the following command, and then press ENTER:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

Hope this could saves your day too!!

Monday, December 9, 2013

SCCM AI General License Reconciliation Report Part 2

Continue from the previous post, I’ll show how to modify the out of the box report (License 15A - General license reconciliation report) to show more hidden information.

Navigate to \Monitoring\Overview\Reporting\Reports\Asset Intelligence, right click on the report License 15A - General license reconciliation report and select Edit.
image

From the Report Builder, expand Datasets. Right click on the Dataset0 and select Dataset Properties
image

From the Dataset Properties Query, we can see that the query is from the AI_NON_MS_LICENSE SQL view. Besides, the original query only query Lic.Name, Lic.Version, Lic.EffectiveQuantity from the AI_NON_MS_LICENSE SQL view.
image

Now launch the Microsoft SQL Management Studio. Navigate to the SCCM database CM_XXX\Views and find dbo.v_AI_NON_MS_LICENSE. Right Click on the dbo.v_AI_NON_MS_LICENSE and click on Select Top 1000 Views.
image

As you can see, there are many others information contain in this view but the original query didn’t query the additional information.
image

I wanted to show Date of Purchase in the report.
Back to the Report Builder, Dataset0 Properties, I added “Lic.DateOfPurchase as [Date of Purchase]” after [Difference],
image

Still on the same Dataset0 Properties, I also added “Lic.DateOfPurchase” after group by Lic.Name, Lic.Version, Lic.EffectiveQuantity
image 

Click on the Fields tab, click Add and select Query Field
image

Enter DateOfPurchase on the left hand side, Date of Purchase on the right hand side.
image

On the Report Builder, right click on top of the table and select Insert Column > Right
 image 

Right click the Expression of the [Difference] and select Copy
image

Right click on the blank table and select Paste
image

Right click on the newly pasted Expression, and select Expression
image

Replace “Difference” with “Date of Purchase”, then click OK
image

Click on the tiny little blue headed icon and select “DateofPurchase”
image

Beautify the header of the table by dragging the boxes.
image

Save it to the folder where you store your custom reports. I don’t recommend you to replace the out of the box report.
image

Run the report you saved. I can view the Date of Purchase information in my report now.
image

The End…….

Friday, December 6, 2013

SCCM AI General License Reconciliation Report

Below is the SCCM report under Asset Intelligence, License 15A - General license reconciliation report. By default, the report will show the information as below. Product Name, Version, Licensed Quantity, Inventory Count, and Difference. Besides that, according to TechNet, the report can also show other information such as, Publisher, Language, PONumber, ResellerName, DateOfPurchase, SupportPurchased, SupportExpirationDate, and Comments.

image

I added the DateOfPurchase and SupportPurchased into my .csv file as below but nothing the info doesn’t appear in the report.
image

You must be curious why after I added the extra information into the .csv file but nothing appear in the report. This is because the default report don’t query the extra information. How sad!!!

Stay tuned… My next post I’ll show the guide on modify the report to show the extra information.

Friday, November 15, 2013

Prompt for Enter Computer Name during OSD

If we deploy the OSD task sequence to All Unknown Computers collection, the system will auto generate a random computer name begin with “MININT” for the computer. Below is the guide on how to generate a prompt for the All Unknown Computers collection during the OSD. This guide is not only for All Unknown Computers collection, you can apply the guide below to other collection that need the prompt for entering computer name during OSD.

Very Important!!! The OSD task sequence must deploy as AVAILABLE. The prompt will not work if deploy as REQUIRED.

image
Right Click in the All Unknown Computers collection, and click on Properties

 image
On the Properties window, click on Collection Variables tab. Click the yellow star to add new variable.

image 
Enter OSDComputerName for the variable name. Uncheck Do not display the value in the Configuration Manager console. Click OK.

image
Click OK to exit the Properties window.

Again, make sure you’ve deploy the OSD task sequence as AVAILABLE to the desired collection!!!

Now go to the client computer and boot into WinPE via PXE Boot or Boot Media.

20131115_153657
Click Next on the Task Sequence Wizard

20131115_153712 
Select the desired task sequence and then click Next

20131115_153734
You’ll notice that the wizard prompt to edit the OSDComputerName variable. Double click the OSDComputerName variable to edit.

20131115_155616
Enter your Computer Name in the value box and then click OK

20131115_155632
You’ll notice that the value you entered is appear in the Value column. Click Next to proceed the OSD.

That’s all. Enjoy!!!

Tuesday, November 5, 2013

SCCM 2012 R2: VPN Profiles Step-by-step Guide

SCCM 2012 R2 is now able to deploy VPN settings to users in your organization. VPN Profiles only support the following

  • Devices that run Windows 8.1 32-bit
  • Devices that run Windows 8.1 64-bit
  • Devices that run Windows RT or Windows RT 8.1
  • IPhone devices that run iOS 5, iOS 6 and iOS 7
  • IPad devices that run iOS 5, iOS 6 and iOS 7

Below is the step-by-step guide that I created from my lab.

Configure VPN Profiles in SCCM 2012 R2

image
Navigate to \Assets and Compliance\Overview\Compliance Settings\Company Resource Access and Right click on VPN Profiles. Select Create VPN Profile

image
Specify the Name of the CPN Profile and then click Next

image 
Select the dropdown menu from the Connection type of your vpn connection. I’ve selected Microsoft Automatic for mine.
Click Add to add your vpn server and finally the DNS suffix. Click Next when you’re done.

image
Select the Authentication method from the dropdown menu. I’ve selected MSCHAP v2 for mine.

image
I don’t have any proxy on my lab environment, hence I leave it default and click Next

image
I didn’t configure the Automatic VPN, default settings

image 
On the Supported Platform, I’ve only selected Windows 8.1 devices for mine

image 
Confirm the settings and then click Next

image 
On the Completion page, click Close

Deploy VPN Profiles in SCCM 2012 R2

Now you’ve already configure the VPN Profiles in SCCM 2012 R2. It’s time to deploy to the users that need VPN connection. Yes, you can only deploy the VPN Profiles to User Collections.

image
Navigate to \Assets and Compliance\Overview\Compliance Settings\Company Resource Access\VPN Profiles. Right click on the VPN Profile you’ve created, and select Deploy.

image
Click on Browse to target the User Collections and then click OK

SCCM 2012 R2 Client

image
I forced the client to grab the policy by running User Policy Retrieval & Evaluation Cycle.

image 
The VPN Profile deployed should appear under Configurations tab after the client receive the policy. Evaluate the policy manually.

image 
The VPN should appear under the Network Connections after the evaluation completed

image 
Click on the Network icon in notification area and you should able to see the VPN connection deployed. Click the VPN Profile and select Connect.

image
Enter the credential and click OK

image
The VPN Profile that I deployed to the lab environment is connected.

Enjoy!!!