Om Kent Agerlund

Microsoft Regional Director, Enterprise Mobility MVP. Microsoft Certified Trainer and Principal consultant. I have been working with Enterprise client management since 1992. Co-founder of System Center User Group Denmark in 2009. Certified MCITP: Enterprise Administrator, MCSA+Messaing, and much more. Member of: Microsoft Denmark System Center Partner Expert Team The Danish Technet Influencers program System Center Influencers Program.

MMS 2009 – Day 1, Monday

Been up really early due to a 9 hours time zone change. Full with energy I started the day with a short run on the Strip. After Breakfast I went to the registration got my badge, a fancy new bag with a lot of “goodies” in it. For me Monday was SQL day. First session on performance tips and tricks then two sessions with SQL Reporting Services in available with Config Mgr. R2. Based on the information from the session I have made my top 5 list of reasons why you should migrate your reports to SRS: Performance Report caching [...]

By |2009-04-28T03:43:36+01:00april 28th, 2009|Events|Kommentarer lukket til MMS 2009 – Day 1, Monday

MMS 2009 – Trying to keep up with my schedule

I am prepared for this year main event – Microsoft Management Summit 2009 in Las Vegas. The event is not as big as Teched but still; in order to survive you need to be well prepared. I have filled out my schedule, checked out the various “after parties” and made arrangements to catch up with “soulmates” that I haven’t seen since MMS 2008. This is in essence what makes MMS such a special event. The conference offers a great chance to mix technical learning along with socializing with interesting people from various System Center communities. Well; I am prepared and [...]

By |2009-04-25T17:30:56+01:00april 25th, 2009|Events|Kommentarer lukket til MMS 2009 – Trying to keep up with my schedule

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

Speed up performance on the Config Mgr. 2007 MMC console

The MMC 3.0 might not be the fastest console in the world so here are a few little tricks that might speed up the performance. Open Internet Explorer, select Internet Options and the Advanced tab. Remove the check mark from Check for publisher’s certificate revocation.   The revocation check only takes place a startup (when the DLL’s are loaded) so it wont effect the performance once the console i loaded. Another trick that might boost the performance when working with snap-ins in the MMC is to use the mmcperf.exe command found in .\Windows\System32\ Open a command prompt Navigate to Windows\System32 [...]

By |2009-04-08T07:09:55+01:00april 8th, 2009|General info|1 Kommentar

Config Mgr. – Error creating query in a folder

Permissions required to create and modify a query in Configuration Manager is: Read Create Modify However if you have configured folders in the Query object you might end up with this error. The error message states that you don’t have permissions to create the query – but that’s not true. The query is created just not in the folder you expected. Instead the query is created in the root of the Query object. To fix this you need to assign Manage Folder permissions to the Query object. Then it works as expected.

By |2009-04-07T13:38:41+01:00april 7th, 2009|Security|Kommentarer lukket til Config Mgr. – Error creating query in a folder

Configuration Manager 2007 – Defining the service/helpdesk role

Defining permissions requires configuring access rights in the Config Mgr. console and adding objects to predefined groups on the site server. In this example I am defining permissions to the service desk role. Role description: Access to a user defined administrator console. Permissions to work with all objects in the “All workstations” collection. Permissions to to use remote tools. Permissions to read inventory data from the console and from reports. Permissions to read software packages and advertisements Permissions to read status messages. Permissions to create and read queries. To solve this case I have granted these Config Mgr. permissions: Object [...]

By |2009-04-07T12:19:22+01:00april 7th, 2009|Security|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

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

Speed up performance on the Config Mgr. 2007 MMC console

The MMC 3.0 might not be the fastest console in the world so here are a few little tricks that might speed up the performance. Open Internet Explorer, select Internet Options and the Advanced tab. Remove the check mark from Check for publisher’s certificate revocation.   Another trick that might boost the performance when working with snap-ins in the MMC is to use the mmcperf.exe command found in .\Windows\System32\ Open a command prompt Navigate to Windows\System32 Type mmcperf.exe - you will notice that the mmc dll files are now being "GAC'd" which they for some unknown reason aren't by default. [...]

By |2009-03-07T13:00:34+01:00marts 7th, 2009|General info|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