Eswar Koneti's Blog

All about Configmgr and its connected objects…….

  • About Author
      View eswar koneti's LinkedIn profile
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 95 other subscribers

  • Awards


  • FaceBook Updates

  • Catagories

  • Meta

  • Copyright!

    All the blog posts in this website are owned by Eswar Koneti and may not be reused in any mode without prior approval of Eswar Koneti. You may quote one paragraph from the blog posts if you link to the original blog post.
    Happy Reading!

Archive for the 'Trobleshooting Tips' Category

Trobleshooting Tips

MMS 2013 Content Catalog for SCCM 2012 SP1

Posted by Eswar Koneti on 4th April 2013

MMS 2013 is getting nearer , (Apr 4-Apr 8) with loads of technical sessions on newly released products with hands on lab. More info here

From Apr 4-8,total of 300+ sessions happening on various technologies .

Many folks who works on Configuration manager like me, look for what content catalog.

Here is the pdf file listing out all SCCM 2012 related stuff which might help you to follow up .

download MMS 2013 SCCM 2012 SP1 Content Catalog

These configuration manager Sessions will generally be available for streaming around 24 hours after the session is complete.

http://channel9.msdn.com/Events/MMS/2013?sort=sequential&direction=desc&term=Configuration%20Manager

How to participate in MMS 2013 even if you aren’t going http://myitforum.com/myitforumwp/2013/04/03/how-to-participate-in-mms-2013-even-if-you-arent-going/

Tags: , , , ,
Posted in CM2012, ConfigMgr (SCCM), Configmgr2012, MMS 2013, SCCM 2012, Setup & Deployment, System Center 2012 Configuration Manager, System Center Products, Trobleshooting Tips, Virtual Labs | No Comments »

SCCM Configmgr How to remove SCCM Client manually without ccmsetup.exe

Posted by Eswar Koneti on 3rd January 2013

The easiest possible way to remove the sccm client is to run the command line ccmsetup.exe /uninstall from windows\ccmsetup folder.

But what if ccmsetup.exe do not exists on some of the client machines and you would require to remove the client on them ? and if ccmsetup.exe does not work for you to remove the sccm client successfully ?

Mike Griswold did a post on this how to do manual executions to remove sccm client without using ccmsetup.exe on the way at his customer place.

So You can perform below steps to manually clean-up all the traces of the client.

1. SMS Agent Host Service

 

2. CCMSetup service (if present)

 

3. \windows\ccm directory

 

4. \windows\ccmsetup directory

 

5. \windows\ccmcache directory

 

6. \windows\smscfg.ini

 

7. \windows\sms*.mif (if present)

 

8. HKLM\software\Microsoft\ccm registry keys

 

9. HKLM\software\Microsoft\CCMSETUP registry keys

 

10. HKLM\software\Microsoft\SMS registry keys

Full Post http://blogs.technet.com/b/michaelgriswold/archive/2013/01/02/manual-removal-of-the-sccm-client.aspx

Tags: , , , , , , ,
Posted in Checklist, Client Push Installation, SCCM 2007, Setup & Deployment, Trobleshooting Tips | No Comments »

SCCM Configmgr Clean Up Backlogs in Despooler.Box\Receive Folder

Posted by Eswar Koneti on 18th December 2012

SCCM Inbox Folders plays Vital Role in troubleshooting problems with different components. You should keep an Eye on the inbox folders for a backlog of files that wait to be processed.

There are various methods to monitor the inbox folders (tools/Scripts etc). This Post is going to be focus on Despooler.Box\Receive and clean up files residing older than 30 days.

Despooler.box\Receive stores the data that is received from a child site or a parent site and process it accordingly.Typically, files are processed and moved as soon as Configuration Manager 2007 receives the instruction file (.ins file).

In Short about what despooler does is  Despooler component receives the data and hands it off to Replication Manager component then Replication Manager hands the data to the appropriate component to process further.

But Due to some Reasons,Packages which are sending from hierarchy to child sites stuck and breaks the thread and it again starts sending from beginning.Because of this,files remains in Receive folder without being processed for longer time.

