1) Find out the computer that lockouts are originating from
http://www.microsoft.com/en-us/download/details.aspx?id=18465
These are the levels of qualifications within the scheme:
'Rslaten 03/2005
'http://blogs.msdn.com/b/rslaten/archive/2006/03/01/removing-a-retired-dp-from-all-your-packages.aspx
On Error Resume Next
WScript.Echo ""
WScript.Echo "SMSDPClean v1.3"
WScript.Echo "Usage: cscript.exe SMSDPClean "
WScript.Echo "Example: cscript.exe SMSDPClean.vbs myCentralSiteServer myDistributionPoint"
WScript.Echo ""
Dim SMSSiteServer, SMSNameSpace, oLocator, oServices, bDone
'Get Args, add error checking here if needed
SMSSiteServer = WScript.Arguments(0)
DP = WScript.Arguments(1)
'Get SMS namespace
SMSNameSpace = GetSMSNameSpace(SMSSiteServer)
'Connect to SMS namespace
Set oLocator = CreateObject("WbemScripting.SWbemLocator")
Set oServices = oLocator.ConnectServer(SMSSiteServer, SMSNameSpace,,,,,128)
If Err.number <> 0 Then
WScript.Echo "Error connecting to " &SMSNameSpace& " on " &SMSSiteServer& ": " &Err.Number
Set oLocator = Nothing
Set oServices = Nothing
WScript.Quit
End If
'Call main procedure
PackageLoop
'Loop until async task is done
Do While not bDone
WScript.Sleep 1000
Loop
Set oLocator = Nothing
Set oServices = Nothing
WScript.Quit
'Functions
'''''''''''''''''''''''''''''''''''''''''
'
'GetSMSNameSpace Function
'
'''''''''''''''''''''''''''''''''''''''''
Function GetSMSNameSpace(SiteServer)
On Error Resume Next
Dim colNameSpaceQuery, refitem, refWMI
Set refWMI = GetObject("winMgmts:\\" &SiteServer&"\root\sms")
If Err.number <> 0 Then
WScript.Echo "Error connecting to SMS namespace on " &SiteServer
WScript.Quit
End If
Set colNameSpaceQuery = refWMI.ExecQuery("select * from SMS_ProviderLocation")
For Each refitem in colNameSpaceQuery
GetSMSNameSpace = refitem.NamespacePath
Next
Set colNameSpaceQuery = Nothing
Set refitem = Nothing
Set refWMI = Nothing
End Function
'''''''''''''''''''''''''''''''''''''''''
'
'ValidDP Function
'
'''''''''''''''''''''''''''''''''''''''''
Function ValidDP(DP, SiteCode)
On Error Resume Next
Dim SysRes, start, finish, tempDP
ValidDP = False
Set SysRes = oServices.ExecQuery("select * from sms_sci_sysresuse where SiteCode = '" &SiteCode& "'")
For each res in SysRes
start = InStr(res.NALPath,"=\\") + 3
finish = InStr(res.NALPath,"]MSWNET") - 2
tempDP = mid(res.NALPath,start,finish-start)
If (UCase(tempDP) = UCase(DP)) and (res.RoleName = "SMS Distribution Point") Then
Set SysRes = Nothing
ValidDP = True
Exit Function
End If
Next
Set SysRes = Nothing
End Function
'''''''''''''''''''''''''''''''''''''''''
'
'PackageLoop SubRoutine
'
'''''''''''''''''''''''''''''''''''''''''
Sub PackageLoop
On Error Resume Next
Dim sinkcol, retValuecol
bDone = False
Set sinkcol = wscript.CreateObject("WbemScripting.SWbemSink","SINKCOL_")
retValuecol = oServices.ExecQueryAsync(sinkcol,"SELECT * FROM SMS_DistributionPoint")
If Err.Number <> 0 Then
WScript.Echo "Error running query:" &err.description
WScript.Quit
End If
End Sub
Sub SINKCOL_OnObjectReady(objDP, objAsyncContext)
On Error Resume Next
Dim start, finish, tempDP
start = InStr(objDP.ServerNALPath,"=\\") + 3
finish = InStr(objDP.ServerNALPath,"]MSWNET") - 2
tempDP = mid(objDP.ServerNALPath,start,finish-start)
If UCase(tempDP) = UCase(DP) Then
WScript.Echo "Found " &DP& " on "& objDP.SiteCode& " linked to package " &objDP.PackageID
If ValidDP(DP, objDP.SiteCode) Then
WScript.Echo "Validated " &DP& " for site " &objDP.SiteCode
objDP.Delete_()
If Err.number <> 0 Then
WScript.Echo "Failed to delete " &DP& " from package " &objDP.PackageID& " on site " &objDP.SiteCode
WScript.Echo "Error = " &Err.number& " - " &Err.Description
Else
WScript.Echo "Successfully deleted " &DP& " from package " &objDP.PackageID& " on site " &objDP.SiteCode
End If
Else
WScript.Echo DP& " is not specified as a distribution point on site " &objDP.SiteCode
End If
End If
End Sub
Sub SINKCOL_OnCompleted(iHResult, objErrorObject, objAsyncContext)
bDone = True
End Sub
There are TWO types of replication can happen
1) Database Replication
2) File-Based Replication
Database Replication Includes Global Data & Site Data
Note:- Apart from above two there is local data this is just to specific to the local site.
Global data includes below : these are flow from CAS to below the Hierarchy
| Alert rules |
| Client discovery |
| Collections rules and count |
| Configuration Items metadata |
| Deployments |
| Operating system images (boot images and driver packages) |
| Package metadata |
| Program metadata |
| Site control file |
| Site security objects (security roles and security scopes) |
| Software updates metadata |
| System Resource List (site system servers) |
Site Data Replication: These are from Client to reporting/assigned Site
| Alert messages |
| Asset Intelligence client access license (CAL) tracking data |
| Client Health data |
| Client Health history |
| Collection membership results |
| Component and Site Status Summarizers |
| Hardware inventory |
| Software distribution status details |
| Software inventory and metering |
| Software updates site data |
| Status messages |
| Status summary data |
File-Based Replication: Earlier products there was only one type of Replication and this is file type. Now with SCCM 2012 this was limited two below types, Mainly used for Software packages and software updates.
File content that replicates by using file-based replication.
| File based Data | To the Destination |
| Package files used by deployments | Sent to primary and secondary sites. |
| Data from secondary sites | Sent to the primary site (parent) of the secondary site. |
| Fallback status point state messages | Forwarded to the assigned site when only a single fallback status point is in use. |
| Discovery data records | Forwarded to the assigned site when not processed at the site where they are generated. |
The hotfix described in KB2552033 must be installed on site servers that run Windows Server 2008 R2 when client push installation is enabled.
From SCCM 2012 site to site replication is moved to SQL replication, Where as in SCCM 2007 it was file based.
Below chart explains the What kind of Data type will be replicated between sites with Replication Types.
What is there in Global Data & Site Data ?
Question:- Can i install CAS on existing SCCM 2007 Server?
No it is recommended to install on new (hardware) box
Below are the three key points to consider a local distribution Point’s
Ok.. Now when we do not need a local Distribution points in SCCM 2012?
Below are the key considerations…
Note:- Distribution Point role can be enabled on Client OS or Server OS.
Note:- Branch Distrubution Point Role is removed in SCCM 2012.
Below are the three key considerations to setup a secondary site.
- To manage Upward-flowing WAN traffic
- Tiered content Routing for deep network topologies
- No local administrators
To Manage Clients/Devices
Add More Primary sites for
Ok….. When you do not need a primary site compared with SCCM 20007 ?
1. System Center Advisor – Software as a service offering that helps change or assess the configuration of Microsoft Servers software over the Internet
2. System Center App Controller - Unified management for public and private clouds, including cloud-based virtual machines and services
3. System Center Configuration Manager – Configuration management, hardware/software asset management, patch deployment tools for Windows desktops (previously Systems Management Server)
4. System Center Data Protection Manager – Continuous data protection and data recovery
System Center Endpoint Protection - Anti-malware and security solutions for Microsoft products
5. System Center Essentials – Combined features of Operations Manager and Windows Software Update Service (WSUS), aimed at small and medium sized businesses
System Center Mobile Device Manager – Mobile device management (PDAs, smartphones, etc.)
6. System Center Opalis - Opalis is an automation platform for orchestrating and integrating IT tools to decrease the cost of datacenter operations while improving the reliability of IT processes. It enables IT organizations to automate best practices, such as those found in Microsoft Operations Framework (MOF) and Information Technology Infrastructure Library (ITIL). Opalis operates through workflow processes that coordinate System Center and other management tools to automate incident response, change and compliance, and service-lifecycle management processes.
7. System Center Orchestrator - (formerly Opalis) for orchestration and automation solutions
8. System Center Operations Manager – Services and application monitoring
9. System Center Reporting Manager
10. System Center Service Manager – Ties in with SCOM, SCCM for asset tracking as well as incident, problem, change and configuration management (code name: Service Desk)
11. System Center Virtual Machine Manager 2008 R2 – Virtual machine management and datacenter virtualization
| Site Name | Site 1 | Comments |
| Discovery | What are The OU's Targeted? In AD | Are they missing any in OU's IN AD ?? |
| From AD | In above Ou's Howmany Computers are there? (From AD) | may be a difference in SCCM vs AD |
| in SCCM | Now List howmany in SCCM | may be a difference in SCCM vs AD |
| Run the AD stale Computers Command | Use this link http://configmgr2oo7.blogspot.sg/2010/09/for-finding-90-days-old-computers-in-ad.html | Computers that are not connected in network or not logged on more than 90 means computer not there in network and SCCM treats as Stale and it will not discover |
| Get the difference of computers(AD-StaleAD-in Totall SCCM) | Totall?? | |
| Now get the Totall non SCCM Clients show in your clients report and fix by using below two tools | ||
| Use these script to install the SCCM Client on remote computers | ||
| -remotly install on many systems once by using these scripts | http://configmgr2oo7.blogspot.sg/2009/01/sccm-client-installation-script-batch.html http://sccmcat.codeplex.com/ | USE SCCM Client action tools ..need to configure the .ini file as per your requirement check the blog |
| - Single computer based tool | http://sourceforge.net/projects/smsclictr/ | If it is a one computer use this tool |
| Catagorise the problems lile | Ping Online & offline computers with this script | to get the status of computes use this scrip may be usefull before you start work |
| WMI & Admin$ issues | http://configmgr2oo7.blogspot.sg/2008/11/wmi-connectivity-check.html | WMI & Admin$ is key to deploy clients |
| Once the clinet installation completed check the log | CCMsetup.log,execmgr.log, Clientidmanager.log | check the logs |
| Check all these case's before start working http://configmgr2oo7.blogspot.sg/2010/03/client-troublshooting-checks-check-list.html |
To download the YouTube Play list all videos at a time…
The link to the page where you can download “Free youtube Download”.http://www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm is really superb ..
Enjoy