High level Task Sequence Steps for Windwos Xp to 7

These are the some high level steps in the Task Sequence.

use USMT=>request store=>run additional commands like taking backup of some applications..may be Lotus notesècapture user state/scan state èrelease state storeèdisable bitlocker if activatedèset Migration Flag to MigratedèStart System in PEè Partition Diskèactivate/Enable AHCIèEnable or Set BIOS password è Enable TMP for Bitlocker pre-requirementèRestart Computer èActivate TPMèrestart ComputerèRemove Bios PasswordèApply OSèwindows SettingsèNetwork SettingsèApply Drivers(use WQL or Thin Installer or HP SoftPaq or Dynamic Drivers Apply with CAB File packagesèSetup SCCM ClientèFix any issues related to SCCM Client like run auto discovery of site codeèBIOS version check and updateèrestartèinstall Few Runtime app’s like Adobe Flash/Shockwave/or any softwaresè install other apps like fonts/AV/Adobe/VPNClient/Customise Settings like Branding/look and feelèSet USMT Store options with /config: config.xml fileèRequest state StoreèRestore user storeèrun any custom configs like Lotus Notesèreleases state Storeè Enable Bitlocker encryption/Prepare Bitlocker Partition(c:\windows\system32\bdeHDcfg.exe -target default –quiet)èInstall any updatesèFinal Restart.

WAIK Renamed to Windows ADK

Windows Automated Installation Kit (Windows AIK or WAIK) is a collection of tools
It has renamed to "Windows ADK" New name from Windows 8.

http://technet.microsoft.com/en-us/library/hh824947.aspx

PXE-E53: No boot filename received

PXE-E53: No boot filename received

everythink ok.. when checked
- Both the Boot Images are sent to WDS

Found one red Event in the application Events with event ID 258

executed below command to resolve the issue..

wdsutil /initialize-server /REMINST:"E:\remoteinstall"

PXE boot issue : DHCP.......................

We might get the error when trying to boot the client pxe boot as dhcp.......... Lot of dots with no dhcp ip to the pxe client...

Solution would be check the wds windows deployment service status or give a try to restart the service



 

Disable services on list of servers


Below script will be useful for disabling the services

'create a file called list.Txt
Set Fso = CreateObject("Scripting.FileSystemObject")
Set InputFile = fso.OpenTextFile("list.Txt")
Do While Not (InputFile.atEndOfStream)
sComputer = InputFile.ReadLine
aTargetSvcs= Array("WDSServer")
'For list of services use below...
'arrTargetSvcs = Array("service1", "service2", "service3")


Set oWMIService = GetObject("winmgmts:" & "{impersonationlevel=impersonate}!\\" _
 & sComputer & "\root\cimv2")
Set cServices = oWMIService.ExecQuery("SELECT * FROM Win32_Service")

For Each oService In cServices
 For Each sTargetSvc In aTargetSvcs
  If LCase(oService.Name) = LCase(sTargetSvc) Then
  
   If oService.State <> "Stopped" Then
    oService.StopService()   
   End If

   If oService.StartMode <> "Disabled" Then   
    oService.ChangeStartMode("Disabled")
   End If 

  End If 
 Next
Next
loop
MsgBox "Done"


 

Microsoft System Center products list

Microsoft System Center is a set of server products aimed specifically at helping corporate IT administrators manage a network of Windows Server and client desktop systems.

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

 

SMSTS.ini

Debugging for sccm logs with in the winpe to enable... use  SMSTS.ini  file.


 SMSTS.ini

During an OSD Task Sequence, when the PC boots into WinPE from the Boot Image, the SMSTS.log settings are not controlled via the same registry keys as in the full Windows OS. Instead the SMSTS.log settings are controlled via entries in a file called SMSTS.ini file which resides in the Windows directory of WinPE.
In order to change the logging options for the SMSTS.log file while in WinPE, the SMSTS.ini files has to be either created or modified with the appropriate parameters. If no SMSTS.ini file exists in the Windows directory of WinPE, then default values are used. By default, the SMSTS.ini file does not exist in the default Boot Images of ConfigMgr and therefore the default options are used.
The logging options and values that can be modified are:
DEBUGLOGGING
ENABLELOGGING
LOGLEVEL
LOGMAXHISTORY
LOGMAXSIZE
The value names are basically the same as the registry value names from the full OS, but without the preceding CCM prefix. Similar to logging in the full OS, for the purposes of the SMSTS.log and OSD, the only three parameters that usually are changed are LOGLEVEL, LOGMAXHISTORY, LOGMAXSIZE. The value of LOGMAXSIZE is specified in bytes.
To modify the values, in NotePad, create a SMSTS.ini file with a [Logging] section that contains the parameters that need to be modified. The file then needs to be injected in the Windows directory of the Boot Image. The SMSTS.ini file has to be in place BEFORE the Task Sequence begins in WinPE. For this reason, the SMSTS.ini file cannot be added or copied to the appropriate location as part of the Task Sequence.
For example, to change the SMSTS.log file size to 5MB, set the log level to the most verbose level, and increase the amount of rolled over/historical logs to 3, the following would be the contents of the SMSTS.ini file:
[Logging]
LOGLEVEL=0
LOGMAXSIZE=5242880
LOGMAXHISTORY=3
Note: The logging options in the SMSTS.ini file are case sensitive and should be entered in all uppercase.
Injecting the SMSTS.ini file into the Boot Image
ConfigMgr stores files to be injected into the Boot Images under the following two directories on the site server:
x86 Boot Images
\OSD\bin\i386

x64 Boot Image
\OSD\bin\x64
The files located in the above two directories are not necessarily automatically injected into the Boot images. An XML file is used which defines which files need to be injected, where the files are located within the BIN directory, and where they need to be copied to within the WinPE Boot Image. The name of this XML file is osdinjection.xml. It is located in the following directory on the site server:
\bin\i386
Please note that the above directory is NOT the same as where the files to be injected reside. Additionally only one osdinjection.xml file is needed for both x86 and x64 Boot Images.
To inject the SMSTS.ini file into the Boot Images:
  1. Using NotePad, create an SMSTS.ini file with the desired parameters. When saving the file in NotePad, make sure it has the extension of .ini and not .txt.
  2. Copy the SMSTS.ini file created in Step #1 into the appropriate directories on the ConfigMgr site server where the Boot Images are located. The file has to be copied to two separate directories - one for x86 Boot Image and one for x64 Boot Images.

    The directories to copy the file to are:

    \OSD\bin\i386


    and

    \OSD\bin\x64
  3. Once the SMSTS.ini file is copied to the appropriate directories on the ConfigMgr site server, navigate to the following directory:

    \bin\i386
  4. Create a backup of the file osdinjection.xml located in the \bin\i386 directory.
  5. Open the original osdinjection.xml file in NotePad. Add sections to both the i386 and x64 portions of the osdinjection.xml file specifying to inject the SMSTS.ini file into the Windows directory of the x86 and x64 Boot Image:
    • For the x86 Boot Image, find the section:


      false
      bin\i386
      sms\bin\i386


Add the following section immediately after the above section but before the line containing :


false
bin\i386
Windows
  • For the x64 Boot Image, find the section:


    false
    bin\x64
    sms\bin\x64


    Add the following section immediately after the above section but before the line containing
  • :


    false
    bin\x64
    Windows
  • Save the osdinjection.xml file in NotePad.
  • In the ConfigMgr 2007 console, navigate to "Site Database" --> "Computer Management" --> "Operating System Deployment" --> "Boot Images".
  • Right click on the desired Boot Image to be updated with the SMSTS.ini file and choose "Update Distribution Points".
  • In the "Summary" page of the "Manage Distribution Points Wizard" window, click on the "Next >" button and allow the Boot Image to be rebuilt.
  • Once the Boot Image is finished rebuilding, in the "Wizard Complete" page of the "Manage Distribution Points Wizard" window, click on the "Close" button.
  • Repeat Steps 8-10 for each Boot Image in the environment.
  • Once the Distribution Points have finished updating for each Boot Image, each Boot Image should have the updated log settings for the SMSTS.log.
    As an option, instead of using the above process, after the SMSTS.ini has been created, it can be manually injected into the Windows directory of the Boot Image using ImageX or DISM. However using the above process preserves and does not modify the original Boot Image (boot.wim), so it is the preferred method.

    read here more for enable http://blogs.technet.com/b/system_center_configuration_manager_operating_system_deployment_support_blog/archive/2011/10/12/how-to-change-logging-options-for-smsts-log-in-system-center-configuration-manager-2007.aspx

    location of smsts.log file
  • Windows PE before HDD format: x:\windows\temp\smstslog\smsts.log
  • Windows PE after HDD format: x:\smstslog\smsts.log and copied to c:\_SMSTaskSequence\Logs\Smstslog\smsts.log
  • Full version Windows before SCCM agent installed: c:\_SMSTaskSequence\Logs\Smstslog\smsts.log
  • Full version Windows after SCCM agent installed: c:\windows\system32\ccm\logs\Smstslog\smsts.log
  • Full version Windows (x64) after SCCM agent installed: c:\windows\sysWOW64\ccm\logs\Smstslog\smsts.log
  • After Task Sequence has finished running: c:\windows\system32\ccm\logs\smsts.log
  • After Task Sequence has finished running (x64): c:\windows\sysWOW64\ccm\logs\smsts.log
  • How many Days Left to back you?

    'PS: Days Left...


    Wscript.Echo "Today Date MM-DD-YY: " & Date 
    Wscript.Echo "Days Until ur Day in Months: " & DateDiff("m", Date, "24/4/2013")
    Wscript.Echo "Days Until ur Day in Days: " & DateDiff("D", Date, "24/4/2013")
    Wscript.Echo "Days Until ur Day in Weeks: " & DateDiff("w", Date, "24/4/2013")
    Wscript.Echo "Hello..."

    'write(DateDiff("m",fromDate,toDate,vbMonday))

    All the Microsoft Updates Till Date

    Here you can download all the list of updates from this link it will show from 1998 to TillDate... Auto Updated this excel sheet by Microsoft
    http://go.microsoft.com/fwlink/?LinkID=245778

    For more Security related info visit http://technet.microsoft.com/en-us/security/bulletin/

    Enjoy..


    Bulk SCCM Client Troubleshooting Approch


    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  

    Virtual LAB Microsoft Page

    Virtual LABS : System Center 2012 Configuration Manager

    System Center 2012 Configuration Manager

      To Download the YouTube Play list

      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

      Test

      Test from TP

      is computer is 32 bit or 64 bit ?


      --Finding computer is 32 bit or 64 bit is easy from SCCM... here is SQL query............

      SELECT Distinct SYS.Netbios_Name0, CS.Model0,CPU.Name0 AS [CPU Name], CASE  WHEN CPU.Is64Bit0 = 1
       THEN 'Yes' ELSE 'No' END AS [CPU 64-Bit],ROUND(CONVERT(FLOAT,CPU.MaxClockSpeed0), -2)/1000
        AS [CPU (GHz)],
      ROUND(ROUND(CONVERT(FLOAT,MEM.TotalPhysicalMemory0) / 1048576, 2) , 1)
      AS [RAM (GB)],[TPM Chip]=(SELECT  v_GS_SYSTEM_DEVICES.Name0
       FROM  v_GS_SYSTEM_DEVICES WHERE  v_GS_SYSTEM_DEVICES.ResourceID=SYS.ResourceID AND
         v_GS_SYSTEM_DEVICES.Name0 LIKE '%Trusted Platform%') ,LDISK.DeviceID0,LDISK.Size0/1024
         AS [Size (GB)],LDISK.FreeSpace0/1024 AS [Free Space (GB)] FROM v_R_System SYS LEFT JOIN
         v_GS_LOGICAL_DISK LDISK on SYS.ResourceID = LDISK.ResourceID LEFT JOIN
         v_GS_COMPUTER_SYSTEM CS on SYS.ResourceID = CS.ResourceID LEFT JOIN
          v_GS_X86_PC_MEMORY MEM on SYS.ResourceID = MEM.ResourceID LEFT JOIN
           v_GS_Processor CPU on SYS.ResourceID = CPU.ResourceID LEFT JOIN
            v_GS_SYSTEM_DEVICES DEV on SYS.ResourceID = DEV.ResourceID
             WHERE  LDISK.DeviceID0 = 'C:' AND CS.Model0 NOT LIKE '%VMWARE%'

      ORDER BY SYS.Netbios_Name0

      Nomad Branch Agent Fix and re install


      echo sTOP sERVICE
      Net Stop NomadBranch

      Echo uNINSTALL If Nomad Found

      Call MsiExec.exe /NoRestart /X{94ADB1B7-6490-4DCD-800D-5214A8516DC6} /QN
      Call MsiExec.exe /NoRestart /X{1DBE047F-2734-4F18-BC8A-8721E1866BAC} /QN
      Call MsiExec.exe /NoRestart /x{B9AC4CC0-2AAB-42C7-A876-1C552500CD82} /QN

      Echo Install Nomad

      Call Msiexec.exe /i NomadBranch.msi AUTHENTICATEDUSERS=1 INSTALLDIR="%programfiles%\1E\SMSNomad" STATUSMSGEVENTS="0x2,0x200000" NOMADINHIBITEDSUBNETS="" PIDKEY=COMPkey1-1234-1234-1234-1234 MULTICASTSUPPORT=0 CachePath="%systemdrive%\NomadBranch" Logpath="%systemdrive%\NomadBranch\LogFiles" /log "%systemRoot%\temp\1e.log" /QN

      Echo Install Patch"Q11498.msp"

      Call Msiexec /p Q11498.msp /qn REBOOT=ReallySuppress /l*v %systemRoot%\Temp\1EQ11498.Log
      Call "%ProgramFiles%\1E\SMSNomad\NomadBranch.exe" -relicense=COMPkey1-1234-1234-1234-1234

      Echo if service not in auto state set to auto

      SC Config NomadBranch start= auto

      Net Start NomadBranch






      All WQL to info from SQL

      All WQL to info from SQL

      select * from dbo.v_CollectionRuleQuery

      SQL Query for Pathes required systems with the Size


      --SQL Query for Pathes required systems with the Size

      SELECT DISTINCT
                            TOP (100) PERCENT SYS.Name0 AS [Machine Name], UCS.Status AS [Patch Status Code], UI.BulletinID, UI.ArticleID, UI.Title,
                            dbo.v_FullCollectionMembership.ResourceID, dbo.v_Collection.CollectionID, UI.CI_ID, dbo.CI_Contents.SourceSize /(1024.0*1024) AS SizeinMB
      FROM         dbo.v_UpdateContents INNER JOIN
                            dbo.v_FullCollectionMembership INNER JOIN
                            dbo.v_Collection ON dbo.v_FullCollectionMembership.CollectionID = dbo.v_Collection.CollectionID INNER JOIN
                            dbo.v_R_System AS SYS LEFT OUTER JOIN
                            dbo.v_Update_ComplianceStatusAll AS UCS ON SYS.ResourceID = UCS.ResourceID INNER JOIN
                            dbo.v_UpdateInfo AS UI ON UCS.CI_ID = UI.CI_ID ON dbo.v_FullCollectionMembership.ResourceID = UCS.ResourceID ON
                            dbo.v_UpdateContents.CI_ID = UI.CI_ID INNER JOIN
                            dbo.CI_Contents ON dbo.v_UpdateContents.Content_ID = dbo.CI_Contents.Content_ID
      WHERE     (UCS.Status IN ('2')) AND (dbo.v_Collection.CollectionID = 'LAB000FB')
      ORDER BY UI.ArticleID

      All Systems that have been discovered last night:



      SELECT SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,
       SMS_R_System.SMSUniqueIdentifier,
       SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client
      FROM SMS_R_System
      WHERE (DateDiff(day, CreationDate, GetDate()) < 1)


      Collection - ADVERTISEMENT FAILED systems



      SELECT sys.ResourceID,sys.ResourceType,sys.Name,sys.SMSUniqueIdentifier,sys.ResourceDomainORWorkgroup,sys.Client FROM sms_r_system as sys inner join SMS_ClientAdvertisementStatus as offer on sys.ResourceID=offer.ResourceID
      WHERE AdvertisementID = 'LAB20089' and LastStateName = "Failed"

      All S/w from Add& Remove Programs After some exceptional removing


      All S/w from Add& remove Programs

      SELECT DISTINCT arp.DisplayName0 AS [Product Name], arp.Publisher0, arp.Version0, dbo.v_R_System.Netbios_Name0, fcm.CollectionID
      FROM         dbo.v_GS_ADD_REMOVE_PROGRAMS AS arp INNER JOIN
                            dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID CROSS JOIN
                            dbo.v_Collection INNER JOIN
                            dbo.v_FullCollectionMembership AS fcm ON dbo.v_Collection.CollectionID = fcm.CollectionID
      WHERE     (NOT (arp.DisplayName0 LIKE '%update%')) AND (NOT (arp.DisplayName0 LIKE 'para%')) AND (NOT (arp.DisplayName0 LIKE 'Configuration Manager Client')) AND
                            (NOT (arp.DisplayName0 LIKE 'µTorrent')) AND (NOT (arp.DisplayName0 LIKE '%Service Pack%')) AND (NOT (arp.DisplayName0 LIKE '%Segurança%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Windows%')) AND (NOT (arp.DisplayName0 LIKE '%Audio Driver%')) AND
                            (NOT (arp.DisplayName0 LIKE '%C++ 2005 Redistributable%')) AND (NOT (arp.DisplayName0 LIKE '%Viewer%')) AND (NOT (arp.DisplayName0 LIKE '%Hotfix%')) AND
                            (NOT (arp.DisplayName0 LIKE '%.NET Framework%')) AND (NOT (arp.DisplayName0 LIKE '%google%')) AND (NOT (arp.DisplayName0 LIKE '%MSXML%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Microsoft Baseline Security Analyzer%')) AND (NOT (arp.DisplayName0 LIKE '%Fax%')) AND (NOT (arp.DisplayName0 LIKE '%GDR%'))
                            AND (NOT (arp.DisplayName0 LIKE '%HP Array Configuration%')) AND (NOT (arp.DisplayName0 LIKE '%HP Scanjet%')) AND
                            (NOT (arp.DisplayName0 LIKE '%HP Smart%')) AND (NOT (arp.DisplayName0 LIKE '%hppFaxUtility%')) AND (NOT (arp.DisplayName0 LIKE '%hppFonts%')) AND
                            (NOT (arp.DisplayName0 LIKE '%HPPhotoSmartExpress%')) AND (NOT (arp.DisplayName0 LIKE 'HPP%')) AND (NOT (arp.DisplayName0 LIKE '%HPProductAssistant%'))
                            AND (NOT (arp.DisplayName0 LIKE '%WebFldrs XP%')) AND (NOT (arp.DisplayName0 LIKE '%Visual Studio Tools for the Office system 3.0 Runtime%')) AND
                            (NOT (arp.DisplayName0 LIKE 'VBA%')) AND (NOT (arp.DisplayName0 LIKE '%uTorrentBar%%')) AND (NOT (arp.DisplayName0 LIKE '%Ultimate Extras%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Runtime Environment%')) AND (NOT (arp.DisplayName0 LIKE '%Toolbox%')) AND (NOT (arp.DisplayName0 LIKE '%IBM Themes%'))
                            AND (NOT (arp.DisplayName0 LIKE '%hp LaserJet%')) AND (NOT (arp.DisplayName0 LIKE '%GDR%')) AND (NOT (arp.DisplayName0 LIKE '%Fax%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Adobe Shockwave Playe%')) AND (NOT (arp.DisplayName0 LIKE '%Adobe Reader%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Adobe Download Manager%')) AND (NOT (arp.DisplayName0 LIKE '%Actualización%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Active Directory Migration Tool%')) AND (NOT (arp.DisplayName0 LIKE '%Adobe Flash Player%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Audio%')) AND (NOT (arp.DisplayName0 LIKE '%XML%')) AND (NOT (arp.DisplayName0 LIKE '%Web Part%')) AND
                            (NOT (arp.DisplayName0 LIKE '%WIMGAPI%')) AND (NOT (arp.DisplayName0 LIKE '%Microsoft Silverlight%')) AND (NOT (arp.DisplayName0 LIKE '%SoundMAX%')) AND
                            (NOT (arp.DisplayName0 LIKE '%Spelling%')) AND (NOT (arp.DisplayName0 LIKE '%RDC%')) AND (NOT (arp.DisplayName0 LIKE '%Wallpapers%')) AND
                            (NOT (arp.DisplayName0 LIKE '%WebEx%')) AND (NOT (arp.DisplayName0 LIKE '%Microsoft Office Proof%')) AND (NOT (arp.DisplayName0 LIKE '%MSN Toolbar%'))
                            AND (NOT (arp.DisplayName0 LIKE '%MSN Toolbar%')) AND (NOT (arp.DisplayName0 LIKE '%google%')) AND (NOT (arp.DisplayName0 LIKE '%SQL Server Native%'))
                            AND (NOT (arp.DisplayName0 LIKE '%VSS Writer%')) AND (NOT (arp.DisplayName0 LIKE '%XP Themes%')) AND (NOT (arp.Publisher0 LIKE '%Lenovo%')) AND
                            (NOT (arp.Publisher0 LIKE '%UPEK Inc%')) AND (NOT (arp.Publisher0 LIKE '%AutoIt%')) AND (NOT (arp.Publisher0 LIKE '%Broadcom%')) AND
                            (NOT (arp.Publisher0 LIKE '%S3 Graphics%')) AND (NOT (arp.Publisher0 LIKE '%Realtek%')) AND (NOT (arp.Publisher0 LIKE '%Seagate%')) AND
                            (NOT (arp.Publisher0 LIKE '%S3 Graphics%')) AND (NOT (arp.Publisher0 LIKE '%Active Directory Export%')) AND (NOT (arp.Publisher0 LIKE '%TOSHIBA%')) AND
                            (NOT (arp.Publisher0 LIKE '%Logitech%')) AND (NOT (arp.Publisher0 LIKE '%SCCM%')) AND (NOT (arp.Publisher0 LIKE '%Yahoo%')) AND
                            (NOT (arp.Publisher0 LIKE '%Canon%')) AND (NOT (arp.Publisher0 LIKE '%ZTE%')) AND (NOT (arp.Publisher0 LIKE '%Dell%')) AND
                            (NOT (arp.Publisher0 LIKE '%McAfee%')) AND (NOT (arp.Publisher0 LIKE '%Dell%')) AND (NOT (arp.Publisher0 LIKE '%1E%')) AND
                            (NOT (arp.Publisher0 LIKE '%Mozilla%')) AND (NOT (arp.Publisher0 LIKE '%TOSHIBA%')) AND (NOT (arp.Publisher0 LIKE '%Broadcom%')) AND
                            (NOT (arp.Publisher0 LIKE '%DivX%')) AND (NOT (arp.Publisher0 LIKE '%InterVideo%')) AND (NOT (arp.Publisher0 LIKE '%UPEK%')) AND
                            (NOT (arp.Publisher0 LIKE '%Intel%')) AND (NOT (arp.Publisher0 LIKE '%Realtek%')) AND (NOT (arp.Publisher0 LIKE '%REALTEK%')) AND
                            (NOT (arp.Publisher0 LIKE '%Conexant%')) AND (fcm.CollectionID = 'SMS00001')

      Nomad Service issue

      If Nomad service is getting stopped automatically as Licensing issue.. then we can re license as below command from the NomadBranch.exe path...

      NomadBranch.exe -relicense=Productkey-Abcad-123456-1231231-12312312

      ITIL Exams

      ITIL Exams:


      The Information Technology Infrastructure Library™ (ITIL) offers a systematic approach to the delivery of quality IT services. ITIL was developed in the 1980s and 1990s by CCTA (Central Computer and Telecommunications Agency, now the Office of Government Commerce, OGC), under contract to the UK Government.

      Since then, ITIL has provided not only a best practice based framework for IT management, but also an approach and philosophy shared by the people who work with it in practice. ITIL has now been updated twice, the first time in 2000-2002 (V2), and the second time in 2007 (V3). 

      The ITIL Qualification Scheme uses a system that enables an individual to gain credits for each exam they take. Once candidates have accumulated a sufficient number of credits they can be awarded the ITIL Expert in IT Service Management. There are four levels within the scheme:

      §  Foundation Level 

      §  Intermediate Level (Lifecycle Stream and Capability Stream) 

      §  ITIL Expert 

      §  ITIL Master

      PXE Client How will find the PXE Server

       

       

      The process is roughly as below:

       

      1. Client powers on
      2. NIC initiates PXE process
      3. NIC acquires DHCP address
      4. NIC contacts PXE server (WDS)
      5. PXE server delivers NBP to client
      6. NIC TFTPs boot image (from WDS)

      4 This can be couple of different ways. If the DHCP request returned options 66 and 67, then the NIC BIOS will directly use the information in these options to contact the PXE server.

      If options 66 & 67 are not specified, then the NIC BIOS will send a broadcast request to find a PXE server.

      If the PXE server is not on a local subnet, then something needs to forward the broadcast request to the PXE server: iphelpers (there are other possibilities but this is the primary solution to this).

      Once the PXE server is contacted, it sends back the info to the client so the client can directly contact the PXE server.

      Tools Website

      This is a good Tools Website.. has lot of tools and very useful..

      http://www.robvanderwoude.com

      Patching reports C.1 Report sample

      image

      Powershell in Visual Studio 2010

      Steps Involved:

      PowerShell in Nutshell learn from these steps

      Stage 1

      Stage 2

      Stage 3

        SCCM Virtual Labs

        System Center Configuration Manager 2007

        basic Programming Free CBTS

        http://www.programmingvideotutorials.com

        Enable RDP in the Task Sequence

        Const HKEY_LOCAL_MACHINE = &H80000002
        strComputer = "."

        Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
        strComputer & "\root\default:StdRegProv")

        strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server"

        strValueName = "fDenyTSConnections"
        dwValue = 0
        oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

        How to disable the UAC in Windows 7 Deployment

        In fact we might get more errors if you have the UAC enabled while deploying the Windows 7, You can include one step in the task sequence as run a command line and fill this below in the command line box

        “CMD /C REG.EXE ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f”

         

        image

        Note: Not required any options in the options to configure however you can record with a optional Success Code “0 3010”

        http://joshuasmueller.wordpress.com/2011/01/18/disabling-windows-server-2008-sp2-uac-in-a-sccm-task-sequence/

        How to set the Timezone

        How to set the Timezone with in one task sequence… like you have more than one location and all these locations has different time zones…

         

        To do this under the task sequence Apply Windows Settings in the options TS Variable is ADSite name equals is “WhateverTheSite” and in the Properties Time Zone choose the time you wanted…

         

        image

        SNAGHTMLfacb20

        On AD & exchange simply good website

        http://www.netometer.com/

        OSD import permission Issue

        We might get when we are looking for only import permissions for a user or Group..

        or

        even when we setup the permissions at the end of the wizard we may get this error..

        Errors

        ·You do not have security rights to perform this operation.

        ·ConfigMgr Error Object:

        ·instance of SMS_ExtendedStatus

        ·{

        · Description = “User \”*************\” does not have permission of the current site to import machines.”;

        · ErrorCode = 1112017920;

        · File = “e:\\nts_sms_fre\\sms\\siteserver\\sdk_provider\\smsprov\\sspsite.cpp”;

        · Line = 766;

        · ObjectInfo = “524288″;

        · Operation = “ExecMethod”;

        · ParameterInfo = “SMS_Site”;

        · ProviderName = “WinMgmt”;

        · StatusCode = 2147749889;

        };

         

        The actual permissions required at SCCM Console level is:

        1. On SCCM Root Collections we must grant read & read Resource
        2. and for the target of the collection we need to give the permissions to add or whatever you wanted
        3. at computer Association level we must give permissions for importing
        4. (The most common mistake or un- mentioned step ..this one we may forget most of the time)

        On the top of the Site ==Properties=> Security Tab => Class Security rights and we must choose here read,Import Computer Entry (below screenshot)

        image

        image

        How to grant the SCCM Console permissions to Support Executive

        Scenario SCCM installed on cm07.test.com & I have a test system with windows XP/7.
        I have a User called RBAC and RBAC wanted some permissions on SCCM console.

        Steps:-

        Install the SCCM console on windows Xp/7

        add the RBAC user to SMS Admins Group.

        Follow these steps for granting the DCOM rights.

        1. From SCCM Server the Start menu, click Run and type Dcomcnfg.exe.

        2. In Component Services, click Console root, expand Component Services, expand Computers, and then click My Computer. On the Action menu, click Properties.

        3. In the My Computer Properties dialog box, on the COM Security tab, in the Launch and Activation Permissions section, click Edit Limits.

        4. In the Launch Permissions dialog box, click Add.

        5. In the Select User, Computers, or Groups dialog box, in the Enter the object names to select (examples): box, typeSMS Admins and click OK.

        6. In the Permissions for SMS Admins section, select the check box to allow Remote Activation.

        7. Click OK twice, and then close Computer Management.

        C drive disk space information on my all machine

        SELECT TOP (100) PERCENT dbo.v_R_System.Name0 AS [System Name], dbo.v_GS_LOGICAL_DISK.Name0 AS [C Drive], dbo.v_GS_LOGICAL_DISK.Size0 AS [Total Size],
        dbo.v_GS_LOGICAL_DISK.FreeSpace0 AS FreeSpace, dbo.v_GS_LOGICAL_DISK.Size0 AS Used
        FROM dbo.v_R_System INNER JOIN
        dbo.v_GS_LOGICAL_DISK ON dbo.v_R_System.ResourceID = dbo.v_GS_LOGICAL_DISK.ResourceID INNER JOIN
        dbo.v_FullCollectionMembership ON dbo.v_FullCollectionMembership.ResourceID = dbo.v_R_System.ResourceID
        WHERE (dbo.v_GS_LOGICAL_DISK.DriveType0 = 3) AND (dbo.v_FullCollectionMembership.CollectionID = 'sms00001') AND (dbo.v_GS_LOGICAL_DISK.Name0 = 'c:')
        ORDER BY FreeSpace

        For a specific Advertisement status for last 3 Days…

        ---for a specific Advertisement status for last 3 Days… if we include the Set   @AdvName = '%' line then and remove the above line in red color will show for all advertisements with last 3 days status

        -- To include all we need to give % in SQL this is a tip

        Declare     @AdvName Varchar(256)
        Set   @AdvName = 'Lync_2010_Full_Install'

        ---Set   @AdvName = '%'  
        Select      adv.AdvertisementName
        ,    adv.AdvertisementID
        ,    s.Host
        ,    LastAcceptanceMessageIDName
        ,    LastAcceptanceStateName
        ,    LastAcceptanceStatusTime
        ,    LastStatusMessageIDName
        ,    LastStateName
        ,    LastStatusTime
        ,    LastExecutionResult
        From  (
              Select      AdvertisementName
              ,    AdvertisementID
              From  dbo.v_AdvertisementInfo
              Where AdvertisementName Like @AdvName
              ) As  adv
        Join  (
              Select      AdvertisementID
              ,    ResourceID
              ,    LastAcceptanceMessageIDName
              ,    LastAcceptanceStateName
              ,    LastAcceptanceStatusTime
              ,    LastStatusMessageIDName
              ,    LastStateName
              ,    LastStatusTime
              ,    LastExecutionResult
              From  dbo.v_ClientAdvertisementStatus
              Where LastStatusTime >= DateAdd(d,-3,GetDate())
              ) As  cas
        On    adv.AdvertisementID = cas.AdvertisementID
        Join  (
              Select      ResourceID
              ,    Netbios_Name0 As Host
              From  dbo.v_R_System
              Where Client0 = 1
              And  Active0 = 1
              And  Obsolete0 = 0   
              ) As  s
        On    cas.ResourceID = s.ResourceID
        Order By
              AdvertisementName
        ,    Host

        HeartBeat Discovery Status of specific collection of systems

        select
            CS.Name0,
            max(AD.AgentTime) as 'Date/Time'
        from
            dbo.v_AgentDiscoveries ad
            JOIN dbo.v_GS_COMPUTER_SYSTEM cs on AD.ResourceID = CS.ResourceId
            join dbo.v_FullCollectionMembership FCM on FCM.ResourceID = CS.ResourceId
        Where
            AgentName = 'Heartbeat Discovery'
            and FCM.CollectionID = 'SMS00001'
        Group by
            CS.Name0

        To get ride of IIS Webdav issue

        Most of the time some or other application extension would be blocked because of IIS Webdav Settings issue, to stop filtering in IIS Webdav we can change the

        setting at the site level, i.e., open inetmgr/ IIS Console and chose the server name and in the right side we need to choose the “WebDav Authoring Rules” and in actions you will see “WebDAV  settings” click on the  button and you need to configure you Request filtering Behavior as below.

         

        image

         

        Okey, we may read in the blogs as we need to change in the applicationHost.config file.. if we do above settings it must be appear in the file… okey if you want to see the file how it looks like ……..

        <requestFiltering>

                        <fileExtensions allowUnlisted="true" applyToWebDAV="false">

                            <add fileExtension=".asa" allowed="true" />

                            <add fileExtension=".asax" allowed="true" />

                            <add fileExtension=".ascx" allowed="true" />

                            <add fileExtension=".master" allowed="true" />

                            <add fileExtension=".skin" allowed="true" />

                            <add fileExtension=".browser" allowed="true" />

                            <add fileExtension=".sitemap" allowed="true" />

                            <add fileExtension=".config" allowed="true" />

                            <add fileExtension=".cs" allowed="true" />

                            <add fileExtension=".csproj" allowed="true" />

                            <add fileExtension=".vb" allowed="true" />

                            <add fileExtension=".vbproj" allowed="true" />

                            <add fileExtension=".webinfo" allowed="true" />

                            <add fileExtension=".licx" allowed="true" />

                            <add fileExtension=".resx" allowed="true" />

                            <add fileExtension=".resources" allowed="true" />

                            <add fileExtension=".mdb" allowed="true" />

                            <add fileExtension=".vjsproj" allowed="true" />

                            <add fileExtension=".java" allowed="true" />

                            <add fileExtension=".jsl" allowed="true" />

                            <add fileExtension=".ldb" allowed="true" />

                            <add fileExtension=".dsdgm" allowed="true" />

                            <add fileExtension=".ssdgm" allowed="true" />

                            <add fileExtension=".lsad" allowed="true" />

                            <add fileExtension=".ssmap" allowed="true" />

                            <add fileExtension=".cd" allowed="true" />

                            <add fileExtension=".dsprototype" allowed="true" />

                            <add fileExtension=".lsaprototype" allowed="true" />

                            <add fileExtension=".sdm" allowed="true" />

                            <add fileExtension=".sdmDocument" allowed="true" />

                            <add fileExtension=".mdf" allowed="true" />

                            <add fileExtension=".ldf" allowed="true" />

                            <add fileExtension=".ad" allowed="true" />

                            <add fileExtension=".dd" allowed="true" />

                            <add fileExtension=".ldd" allowed="true" />

                            <add fileExtension=".sd" allowed="true" />

                            <add fileExtension=".adprototype" allowed="true" />

                            <add fileExtension=".lddprototype" allowed="true" />

                            <add fileExtension=".exclude" allowed="true" />

                            <add fileExtension=".refresh" allowed="true" />

                            <add fileExtension=".compiled" allowed="true" />

                            <add fileExtension=".msgx" allowed="true" />

                            <add fileExtension=".vsdisco" allowed="true" />

                            <add fileExtension=".exe" allowed="true" />

                            <add fileExtension=".vbs" allowed="true" />

                        </fileExtensions>

                        <verbs allowUnlisted="true" applyToWebDAV="false" />

                        <hiddenSegments applyToWebDAV="false">

                            <add segment="web.config" />

                            <add segment="bin" />

                            <add segment="App_code" />

                            <add segment="App_GlobalResources" />

                            <add segment="App_LocalResources" />

                            <add segment="App_WebReferences" />

                            <add segment="App_Data" />

                            <add segment="App_Browsers" />

                        </hiddenSegments>

                    </requestFiltering>