If you are in small environment (less than 10 sites or so) you can check it manually by looking at Despooler.Box\Receive what files are Old based on modified date and remove them.

Here is simple VB script that looks for the folder name and get file name,Size and modifieddate. If the Despooler is receiving any files from its parent, you get current date.

Set fso = CreateObject(“Scripting.FileSystemObject”)
Set objinputfile=fso.OpenTextFile(“C:\Scripts\Servers.txt”,1,True)
Set objoutputfile=fso.OpenTextFile(“C:\Scripts\Results.csv”,2,True)
Do While Not objinputfile.AtEndOfStream
strcomputer=objinputfile.ReadLine
Set recive = fso.GetFolder(“\\” & strComputer & “\Driveletter$\SCCM\inboxes\despoolr.box\receive“)
Set colFiles = recive.Files
For Each objFile in colFiles

objoutputfile.WriteLine strComputer & vbTab & objFile.Name & vbTab & objFile.size & vbTab & objFile.DateLastModified

Next
loop
msgbox(“done”)

Note : If you have sccm installed on different Drives with different folder names without unique ,this script may not be helpful to you.

Provide all the site names to servers.txt and results will be piped to results.csv file.

Once you get the results,you can sort it with File Size and Modifieddate to take further action.

I would prefer to delete the files from receive folder older than month.

Here you go with the script to delete files from despoolr.box\receive older than 30 days:

 

Set fso = CreateObject(“Scripting.FileSystemObject”)
Set objinputfile=fso.OpenTextFile(“C:\Scripts\desplooer-servers.txt”,1,True)
Set objoutputfile=fso.OpenTextFile(“C:\Scripts\despooler-results.csv”,2,True)
Do While Not objinputfile.AtEndOfStream
strcomputer=objinputfile.ReadLine

Set objWMIService = GetObject(“winmgmts:\\” & strComputer)
If Err.Number <> 0 Then
objoutputfile.WriteLine (strcomputer & ” is not Up or problem in connecting to WMI”)
Err.Clear
Else
strDays= 30
Set recive = fso.GetFolder(“\\” & strComputer & “\f$\SMS\inboxes\despoolr.box\receive”)
Set colFiles = recive.Files
For Each objFile in colFiles
If DateDiff(“d”, objFile.DateLastModified, Date) > strDays Then
fso.DeleteFile(objFile)
objoutputfile.WriteLine strComputer & vbTab & “Deleted”
end if

Next
end if
loop
msgbox(“done”)

Until then !

Tags: , , , , , , ,
Posted in CM2012, ConfigMgr (SCCM), Configmgr2012, Distribution Point, Replication, SCCM 2007, Scripting, Secondary Site, Setup & Deployment, System Center 2012 Configuration Manager, Trobleshooting Tips | No Comments »

#SCCM /#Configmgr Failed to insert SMS Package because SDM Type Content is not present in the CI_Contents table. Will try later

Posted by Eswar Koneti on 5th December 2012

Recently I had major issue while replicating the patch packages to sites and they started experiencing the problem to process the patch information (CID and SDMpackages).

I am really not sure if this is because of recent MS patch released in October 2012,More info can be found here  ,due to this,all the revised updates (which you can see from WSUS console )went back downloaded=No from Downloaded=Yes .

Later month Ago,MS released fix for this to get the issue sorted out also some other functions more here http://support.microsoft.com/kb/2783466

Below is the Error message which I get on problem site (distmgr.log) and unable to insert the Patch info into Database.The reason I tell you below why it is not.

Failed to Insert SMS package CEN00XXX because SDM type Content xxxxxxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx is not prensent in CI-Contents Table,will try later

 

from objreplmgr.log :

Processing replication file F:\SMS\inboxes\objmgr.box\INCOMING\Retry\Sitecode_66082.CID in retry.

SDM Package Name Site_B97EB0D1-435F-4CEC-88B7-5A1E7645B585/SUM_07f87a3d-23b3-4ec1-b35c-6461a82ded35 Version 2 has not arrived yet. Will retry

