IT Consultant Everyday Notes

Just some problems/solutions storage

Tag Archives: SCCM 2012

SCCM 2012: OSD Windows 8 : First logon fails with "The universal unique identifier (UUID) type is not supported"

When you deploy Windows 8/8.1 using SCCM 2012/2012 R2 the first logon fails with abovementioned error.

Microsoft has a KB about that: http://support.microsoft.com/kb/2976660 describing two workarounds. The easier way is to force a reboot at the end of TS using SMSTSPostAction variable in the TS set to “shutdown /r /t 0”

image

Advertisements

SCCM 2012: Cannot start reports from Admin console

Problem: I cannot start reports from admin console (neither starting it a normal user nor “As Administrator”. I can access reports via Web interface though.

 

Event viewer (Application log):

Event ID: 1

Level: Error

Source: critical

System.IO.FileNotFoundException\r\nCould not load file or assembly ‘Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.\r\n   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms..ctor()
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.LaunchReportFormViewControl.InitializeComponent()
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.LaunchReportFormViewControl..ctor()
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.LaunchReportDialog.InitializeReportControl()
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.LaunchReportDialog..ctor(Tag tag)
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.Actions.ShowReport(IReport report, IReportServer reportServer, IResultObject resultObject)
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.Actions.LaunchReport(Object formView, ScopeNode scopeNode, ActionDescription actionDescription, IResultObject resultObject, PropertyDataUpdated propertyDataUpdated, Status status)\r\n

 

Resolution:  I installed a Report Viewer 2010 and reports are available now.

SCCM: OSD notification via Twitter

Peter van der Woude published a nice article a while ago. It explains how to get an update about OSD process via Twitter Smile

 

http://www.petervanderwoude.nl/post/tweeting-the-deployment-status-of-a-system-via-orchestrator-and-configmgr-2012/

SCCM 2012: Keep your SCCM database clean

Peter wrote a nice script to remove devices deleted from AD from SCCM database. That is what I always recommend to my clients too: keep your AD clean and use it as a primary inventory source.

SCCM 2012: SQL 2012 SP1 is supported

As Microsoft SCCM team announced in its blog (http://blogs.technet.com/b/configmgrteam/archive/2013/02/11/support-announcements-for-february-2013.aspx) SQL 2012 SP1 is supported with some versions of SCCM now. (Note: still not supported with WSUS, so be careful with WSUS DB location Winking smile )

Here is the matrix:

SNAGHTML31a86cb

Important:

1. SQL 2012 SP1 is not supported for SCCM 2012 RTM

2. a CU2 for SQL 2012 SP1 must be installed

3. according Enhansoft blog Reporting Services are supported for SCCM 2012 SP1 even though are not listed in the matrix

SCCM 2012: How to move DP Content Library to an alternative drive

Content Distribution model is significantly changed in SCCM 2012. Well-known SCCM 2007 procedures for moving DP content from one disk to another does not work for 2012 as a result.

Fortunately Microsoft published ContentLibraryTransfer.exe tool (a part of SCCM ConfigMgr 2012 SP1 Toolkit available for download here). This tool can be used for the content transfer.

Note: In the toolkit description Microsoft listed SCCM 2012 SP1 as a supported product; so I assume it may not work or at least not supported for SCCM 2012 RTM.

Command syntax:

ContentLibraryTransfer –SourceDrive <Letter> –TargetDrive <Letter>

Limitations

1. The tool must run locally on the distribution point; it cannot be run from a remote machine.

2. The tool must run only when the distribution point is not actively being accessed by client computers. If the tool is run while client computers are accessing the content, the content library on the destination drive may have incomplete data or the data transfer might fail altogether leading to an unusable content library.

3. The tool must only run when no content is being distributed to the distribution point. If the tool is run while content is being written to the distribution point, the content library on the destination drive may have incomplete data or the data transfer might fail altogether leading to an unusable content library.

You can read detailed instructions in documentation for the Toolkit.

SCCM 2012: Access Denied while trying to download updates

I tried to download monthly updates to my Deployment Package. The attempt failed with Access Denied for all updates. It turned out that even my account is a local admin on the SCCM server I need to add it with Full rights to the source share (both NTFS and Share permissions) where my Deployment Package is located.

 

As soon as I added the account implicitly and granted rights to it SCCM successfully downloaded necessary updates to the Deployment package.

SCCM: Client cannot get Policies automatically; site mode is “Unknown”

In some situations (list for SCCM 2007 is available in this article) you may found an SCCM client cannot get Policy from the server even though it is assign to the site and can see the server (site mode is displayed as “unknown” though on Client side).

Both SCCM 2007 and SCCM 2012 (RTM) is affected. The issue is promised to be fixed for SCCM 2012 with SP1 (available now).

The root cause is a Client Provisioning mode. To detect if the client is in this mode you can check:

32bit Windows OS
HKLM\SOFTWARE\Microsoft\CCM\CcmExec!ProvisioningMode

64bit client Windows OS
HKLM\SOFTWARE\Wow6432Node\Microsoft\CCM\CcmExec!ProvisioningMode

Also, checking the Mobileclient.tcf file in the ccmsetup directory of a fully built machine shows SMSPROVISIONINGMODE=1 in the client install section – on a healthy client this should be
SMSPROVISIONINGMODE=0

A fixing script for SCCM 2012 is provided in that article

SCCM 2012: Update to SP1 (RTM)

I am updating my SCCM 2012 RTM to 2012 SP1 (it is RTM’d couple of days ago and available for MSDN subscribers)

UPDATE: Official Microsoft Guide: http://support.microsoft.com/kb/2801416

1. Install two WSUS pre-requisites (if you use SUP): http://support.microsoft.com/kb/2720211 and http://support.microsoft.com/kb/2734608

2. Reboot the server

Update: Uninstall WAIK (recommended by http://support.microsoft.com/kb/2801416)

3. Install Windows 8 ADK (Deployment Tools, Preinstallation media, User State Migration Tool) http://www.microsoft.com/en-us/download/details.aspx?id=30652

3. Start setup

image

Click Install and Yes to confirm. Click Next to start Upgrade config

Verify “Upgrade…” radio button is selected and click Next

image

Enter your Product key and click Next

image

Accept License Terms, Next. Check all three checkboxes and Next to accept additional License Agreements.

On the next page either put a location to download the produc pre-requisites or point setup to a folder with pre-downloaded pre-req’s (like in my case). Next

image

On next two pages select Language for server and Clients

image

image

Confirm Upgrade

image

Fix errors if you have them. In my case I missed ADK on my second DP Smile

I have two warnings left, can continue

image

Monitor installation using CMTrace (I had a bunch of SQL connection errors at the beginning)

image

image

Upgrade finished

image

Note: for some reasons my SCCM Console was not reinstalled (but disappeared from Start-Programs). I uninstalled the old console from Add/Remove Programs and installed the new version  from AdminConsole.msi in D:\Distrib\Downloads\SCCM2012SP1\SMSSETUP\BIN\I386 (or splash.hta from root of the installation media)

image

Console is ok now:

image

SCCM 2012: Pre-Download Prerequisites

You can pre-download prerequisites to save time in environment with slow (or none) Internet connection:

SetupDL.exe <target dir>.

The SetupDL.exe file is located in the SMSSETUP\BIN\X64 directory.