SCCM Books

Friday, January 27, 2012

AD computer Numbers vs SCCM Computer Numbers

read here more http://smsug.ca/blogs/garth_jones/archive/2008/12/03/how-to-add-ad-data-to-configmgr-reporting.aspx

AD it just another database, just like SQL server is. With that in mind there is nothing stopping you from using SQL to link to AD to give you data about your AD environment!

1) Create Linked Server using SSMS

exec master.dbo.sp_addlinkedserver 'ADSI', 'Active Directory Service Interfaces', 'ADSDSOObject', '<DC Name FQDN>'

2) Modify the security for ADSI using SSMS

exec master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'ADSI', @locallogin = NULL , @useself = N'False', @rmtuser = N'<Domian>\<User Id>', @rmtpassword = N'<Password>'

3) The hard part is over!

4) Create query to query AD and ConfigMgr

This query will list all PCs within AD that are NOT within ConfigMgr (or SMS)

select

AD.cn as 'PC Name(AD)',

AD.operatingSystem as 'OS (AD)',

AD.operatingSystemServicePack as 'SP (AD)'

from

openquery (ADSI,

'SELECT cn,

operatingSystem,

operatingSystemServicePack

FROM ''LDAP://<DC Name FQDN>''

WHERE objectCategory = ''Computer''') as AD

Where

AD.cn not in (Select name0 from v_GS_Computer_System as CS)

order by

AD.cn,

AD.operatingSystem,

AD.operatingSystemServicePack

This query will give you a count of all OS that are NOT within ConfigMgr (or SMS)

select

AD.operatingSystem as 'OS (AD)',

count(AD.operatingSystem)

from

openquery (ADSI,

'SELECT cn,

operatingSystem,

operatingSystemServicePack

FROM ''LDAP://gartek-dc.gartek.tst''

WHERE objectCategory = ''Computer''') as AD

Where

AD.cn not in (Select name0 from v_GS_Computer_System as CS)

Group by

AD.operatingSystem

order by

AD.operatingSystem

So what does this report look like.

image

So there you have it.

Wednesday, January 25, 2012

ClientIDManagerStartup.log Error: 0x80040225 & Error 3

Failed to send registration request message. Error: 0x80040225

also when you see in the error 3 in ClientIDManagerStartup log

RegTask: Server rejected registration request: 3    ClientIDManagerStartup    26/01/2012 1:07:43 AM    7904 (0x1EE0)

 

You might also see (not in all cases) in ccmexec.log

System task 'ClientRegistrationStartup' returned error code 0x80040222.    CcmExec    26/01/2012 1:10:03 AM    7904 (0x1EE0)

Solution: Remove the Client authentication and SMS certificates Certificates of from Certificates console and request new certificates

PXE-T00: Unspecified file opening error detected

Found the error: While deploying 7 with the SCCM 2007 and MDT 2010.

sccm PXE-T00: Unspecified file opening error detected
PXE-E36:Error Received from TFTP server

 

image

Solution:This is not related to SCCM / WDS Issue.. it was with Symantec Ghost caused the issue, once the service was stopped the issue is resolved.

Saturday, January 21, 2012