Failed to insert Object 07f87a3d-23b3-4ec1-b35c-6461a82ded35 from replication file F:\SMS\inboxes\objmgr.box\INCOMING\Retry\Sitecode_66082.CID.

Problem site is looking for object 07f87a3d-23b3-4ec1-b35c-6461a82ded35 with version 2 which is not arrived.

Before you follow this guide,I would suggest you to read steve Rachui Blog explaining about Software updates and process Part1 and Part 2.Thanks to Steve for nice explanation on software updates and CI.

*************This post is more of Database Editing to fix the issue and no warranties provided. If you don’t know what you are doing /without enough information,you are at Risk**************

To check how many CIDs left over to process, check it from inbox folders . Path \Inboxes\objmgr.box\incoming\retry

If the CID files are processed max number of times,they are moved to retry\bad folder.

To get all SDMpackage names,try to filter the log with word “SDM Package Name” ,you may get bulk number of IDs out of which some of them are Repeated.

Copy the SDM package names to Excel and remove duplicates.

Copy the results to excel and remove the duplicates. You now have all SDM packagenames.

I have something below from the log/Excel after removing duplicates.

Site_B97EB0D1-435F-4CEC-88B7-5A1E7645B585/SUM_0d9f9145-9e83-4c44-a8d5-9decbe25a586

Site_B97EB0D1-435F-4CEC-88B7-5A1E7645B585/SUM_cc5d5d63-32bb-4593-bd6f-3b61ba97707f

Site_B97EB0D1-435F-4CEC-88B7-5A1E7645B585/SUM_f4ba81de-c60b-4e2f-9589-9cc888bc09da

If you want to know more about what it says,Please Refer Steve blog.

Let’s have a look at Database on problem site and its parent site to see what information they contain and are they really out of sync ?

I take an example with central,Parent and child

Take the first ID :0d9f9145-9e83-4c44-a8d5-9decbe25a586

If I run the below query on central DB ,I get below results :

select * from CI_SDMPackages WHERE (SDMPackageName like ‘%0d9f9145-9e83-4c44-a8d5-9decbe25a586%’)

clip image004 thumb #SCCM /#Configmgr Failed to insert SMS Package because SDM Type Content is not present in the CI Contents table. Will try later

Problem Parent :clip image006 thumb #SCCM /#Configmgr Failed to insert SMS Package because SDM Type Content is not present in the CI Contents table. Will try later

Problem site :clip image008 thumb #SCCM /#Configmgr Failed to insert SMS Package because SDM Type Content is not present in the CI Contents table. Will try later

Look at problem site, it still has version 1 and IsDeleted value is not set to 1 and it does not have latest Version =2.

How do we fix it ?

We will change the LastModifiedData and set Isdeleted=1 for these error Objects on central and let the sync happens with child sites.

Set the DateLastmodified on Central DB:

UPDATE CI_ConfigurationItems SET DateLastModified = GETDATE() WHERE CI_UniqueID in (

‘0d9f9145-9e83-4c44-a8d5-9decbe25a586’,

‘cc5d5d63-32bb-4593-bd6f-3b61ba97707f’,

‘f4ba81de-c60b-4e2f-9589-9cc888bc09da’)

UPDATE CI_SDMPackages SET DateLastModified = GETDATE() WHERE (

SDMPackageName like ‘%0d9f9145-9e83-4c44-a8d5-9decbe25a586%’ OR

SDMPackageName like ‘%cc5d5d63-32bb-4593-bd6f-3b61ba97707f%’ OR

SDMPackageName like ‘%f4ba81de-c60b-4e2f-9589-9cc888bc09da%’ )

Run the below query on problem site to Fix isdeleted=1 for the older version and let the current version sync.

update ci_sdmpackages

set IsDeleted = 1

WHERE (

SDMPackageName like ‘%0d9f9145-9e83-4c44-a8d5-9decbe25a586%’ OR

SDMPackageName like ‘%cc5d5d63-32bb-4593-bd6f-3b61ba97707f%’ OR

SDMPackageName like ‘%f4ba81de-c60b-4e2f-9589-9cc888bc09da%’ )

and SDMPackageVersion = ’1′

