Collecting SCCM computer object last logon time.

Sometimes it may be usefull to see when the last time computer account contacted domain, so you could see which records are old and long time gone. First you need to add an attribute to AD discovery. Go to site management, open your site, Site Settings, Discovery Methods, open Active Directory System Discovery Go to…


Associate log files with Trace32.exe

It’s always a good idea to have Trace32.exe copied to every computer to be able to take a look on the logs, and I usually do it by adding it to the image copying it to \$OEM$\$$ under deployment share, so it’s always in %WINDIR% on any computer. Plus, call regedit.exe /s and import this…


ZTIWindowsUpdate.WSF does not install all patches

This article is obsolete. The algorithm how  was changed in recent versions of MDT, and now this logic is built into it.      ZTIWindowsUpdate.wsf is the script that goes to Microsoft Update or internal WSUS server and install all approved updates from there. It is a part of automated image build process I’ve been…


Script to add specific packages to all distribution points

Script to add some packages to all distribution points As your SCCM hierarchy grows, you might found that you spend more and more time adding packages to new distribution points. In SCCM, for BDP, there is a way to add a package automatically. This does not happen momentarily, so I wrote this simple script that…

Patch management notifications dilemma

It’s always been challenging to choose either to check “Hide all deployments from end users” in “Software Updates Client Agent Properties”. If you decide to suppress it – you won’t be able to patch the computers manually. It may be challenging for servers, where administrators want to do it manually, with notifications of service interruption…


Report, showing all collections computer belongs to

Here is an SCCM report, that takes computer name and shows all collections that computer belongs to Query used in this report: select C.Name0, B.CollectionID,B.Name from v_ClientCollectionMembers A, v_Collection B, v_R_System C where A.CollectionID=B.CollectionID and A.ResourceID = C.ResourceID and C.Name0= @Name   All Collections, Computer Belongs to.MOF


Adding config.xml, generated by scanstate.exe /getconfig, to your migration.

After you have fixed the problem with scanstate.exe can’t access down level manifests, ( you may found that now it’s migrating too much – for instance, the “windows classic” theme is getting migrated from XP and your migrated customers are getting non-aero look of their Windows 7. To tell it not to migrate the theme, you should…