How would I extend my Windows 2008 R2 Evolution ?

  • Click Start, and then click Command Prompt.
  • Type slmgr.vbs -dli, and then press ENTER to check the current status of your evaluation period.
  • To reset the evaluation period, type slmgr.vbs  /rearm, and then press ENTER.
  • Restart the computer.
  • It will again extend your evolution to 180 Days

    Friday, January 20, 2012

    How to change the SCCM Client Log files size to Max value that you want

    Sometimes or other we might need to retain the max size of log files for reading/analyzing.

    Here are some useful info………… in this regards………….

    Client side reference registry

    For X86 systems

    -          HKLM\Software\Microsoft\CCM\Logging\@GLOBAL

    For X64 systems

    -          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CCM\Logging\@GLOBAL

     

    The reference key is Log Maxsize

    I tried to change manually by regedit how it is showing error as can’t be edited the value..

    So I depended on below WMI script

    ' VBScript to change the Log File Size on a ConfigMgr client

    ' Change the 500000 to your required size in bytes

     

    Dim newLogMaxSize

    Dim sMachine

    newLogMaxSize = 500000

    sMachine = "."

    set oCCMNamespace = GetObject("winmgmts://" & sMachine & "/root/ccm")

    Set oInstance = oCCMNamespace.Get("SMS_Client")

    set oParams = oInstance.Methods_("SetGlobalLoggingConfiguration").inParameters.SpawnInstance_()

    oParams.LogMaxSize = newLogMaxSize

    oCCMNamespace.ExecMethod "SMS_Client", "SetGlobalLoggingConfiguration", oParams

    ' End of script

     

    So Do not change the registry value directly!

     

    The SDK shows the SetGlobalLoggingConfiguration Method in Class SMS_Client

     

    http://msdn.microsoft.com/en-us/library/cc146025.aspx

    Monday, January 16, 2012

    How to learn / Education

    Education has five aspects

    1. Information -- Often we think information is education, but it is only one aspect of education.

    2. Concepts -- Concepts are the basis for all research. You need to conceive in order to create.

    3. Attitude -- An integral aspect of education is cultivating the right attitude. Proper attitude at the right time and place determines your actions and behavior.

    4. Imagination -- Imagination is essential for creativity, for the arts. But if you get stuck in imagination, you may become psychotic.

    5. Freedom -- Freedom is your very nature. Only with freedom, do joy, generosity and other human values blossom. Without freedom, attitudes become stifling, concepts become a burden, information is of no value and imagination becomes stagnant.
     
    Just understand these five aspects of education.

    Friday, January 13, 2012

    The program for advertisement "CEN20199" has not been run yet ("CEN0018E" - "*"). Software Distribution is currently paused on this computer, and it has to be resumed before this program can begin.

    You may get above (The program for advertisement "XXXXXXX" has not been run yet ("XXXXXXXX" - "*"). Software Distribution is currently paused on this computer, and it has to be resumed before this program can begin. ) error and your advertisement will never run…  because system required a reboot to continue further any installation……

     

    SNAGHTML3d6adac

     

    Solution: Reboot the system

    image

    Packaging tools - From Forum Responses

    Some of Free Packaging tools - From Forum Responses

    1. Install shield Adminstudio
    2. wise package studio
    3. Repackaging tool http://www.appdeploy.com/tools/repackager/download.asp
    4. EMCO Package Builder!http://emcosoftware.com/msi-package-builder
    5. Invest some time and training budget in www.windowsinstallertraining.com

    Monday, January 9, 2012

    Windows 7 End User Training Guide

    Below is the very common training on Windows 7 for End User Training.

     

    1.    PC maintenance and performance

    a.     Delete files using Disk Cleanup (1 mins, Short Topic)

    b.     Ways to improve your computer's performance (2 mins, Article)

    c.     Back up your files (1 mins, Short Topic)

    d.     Previous versions of files: frequently asked questions(4 mins, Web based)

    e.     Back up and Restore: frequently asked questions (2 mins, Reference Topic)

    f.      Backing up and restoring your computer (5 mins, Tour/Video)

    g.     Solving common problems with Troubleshooters (5 mins, Tour/Video)

    h.     What information appears in event logs (Event Viewer)? (1 mins, Short Topic)

    i.      Stop a program from running automatically when Windows starts(1 mins, Short Topic)

    j.      See details about your computer's performance using Task Manager (2 mins, Short Topic)

    k.     Change the program that opens a type of file(1 mins, Short Topic)

    l.      Get computer speed and performance information(1 mins, Short Topic)

    m.   Recover lost or deleted files (1 mins, Short Topic)

     

    2.    Security and privacy

    a.     Laptop security basics (2 mins, Article)

    b.     Tips for creating strong passwords and passphrases (2 mins, Short Topic)

    c.     Help protect your files using BitLocker Drive Encryption (2 mins, Short Topic)

    d.     Spyware: frequently asked questions(2 mins, Reference Topic)

    e.     What is Encrypting File System (EFS)? (1 mins, Short Topic)

     

    3.    Collaborating and communicating

    a.     What happened to NetMeeting? (1 mins, Short Topic)

    b.     What happened to Windows Messenger? (1 mins, Short Topic)

    c.     Set up a computer-to-computer (ad hoc) network (1 mins, Short Topic)

     

    4.    Desktop and Start menu

    a.     Desktop Experience in Windows 7 (15 mins, Tour/Video)

    b.     The Start menu (overview) (7 mins, Article)

    c.     What's new with the Windows desktop? (2 mins, Short Topic)

    d.     The taskbar (overview) (5 mins, Article)

    e.     What's new with the Windows 7 taskbar? (4 mins, Article)

    f.      Getting around the desktop Getting around the desktop (6 mins, Tour/Video)

    g.     Personalizing your PC (5 mins, Tour/Video)

    h.     Change thumbnail size and file details (1 mins, Short Topic)

    i.      Introducing Windows 7 at work (20 mins, Tour/Video)Set the clock

    j.      Using Jump Lists to open programs and items (less than 1 mins, Tour/Video)

    k.     What happened to the Run command? (1 mins, Short Topic)

    l.      What's new with the Start menu? (1 mins, Article)

    m.   What's new with the Windows 7 desktop? (2 mins, Short Topic)

    n.     Customize the Start menu (4 mins, Reference Topic)

    o.     Getting the best display on your monitor (2 mins, Article)

    p.     Pin a program to the taskbar (2 mins, Tour/Video)

    q.     Rearrange buttons on the taskbar(2 mins, Short Topic)

    r.     Clear lists on the Start menu and taskbar (2 mins, Tour/Video)

    s.     Desktop gadgets (overview) (5 mins, Short Topic)

    t.      Take a screen capture (Printing screen) (1 mins, Short Topic)

    u.     Show, hide, or resize desktop icons (1 mins, Short Topic)

    v.     Recover files from the Recycle Bin (1 mins, Short Topic)

     

    5.    Ease of Access (Accessibility)

    a.     What accessibility features does Windows offer? (2 mins, Article)

    b.     Make items on the screen appear bigger (Magnifier) (1 mins, Short Topic)

    c.     Make the computer easier to see (1 mins, Short Topic) (Use Ease of Access Center to adjust settings and programs)

    d.     Text to speech: frequently asked questions (1 mins, Reference Topic)

    e.     What can I do with Speech Recognition? (Use your voice to dictate text and control your computer) (1 mins, Article)

    f.      What's New: Changes made to Excel functions (5 mins, Reference Topic)

    6.    Finding and organizing files

    a.     Accessing Information in Windows 7 (15 mins, Tour/Video)

    b.     Save a search (1 mins, Short Topic)

    c.     Improve Windows searches using the index: frequently asked questions(4 mins, Reference Topic)

    d.     Libraries: frequently asked questions (5 mins, Short Topic)

    7.    Internet Explorer

    a.     Internet Explorer at a glance (4 mins, Article)

    b.     Internet Explorer 8 Overview (2 mins, Tour/Video)

    c.     Internet Explorer accessibility options (2 mins, Short Topic)

    d.     How to know if an online transaction is secure(2 mins, Article)

    e.     Show the menus in Internet Explorer (1 mins, Short Topic)

    f.      Find recently visited webpages (1 mins, Short Topic)

    g.     Should I install ActiveX controls? (1 mins, Short Topic)

    h.     Zoom in on a webpage (1 mins, Short Topic)

    i.      Preview the appearance of a Printed webpage in Internet Explorer (2 mins, Short Topic)

    j.      Tips for searching the Internet (3 mins, Article)

    k.     Using Quick Tabs in Internet Explorer (1 mins, Short Topic)

    l.      Managing your Internet Explorer favorites (1 mins, Short Topic)

    m.   Using RSS feeds Automatically get updated content published by a website, such as news  (2 mins, Article)

    n.     Internet Explorer keyboard shortcuts (4 mins, Article)

    o.     Using Accelerators to find addresses, define words, and do other tasks with selected text (7 mins, Guided Example)

    p.     Web Slices: frequently asked questions (5 mins, Reference Topic)

    q.     Internet Explorer add-ons: frequently asked questions (2 mins, Reference Topic)

    r.     Save a webpage as a file (1 mins, Short Topic)

    8.    Mobile PC tips

    a.     Using your laptop in meetings (2 mins, Article)

    b.     Find a file or folder Looking for files in all the right places  (2 mins, Short Topic)

    c.     Searching in Windows: frequently asked questions (4 mins, Reference Topic)

    d.     Create a shortcut to (map) a network drive Easily get to your network drives  (1 mins, Short Topic)

     

     

    9.    Getting help

    a.     Getting help (3 mins, Article)

    b.     Get the latest Help content Always

    c.     Get help with your computer using Windows Remote Assistance (1 mins, Short Topic)

     

    10.  Printing

     

    a.     What happened to the Printers folder? (1 mins, Short Topic)

     

    11.  Turning off and starting up the computer

     

    a.     Change what happens when you close your laptop (1 mins, Short Topic)

    b.     Change what happens when you press the power button on your computer (1 mins, Short Topic)

    12.  Wireless networking

     

    a.     How do I know if a wireless network is secure? Check before you connect  (1 mins, Short Topic)

    b.     Switching between your home and workplace networks Use a work laptop on a home network  (3 mins, Article)

    c.     Mobile broadband: frequently asked questions (2 mins, Reference Topic)

    13.  Working offline

    a.     Working with network files when you are offline (3 mins, Short Topic)

    b.     Continue working if you lose or unplug your network connection (3 mins, Article)

     

    14.  Managing battery power

    a.     Change, create, or delete a power plan (scheme) (2 mins, Short Topic)