Let’s wait for couple of hours to sync the modified data with problem site.

So here is the outcome on problem Site after couple of hours

clip image010 thumb #SCCM /#Configmgr Failed to insert SMS Package because SDM Type Content is not present in the CI Contents table. Will try later

Now move the .CID file back to objmgr.box\incoming folder from retry folder to process it and monitor objreplmgr.log if that succeeds or not.

Note :This procedure is recommended only if you have less objects failed rather going with synchild/.sha that generates huge traffic .If more objects failed to process, go with synchild/.sha non-office hours.

Detailed information available here on http://blogs.technet.com/b/mwiles/archive/2011/06/24/troubleshooting-failed-to-insert-object-error-message.aspx

Tags: , , , , , , , , ,
Posted in Replication, SCCM 2007, Software Updates, Trobleshooting Tips, Troubleshooting Issues | No Comments »

#SCCM / #configmgr 2012 Open Resource Explorer Without SCCM Console

Posted by Eswar Koneti on 1st December 2012

In My Previous post , we get to connect Resource Explorer of Computer without Using SCCM Console in SCCM 2007.http://eskonr.com/2012/12/sccm-configmgr-2007-open-resource-explorer-without-sccm-console/

You can use the same script for sccm 2012 but with littlie changes to the folder names and File names.

Here is the Batch script to connect to resource Explorer of Client Computer in SCCM 2012 without Launching SCCM 2012 Console.

Change the Values in Red Color.

