Running a custom notification before installing a program with Configuration Manager

One question that is seen again and again in the news forums is “how to configure a custom message prior to running a software package”? In this post you can download a utility developed with help from Jakob G. Svendsen that can be used to customize a message that is shown prior to running the real software package. The utility – WarnBeforeInstall – is installed on each client. When you want to show a custom message you just call the program with a few parameters. The parameters control the title, the message and the countdown value. When the user clicks [...]

By |2009-04-15T10:46:11+01:00april 15th, 2009|Configuration Manager (SCCM), General info|39 Comments

Configuration Manager – Find virtual machines

Keeping track of the the virtual machines can be a little pain. Here is a query and a report that hopefully will make it a bit easier to keep track of those virtual machines and their corresponding physical hosts. The Query select distinct SMS_R_System.Name, SMS_G_System_OPERATING_SYSTEM.Caption, SMS_G_System_VIRTUAL_MACHINE.PhysicalHostNameFullyQualified from  SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_VIRTUAL_MACHINE on SMS_G_System_VIRTUAL_MACHINE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_VIRTUAL_MACHINE.PhysicalHostNameFullyQualified is not null  order by SMS_G_System_VIRTUAL_MACHINE.PhysicalHostNameFullyQualified The Report SELECT     TOP (100) PERCENT dbo.v_R_System.Netbios_Name0 AS Name, dbo.v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System],                       dbo.v_GS_VIRTUAL_MACHINE.PhysicalHostNameFullyQualifi0 AS [Physical host] FROM         dbo.v_R_System INNER JOIN                       dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID INNER JOIN [...]

By |2009-04-08T08:27:56+01:00april 8th, 2009|Configuration Manager (SCCM)|1 Kommentar

Deploying Microsoft Silverlight 2.0 with Config Mgr.

Just spend some time trying to install Silverlight with Config Mgr. I have read the guide from Microsoft Document but couldn’t get it to work. Instead I extracted the package and ran the Install.exe file with /q Extract the package: Open a command prompt Silverlight.2.0.exe /extract:C:\temp Create the Config mgr package: Copy the extracted the files to a network location Create the package like a “normal” config mgr. package Create a program with this command line install.exe /q

By |2009-04-03T13:08:13+01:00april 3rd, 2009|Configuration Manager (SCCM)|Kommentarer lukket til Deploying Microsoft Silverlight 2.0 with Config Mgr.

Configuring Config Mgr. agents to run inventory on a custom schedule

Agent settings are configured for each site leaving you with a single schedule for all clients. To configure some of the clients to run on an individual schedule you can create a script that trigger the action you want to run e.g. perform a hardware inventory. So basically you create a collection containing the computers you want to run the action. Create a package that contains the script. Create a program that runs the script e.g. crscript.exe hw.vbs Create an advertisement with a reoccurrence schedule e.g. every 10 minutes (really not recommended). Script to trigger Hardware inventory ' Set the [...]

By |2009-03-23T17:01:38+01:00marts 23rd, 2009|Configuration Manager (SCCM), General info|3 Comments

Dude, Where’s my Config Mgr Agent log files?

On my workstation i am running Microsoft Windows Vista 64bit. Today i got a small scripting task, which required me to view the Microsoft System Center Configuration Manager Agent Log files. On most Operating Systems (aka. 32bit) the log files are placed in “C:\Windows\CCM\Logs\”. But on mine it was not. I had no luck search the internet, so i tried a files search for one of the logfiles. I discovered that on my system they are located in “C:\Windows\sysWOW64\CCM\Logs”. The reason for this, must be because the agent is 32bit and my system i 64bit. I hope someone else will [...]

By |2009-03-23T12:05:09+01:00marts 23rd, 2009|Configuration Manager (SCCM)|2 Comments

Query to find computers without .Net Framework 3.5 SP1 installed

One of the most asked question in various newsgroups is: How do I create a query that shows all computers without “something”. To create a query like that you start by creating a query that find the opposite and then a query that finds all computers not part of the first result. Query to all computers with .Net Framework SP1 installed select distinct SMS_R_System.Name from  SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "Microsoft .NET Framework 3.5 SP1" Query to find all computer without .Net Framework SP1 installed select distinct SMS_R_System.Name from  SMS_R_System where SMS_R_System.Name not in [...]

