Tuesday, June 26, 2012

SCCM Admin Console -

If you have checked all the possible SCCM console issues from http://technet.microsoft.com/en-us/library/bb932213.aspx, but SCCM admin console still cannot launch and you got the following error message at SmsAdminUI.log:



[3][6/26/2012 3:08:35 PM] :Error returned from WMI Query Engine\r\nMicrosoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException\r\nYou do not have security rights to perform this operation.\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryProcessor.ProcessQueryWorker(AsyncOperationDatabase asyncData)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)\r\nConfigMgr Error Object:
instance of SMS_ExtendedStatus
{
Description = "User \"OCBCATMDEV\\peichen\" does not have permission to read the objects.";
ErrorCode = 1112017920;
File = "c:\\qfe\\nts_sms_fre\\sms\\siteserver\\sdk_provider\\smsprov\\sspobjectquery.cpp";
Line = 1849;
Operation = "ExecQuery";
ParameterInfo = "SELECT r.*, s.NetbiosName, s.ClientVersion, s.SMSInstalledSites FROM SMS_PendingRegistrationRecord r left JOIN SMS_R_System s ON r.ConflictSMSID=s.SMSUniqueIdentifier";
ProviderName = "WinMgmt";
StatusCode = 2147749889;
};

Solution

Please make sure sccm admin user name is added correctly inside SCCM console.  I found out my SCCM admin console was corrupted which causing me can not add user correctly. For example, I added domain\user at the SCCM console, but, it changed to localhost\user.
What I did was, i removed the SCCM admin console from MMC at following path:
ะก:\Users\<[USER]>\AppData\Roaming\Microsoft\MMC\ for Windows Vista, 7, 2008.
C:\Documents and Settings\<[USER]>\Application Data\Microsoft\MMC\ for Windows XP, 2003.

Then, add the user into SCCM console again.

Da lang..... My SCCM admin console can run remotely :)

Good luck to you.


Tuesday, June 19, 2012

Failed to send HTTP request. (Error at WinHttpSendRequest: 12030)

Scenario:
I got error messages in my ccmsetup.log for my SCCM Native Mode agent installation via command prompt:

Failed to send HTTP request. (Error at WinHttpSendRequest:12030)
DownloadFileByWinHTTP encountered an unrecoverable error


To solve this issue:
I was able to proceed my client installation by:

1. Go to Site Database > Site Management > SCCM Site > Site Settings > Site Systems > 
2. Click at the \\Server
3. Select the ConfigMgr management point
4. Check the "Allow devices to use this management point"



Then, I rerun my client installation command as "ccmsetup.exe /native:FALLBACK /mp:sccm.poc.com smssitecode=ICG ccmfirstcert=1"

My agent is appearing in my SCCM console now. :)