:start
@echo off
CLS
Title Resource Explorer by ESKONR
> temp.vbs ECHO WScript.Echo InputBox( "To which Computer would you like to connect?", "Resource Explorer By ESKONR", "Enter Computer Name" )
FOR /F "tokens=*" %%A IN (‘CSCRIPT.EXE //NoLogo temp.vbs’) DO SET dator=%%A
DEL temp.vbs
F:
cd
\SMS\AdminConsole\bin
SET var=’%dator%’
start resourceexplorer.exe -s -sms:ResExplrQuery="SELECT ResourceID FROM SMS_R_SYSTEM WHERE NAME = %var%" -sms:connection=\\Server\root\sms\site_%Sitecode%
exit
:end

Until Next!

Tags: , , , , , , , , ,
Posted in SCCM 2012, SCCM Tools, Scripting, SQL Quiries, Trobleshooting Tips | No Comments »

#SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

Posted by Eswar Koneti on 1st December 2012

I have seen this question asked and answered in some articles and blog posts, however, after teaching the Concepts and Admin Workshop for the new version of the product recently, and getting more familiar with the new Endpoint Protection feature in System Center 2012 Configuration Manager, and I discoverd a feature in Endpoint Protection that lets you see what the default exclusions should be for System Center 2012 Configuration Manager (as well as many other server types). The trick is to import the Antimalware Policy Template which I will walk you through here:

From the System Center 2012 Configuration Manager Console, click on the Assets and Compliance Workspace:

8004.EndpointProtectionCM12Exlusions1 #SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

Next under Endpoint Protection in the navigation pane, Right Click on Antimalware Policies, and select Import:

7382.EndpointProtectionCM12Exlusions2 #SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

From the list of templates to import, select "SCEP 12_Default_CfgMgr2012.xml", then Click Open:

5141.EndpointProtectionCM12Exlusions4 #SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

This will import the template named "Endpoint Protection Configuration Manager 2012":

8306.EndpointProtectionCM12Exlusions5 #SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

Next, click on the Exclusion settings, and then click the Set button next to the Excluded file and folders settings:

8053.EndpointProtectionCM12Exlusions6 #SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

This will bring up the recommended files and folders to exclude from Antivirus scanning for System Center 2012 Configuration Manager:

3441.EndpointProtectionCM12Exlusions7 #SCCM / #Configmgr 2012 Antivirus Exclusions End Point Protection

You will need to expand the column and scroll to see it all, however, there is the list of exclusions needed. There are many other templates to import from there as well, and if you need multiple to apply to the same group of systems, you can import the ones you need, and then multi select them and right click and select Merge. This will allow you to combine multiple Antimalware Policies together for more efficient management of the policies.

I hope you found this useful.

Anti-virus scan exclusions for Configuration Manager 2012 http://configmgrblog.com/2012/05/09/anti-virus-scan-exclusions-for-configuration-manager-2012/

Via Cliff Hughes Microsoft Premier Field Engineer http://blogs.technet.com/b/systemcenterpfe/archive/2012/11/29/system-center-2012-configuration-manager-antivirus-exclusions.aspx

Tags: , , , , , ,
Posted in Documentation, ForeFront EndPoint Protection, SCCM 2012, Setup & Deployment, Trobleshooting Tips | No Comments »

#SCCM /#Configmgr 2007 Open Resource Explorer without SCCM console

Posted by Eswar Koneti on 1st December 2012

 image thumb #SCCM /#Configmgr 2007 Open Resource Explorer without SCCM console

Connecting to Resource Explorer of Computer is always not good(takes time) to Search for computer in SCCM collection

and move further.Some times you may not find the computer in the collection where you are looking at then you comeback

and look in All desktops and servers which may take time  to load all computers and then offers you to search for computer.

Come up with Simple Batch script that prompt you to enter Computer name and it takes you to Resource Explorer of Computer.

You may require to edit the fields in Red Color for SCCM Installation Folder,SCCM server name and sitecode

:start
@echo off
CLS
Title Resource Explorer By ESKONR
> temp.vbs ECHO WScript.Echo InputBox( "To which Computer would you like to connect?", "Resource Explorer by ESKONR", "Enter Computer Name" )
FOR /F "tokens=*" %%A IN (‘CSCRIPT.EXE //NoLogo temp.vbs’) DO SET dator=%%A
DEL temp.vbs
F:
cd \SCCM\AdminUI\bin
SET var=’%dator%’
start resourceexplorer.msc -s -sms:ResExplrQuery="SELECT ResourceID FROM SMS_R_SYSTEM WHERE NAME = %var%" -sms:connection=\\%SCCM SERVER%\root\sms\site_%SITECODE%
exit
:end

Thanks to my Old Friend Marcus!

Until Then!

Tags: , , , , , , ,
Posted in SCCM 2007, SCCM 2012, SCCM Tools, Scripting, Trobleshooting Tips | No Comments »

SCCM 2012 Videos Wally Mead sessions-1

Posted by Eswar Koneti on 30th November 2012

Thought of sharing Valuable Videos by Our SCCM Guru Wally Mead from different Locations.Worth Watching it wlEmoticon smile2 SCCM 2012 Videos Wally Mead sessions 1

Since there are many videos from Wally Mead On SCCM 2012 ,Posting all in One post may slow down the browsing of website initially for sometime.so splitting the videos to multiple posts with Tile of the videos in each post.

System Center Configuration Manager 2012 Windows 8 Support, Wally Mead

httpv://www.youtube.com/watch?v=0LTMd8H7iqM

 

ConfigMgr 2012 Software Distribution Part 1 – With Johan

 

httpv://www.youtube.com/watch?v=15wPybTZvjg

ConfigMgr 2012 Software Distribution Part 2 – With Johan

httpv://www.youtube.com/watch?v=_kZf9gtUIkU

 

 

Interview with Wally Mead about System Center 2012 Configuration Manager and SP1

 

 httpv://www.youtube.com/watch?v=n8r_Apm7sgE

SCCM GURU Webcast Series – Episode 1:

httpv://www.youtube.com/watch?v=p4BOrAw8noI

Rest Go Through http://eskonr.com/2012/11/sccm-2012-wally-mead-sessions-2/

Tags: , , , , , , , ,
Posted in Installation Guides, OS Deployment, SCCM 2012, SCCM Videos, Setup & Deployment, Software Distribution, Symantec EndPoint Protection, Trobleshooting Tips, WebCasts/Videos | No Comments »

SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Posted by Eswar Koneti on 23rd November 2012

Recently I was looking at Collection http://eskonr.com/2009/08/sccm-collection-report-for-hardware-inventory-not-reported-for-x-days/ to see how many clients have not reported inventory back to sccm since X days and I see quite number of computers did not reported but they do receive applications,patches etc.

you know what would be the impact if Client did not report back inventory back to sccm particularly if you are using Query based Collection using inventory information.

I picked random computer from the collection and check inventoryagent.log to start with. Below is the snippet what I can see.

Note: You might see a different Error from inventoryagent.log which causes the hardware inventory not to be sent to Site.So have a look at log file and see what kind of class is that giving error to add the information.

clip image001 thumb1 SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Error Code : Failed to add an instance of class SMS_MIFGROUP to historical Store:80041001

Failed to Addreport() for SMS_MIFGroup to historical Store:80041001

failed to process instance of SMS_MIFGROUP:80040900

What does it mean ? Client failed to read entries and add to report from SMS_MIFGROUP .

This issue is not going to fix with WMI repair or SCCM Client removal and installation and more over it is not issue with WMI.

Then what error is that ?

Some information about SMS_MIFGROUP :

The SMS_MIFGroup class is a client Windows Management Instrumentation (WMI) class, in Configuration Manager, that serves as a dynamic instance provider class allowing WMI reporting of Management Information Format (MIF) files that extend the client inventory.

This class is used by the Inventory Client Agent to enumerate the third-party MIF files at a designated collection directory. For each file, the instance provider parses the file against the MIF syntax, validates the contents against Configuration Manager restrictions, and reports each individual MIF group in a generic form that is usable by the Inventory Client Agent and management point.

The generic instance format is specifically designed to translate consistently and easily between MIF syntax for any number of MIF group definitions and values. This translation is especially important on the management point, where the Inventory Client Agent report is translated back into MIF format for processing at the Configuration Manager site server.

The preferred way to extend client inventory is through WMI instances (static or dynamic). However, this provider allows a migration step for SMS 2.0 MIF files already in use.

The SMS_MIFGroup class is specifically used to expose No Identification MIF files (NOIDMIFs) through WMI in client inventory. NOIDMIFs are used to extend client inventory beyond that requested for specific WMI instances in the site policy (see InventoryDataItem). For example, hardware vendors can supply asset information by using NOIDMIFs.

For more information about Inventory Agent Client WMI Classes http://msdn.microsoft.com/en-us/library/cc143240.aspx

Let’s have a look at WMI what MIFGROUP Contains and why does it says it failed to add instance of Class SMS_MIFGROUP.

Connect to WMI using either CIM Studio or Wbemtest. I prefer to go with Wbemtest.

Open WBEMTEST of problem computer:

image thumb7 SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Click on Query and run the query which is failed from the log file (above the error):

SELECT __CLASS, __PATH, __RELPATH, ArchitectureName, ComponentName, MIFGroupVerbatim, MIFClassVerbatim, MIFKeysVerbatim, AttributeKeyValues, MIFAttributesVerbatim, MIFFile, MIFDirectory, MIFFileSize FROM SMS_MIFGroup

clip image003 thumb1 SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Result you see below :

clip image004 thumb1 SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Open SMS_MIFGROUP=<No Key>

clip image005 thumb1 SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Click on Show MOF

image4 thumb SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

You see from above result, AttributeKeyValues has some strange characters for some reason .

So we have identified where the issue but for why this error ? how to fix it ?

You can either modify the MIF/ MOF file for this particular error or Try deleting the SMS_MIFGROUP Class and force Hardware inventory action.

You see this time no errors from inventoryagent.log ,also you can see the results from resource Explorer from sccm console.

How to Delete SMS_MIGGROUP Class?

Connect to wmi of problem computer with right namespace.(this case it is invagt)

image9 thumb SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

Click on Enum classes and select recursive

You see all classes. Select SMS_MIFGROUP and  Delete.

clip image007 thumb1 SCCM 2007 clients Hardware Inventory Issue Failed to process instance Error Code :80040900

You are done J.

You can also do this using VBScript :

ON ERROR RESUME NEXT
Set fso=CreateObject(“scripting.filesystemobject”)
Set objinputfile=fso.OpenTextFile(“Computers.txt”,1,True)
Set objoutputfile=fso.OpenTextFile(“MIFresults.txt”,2,True)
Do While objinputfile.AtEndOfLine <> True
strcomputer=objinputfile.ReadLine
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2″)
If Err.Number <> 0 Then
objoutputfile.WriteLine (strcomputer & ” is not connected”)
Err.Clear
Else
strNamespace = “\Root\CCM\invagt”
strclass = “SMS_MIFGROUP”
Set objSWbemServices = GetObject(“winmgmts:\\” & strComputer & strNamespace)
objSWbemServices.Delete strclass
objoutputfile.WriteLine (“MIF Deleted, ” & strcomputer)
end if

loop
msgbox “Done”

Tags: , , , , , ,
Posted in Inventory, SCCM 2007, Trobleshooting Tips, Troubleshooting Issues | No Comments »

#SCCM / #Configmgr 2012 DP’s and single instance store

Posted by Eswar Koneti on 13th November 2012

 

Dell Safranka Recently posted Nice Article on Configmgr 2012 DP and how Single Instance Store works and how to notice them but it is in Hungarian Language ,I try to post the content in English here.

The Configuration Manager 2012, the distribution points for the more efficient use of disk space to a single method of storage for file-level, single instance store. It is somewhat more difficult to check whether a particular package includes all right lejutott the distribution points. Here are the steps I want to present in this post:

The installation kits for each of the folders that contain the source files to the Deployment Type to specify the Location of the Content separate:

 

You can check the contents of this how to has a DP from content status in the following way:

We know the application (Application). To do this, in the console, under the Monitoring of the Status of the Distribution Content Statust application and look for the description of the part and look at the "Package ID":

image4 #SCCM / #Configmgr 2012 DPs and single instance store

3302.2 #SCCM / #Configmgr 2012 DPs and single instance store

Then, the distribution point, the "SCCMContentLib" folder, navigate to the "PkgLib" folder and then open the Package ID to.INI file. In this we find the Application Deployment Type-r content identifiers ("<számok> Content_)

3073.3 #SCCM / #Configmgr 2012 DPs and single instance store

You can then navigate to the "SCCMContentLib" folder in the "DataLib" folder and open it in looking for "belonging to the Deplyoment Content_ Type" folder. It contains the original source folder structure and files, once again, a description of the .INI FILE:

4075.4 #SCCM / #Configmgr 2012 DPs and single instance store

Then open the a file in the INI file and look at the file’s Hash and write down the first four characters:

1452.5 #SCCM / #Configmgr 2012 DPs and single instance store

You can then navigate to the "SCCMContentLib" folder in the "" folder and FileLib open file hash for the first four characters. (hint: use the Windows Explorer browser, because the sort order can be confusing). The contents of the open folder:

1016.6 #SCCM / #Configmgr 2012 DPs and single instance store

Then, find the file, in this case, the real has the "Setup.exe" file data (and hash verification):

1376.7 #SCCM / #Configmgr 2012 DPs and single instance store

This change is due to the introduction of the file adatduplikáció at the level of the ConfigMgr for 2012 was required, thereby increasing the distribution points use the mass storage. Note that the hash of the count, just CPU resources can enter into. The added benefit is that it is possible to leelenőrizzük that are actually valid content in the distribution points. This or manually in the Administration\Distribution Points by selecting the DP under the Properties tab and then click the "Content" tab in the "Validate" button, or by using the application evaluates Content Locations "tab" in the "Validate" button allows you to:

3125.8 #SCCM / #Configmgr 2012 DPs and single instance store

Or you can check out the content automatically perform scheduled installations (not recommended, only if a particular case is going to be "suspicious" DP thing). To do this, the Administration\Distribution Points by selecting the DP, under the Properties tab and then click on the "Content Validation" tab.

Original Post :http://blogs.technet.com/b/scm/archive/2012/11/13/configuration-manager-2012-dp-k-233-s-single-instance-store.aspx

Tags: , , , , , , ,
Posted in Distribution Point, Documentation, SCCM 2012, Setup & Deployment, Software Distribution, Trobleshooting Tips | No Comments »