By |2009-03-18T21:11:09+01:00marts 18th, 2009|Configuration Manager (SCCM)|3 Comments

Config Mgr prompting for credentials when running report

This is really a top annoying problem, the constant prompt for credentials each time you open a report. All you need to do is disable the Internet Explorer Enhanced security on the reporting server. This is done by running Add/Remove programs, Add/Remove Windows Components. In Windows 2008 you will find the setting in Computer Management, Security Information, Configure IE Esc. Deselect the checkmark in Windows 2003 and you can start running your reports without the prompt :-) Select Off in Windows 2008.

By |2009-03-18T13:57:13+01:00marts 18th, 2009|Configuration Manager (SCCM), General info|3 Comments

Configuration Manager software updates errors

I just spend a day troubleshooting Software updates errors at a customer site and thought I would share my experiences.  The error codes are all found in the report Last scan state by collection Error code on client Solution 16398 If you search the web you will get many hits on this error. The solution is to apply this WSUS 3.0 SP1 patch http://www.microsoft.com/downloads/details.aspx?FamilyId=6AA8A49D-170C-4077-8B9B-61F7BF5A1281&displaylang=en Once the update is applied you can force a scan on the client. Monitor the ScanAgent.log file 1682 This is a classic error. Check the wuahandler.log file and it will report that the local wsus settings [...]

By |2009-03-17T16:44:25+01:00marts 17th, 2009|Configuration Manager (SCCM)|1 Kommentar

Config mgr report count x86 and x64 operating systems

In this post you will find the code for two reports. The first is a simple report that will count the different system types (x86 etc). The second report can be used as a standard hardware inventory report listing the most basic information like operating system, server name etc. Once you have created the two reports they can be linked together using System type as a prompt/variable. Count System types   SELECT     dbo.v_GS_COMPUTER_SYSTEM.SystemType0, COUNT(dbo.v_GS_COMPUTER_SYSTEM.SystemType0) AS Total FROM         dbo.v_R_System INNER JOIN                       dbo.v_GS_COMPUTER_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_COMPUTER_SYSTEM.ResourceID GROUP BY dbo.v_GS_COMPUTER_SYSTEM.SystemType0 Basic hardware inventory report SELECT DISTINCT                       TOP (100) PERCENT dbo.v_R_System_Valid.ResourceID, [...]

By |2009-03-16T21:27:25+01:00marts 16th, 2009|Configuration Manager (SCCM)|1 Kommentar

How to stop a client push installation in Configuration Manager

When a client push installation is initiated Config Mgr. generates a CCR - Client Configuration Request file - for each client. To stop the process those files must be manually deleted. As the files are processed they are moved between three different folders. Initially the files are created in the .\inboxes\CCR.box When the CCR is prossed the record will be moved to .\inboxes\CCR.box\inproc Finally all installation request that failed (for some reason) will be stored as the computername in .\inboxes\ccrretry.box

By |2009-03-06T17:59:42+01:00marts 6th, 2009|Configuration Manager (SCCM)|7 Comments

Software Update Management components

Using Software Update Management in Config Mgr. can be a very powerful way to control the patch management process. In this post I explain the basic components that you need to know about before deploying any updates. Updates List The update list contains all my approved security updates for any given month The update list is used in reports The update list can be used to delegate administrative permissions. I can have one update list for server updates that is controlled by our "server guys" and one Update list containing workstation updates. Deployment Template The template contains a target collection [...]

By |2009-03-05T11:56:50+01:00marts 5th, 2009|Configuration Manager (SCCM)|Kommentarer lukket til Software Update Management components

Configuration Manager 2007 Helpdesk training goes live

We are proud to announce that Coretech’s Configuration Manager 2007 Helpdesk course is ready to launch. The course is based on all the wishes and feedback we have received from customers and earlier students. The training will focus on how Configuration Manager can be used by users in the Helpdesk department. We discuss client installation, troubleshooting, software installation, queries and reports, image installation etc.  For more information contact Kent Agerlund, [email protected]. Title: Configuration Manager 2007 Helpdesk training Duration: 2 days Material: PowerPoint presentations and hands-on labs Environment: Microsoft Virtual PC Trainers: Kent Agerlund, Coretech A/S Language: English or Danish Agenda: [...]

By |2009-03-03T15:33:31+01:00marts 3rd, 2009|Configuration Manager (SCCM)|1 Kommentar

Installing multiple applications using variables

One major benefit of using variables in the software application installation process is the ability to work with "software groups". A software group can be defined as a group of computers that share the same software package e.g. all workstations in R&D orHR. This post describes how to install multiple applications using variables on one collection. Start by categorizing all software packages Which ones need to be in the image Which ones are installed on all computers (can be added as singple Install Software steps in the task sequence) Which ones are part of a specific Software group (handled in [...]

By |2009-02-06T21:40:19+01:00februar 6th, 2009|Configuration Manager (SCCM)|4 Comments

Deploying Office 2007 – Windows Desktop Search is not currently installed or not up to date

When users start Outlook 2007 for the first time they might be presented with this dialog box: To disable the dialog box you need to make a modification to the registry. I normally add the registry entry to the Office Customization Toolkit (OCT) like this: How to disable the setting in registry: Open registry and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\General Add a new entry (reg_sz) with the name PONT_STRING Modify the value to "60" Export the registry entry from the File menu How to disable the setting in OCT: Start Office Customization Toolkit OCT by running setup.exe /admin Navigate to Add registry [...]

By |2009-01-29T14:23:35+01:00januar 29th, 2009|Configuration Manager (SCCM)|6 Comments

Disable the Office 2007 Welcome screen

One of the settings that I am often asked to modify when it comes to Office 2007 deployments is disabling the welcome screen. The welcome screen is displayed the first time a user starts one of the Office programs. The setting can be disabled in registry or in the Office Customization Tool (OCT). How to disable the setting in registry: Open registry and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\General Add a new Dword (32-bit) Value, type ShownOptIn as the name modify the value to 00000001 How to disable the setting in OCT: First download the updated version of the Admin files from - [...]

By |2009-01-29T13:40:20+01:00januar 29th, 2009|Configuration Manager (SCCM)|8 Comments

Office 2007 deployment

Useful links: http://www.officeusers.org/ - tips and tricks http://technet.microsoft.com/en-us/library/cc303401.aspx - 2007 Office Resource Kit http://technet.microsoft.com/en-us/library/cc179219.aspx - Language indentifiers http://technet.microsoft.com/en-us/office/desktop/default.aspx - Technet http://office.microsoft.com/en-us/FX102855291033.aspx - Office Online http://technet.microsoft.com/en-us/library/cc179179.aspx - Office Migration Planning Manager (OMPM) http://technet.microsoft.com/en-us/desktopdeployment/bb395347.aspx - Office deployment the "MDT way" http://www.microsoft.com/events/series/technetoffice.aspx?tab=webcasts - Office 2007 deployment webcasts http://www.microsoft.com/events/series/technetoffice.aspx?tab=webcasts&id=42542 - Various Office 2007 webcasts

By |2009-01-26T14:53:40+01:00januar 26th, 2009|Configuration Manager (SCCM)|1 Kommentar

Windows 7 as a configuration manager client

Just want to share my little happy moment with someone - Just installed the configuration manager sp1 client on my Windows 7 Ultimate build 7000 - and it's working :-) Inventory is working Software distribution is working Software Update deployment is working Desired Configuration is working - but my system is not compliant according to the company policy :-)

By |2009-01-22T21:36:15+01:00januar 22nd, 2009|Configuration Manager (SCCM)|2 Comments

Block IE 8 from being installed through Windows Update

Microsoft will distribute Windows Internet Explorer 8 as a high-priority update through Automatic Updates for Windows XP Service Pack 2 and higher. To avoid this use the Blocker Toolkit. You can download the toolkit from Microsoft http://www.microsoft.com/downloads/details.aspx?familyid=21687628-5806-4ba6-9e4e-8e224ec6dd8c&displaylang=en&tm

By |2009-01-09T15:47:21+01:00januar 9th, 2009|Configuration Manager (SCCM)|Kommentarer lukket til Block IE 8 from being installed through Windows Update

Deep Dive Image deployment training now live

We are proud to announce that Coretech's Deep Dive Image Deployment course is ready to launch. The course is based on all the wishes and feedback we have received from customers and earlier students. We will discuss Windows XP, Windows Vista, Windows 7 and Windows Server deployment. On all public courses the main focus will be on Windows Vista. The training can be delivered at the customer site or in cooperation with your local training vendor. For more information contact Kent Agerlund, [email protected]. Title: Deep Dive Microsoft Image deployment Duration: 3 days Material: PowerPoint presentations and hands-on labs Environment: Microsoft [...]

By |2009-01-09T14:45:32+01:00januar 9th, 2009|Configuration Manager (SCCM), OS Deployment|Kommentarer lukket til Deep Dive Image deployment training now live

Creating Configuration Manager 2007 Reports – Part IV Using Prompt

In this example I explain how to use the prompt function. I anticipate that you already by now know how to create the report in Configuration Manager and how to start SQL Server Management Studio. This report will list some basic hardware details with a prompt on the Bios Serial number. I am creating the first part of the report in SQL server 2008 Studio Manager, and the prompt in the Config Mgr. console. When you are working with prompts in reports there is a few things you need to know first. To use variables use the @ symbol eg. [...]

By |2008-12-31T15:23:07+01:00december 31st, 2008|Configuration Manager (SCCM)|2 Comments

Creating and Using Toolkit package..

A nice thing about Integrating MDT into Config. mgr is the functionalities the Toolkit package gives you. The obvious thing being the ability to use all the MDT script without having to create individual packages.. Another thing I really like, is the fact that it will set a variable that points to the package, allowing you to do simple routines like Copy files, run your custom scripts and programs, use ImageX and much more.   To utilize these features we must first create the Toolkit package with all the necessary files… One way to do this is to create an [...]

By |2008-12-16T17:55:36+01:00december 16th, 2008|Configuration Manager (SCCM), OS Deployment|6 Comments

SQL Server 2008 support for Configuration Manager 2007

Configuration Manager 2007 RTM SQL server 2008 is supported with Config Mgr. 2007. KB article KB955229 - http://support.microsoft.com/kb/955229 explains the recommended installation procedure: Apply hotfix Hotfix KB950636 Instal SQL Server 2005 Install SQL server 2005 SP2 (only needed if you are installing the RTM version of Configuration Manager, if you are installing Config Mgr with SP1 then SQL server 2008 is supported) Install SQL server 2005 and Configuration Manager 2007. Upgrade site databases from SQL Server 2005 to SQL Server 2008. (only if you installed Config Mgr. 2007 RTM Apply hotfix (955229) http://support.microsoft.com/kb/955229 (only if you upgraded from SQL 2005) [...]

By |2008-12-15T13:13:56+01:00december 15th, 2008|Configuration Manager (SCCM)|1 Kommentar

WSUS server disappears when installed on the Configuration Manager site server

I have seen several times, that my WSUS server is suddently gone when the SUP role is installed locally on the Config Mgr site server. I am not yet 100% sure why this is happening but it's related to WSUS trying to repair itself. By investigating the Eventlog you are able to monitor the process as it happens. It seems to be related to backup, however the Config Mgr. backup doesn't touch the WSUS files. Configmgr backup is runing: Event Source: SMS Server Event Category: SMS_SITE_BACKUP Event ID: 5055 Date: 10/11/2008 Time: 00:02:57 Computer: Testsccm Then randomly after backup the [...]

By |2008-12-05T14:10:21+01:00december 5th, 2008|Configuration Manager (SCCM)|Kommentarer lukket til WSUS server disappears when installed on the Configuration Manager site server

How to Configure Virtual Application Support on Configuration Manager

With the introduction of System Center Configuration Manager R2 comes the integration between Application Virtualization 4.5 and Configuration Manager 2007. This Guide will go through the installation and configuration. How does Configuration Manager 2007 intergrate with the App V. client Deliver applications: SFTMIME commands are used to manage Virtual Application publishing delivery to the App. V client cache. The OverrideURL registry value is configured to direct the client to the correct Distribution Point. Launch Applications Applications are launched using the SFTtray.exe command. WMI is used to report on the status of the installation process. Steps to configure Virtual Application Support [...]