CCMEXEC.COM – System Center blog

CCMEXEC.COM – by Jörgen Nilsson

Browsing Posts published in September, 2011

When Windows 8 Technical Preview was made available I just had to test it together with SCCM 2012 beta 2 and it works! Nice with some new toys.Here are some screenshots

Software Distribution

windows83

Inventory

windows82

Remote Control

windows8remote

Kent bet me to it, he posted this yesterday: http://blog.coretech.dk/kea/todays-big-question-can-you-deploy-the-configmgr-2012-beta-2-client-to-windows-8/

Niall already tested OS deployment with Windows 8, Excellent! http://www.windows-noob.com/forums/index.php?/topic/4215-using-sccm-2012-beta-2-in-a-lab-part-12-test-deploying-windows-8-developer-preview/

/Jörgen

I have used this script many times now in many different versions and I thought it was time to share an example on what can be achieved with a vbscript. It can be used to display information to the user and let the used postpone the Installation/Upgrade a number of times, check for running processes and more.

The following features exist in this example and can be seen as an example on what can be done, so adjust it to fill your needs. A HTA to display more information is one example of an enhancement, adding more processes to check another.

The script is run using the “Run this program before” feature and can be used both for Programs and for Task Sequences.

Functions:

  • Prompt the user that an installation/upgrade is about to be performed.
  • Allow the user to postpone the installation/upgrade of an application x amount of times. If the user postpones the installation the script will return exit code 1 and SCCM will assume it failed and not continue depending program or task sequence.
  • After x amount of times postponed the script will start the installation anyway.
  • Countdown timer
  • Check that the process specified is closed if not prompt the user to close it.

Screenshots of how it will look at the client:

prerun3

If the user press Cancel:

prerun4

If the Process specified is running:

prerun5

Usage:

  • Download the script: http://ccmexec.com/wp-content/uploads/2011/09/Prerun1.txt
  • Create a Package in SCCM containing the prerun1.vbs file
  • Create a Program with a command line for executing the script, for example:
    “wscript.exe prerun1.vbs Excel Excel.exe”
  • Configure the settings under environment according to the example below.

prerun1

  • For the Application you want to use it to install configure it to run the Prerun1 program before like this:prerun2
  • Then advertise it as you normally would and try it out!

I hope this can has showed a new example of what can be done using Configuration Manager and a little bit of scripting.

Hi,

Last week Tech-ED Australia was the big event in the System Center world of events! I wish I was there. There where a lot of interesting sessions with great content.

Recording of the sessions are coming online on Tech-ED Online for all of us to watch, thank you Microsoft for sharing the information:

There are a number of interesting session I will be watching:

Microsoft System Center Orchestrator 2012 Overview, Level 200: http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011/SEC216

Make The Move: Migrate from SCCM 2007 to SCCM 2012, Level 300: http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011/SEC305

Sneak peek at Microsoft System Center Service Manager 2012, Level 200: http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011/SEC202

Configuration Manager 2012 Infrastructure Drill Down, Level 400: http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011/SEC414

For a complete list of seesions: http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011?sort=sequential&direction=desc&term=

Enjoy the session!

Best of MMS is approaching fast! I have the great honor to deliver two sessions at Best of MMS in Stockholm/Sweden.

  • Forefront Endpoint protection 2012 + Configuration Manager 2012
    A level 300 session focusing on how Forefront 2012 uses the new features in Configuration Manager 2012 and how the two together will change the way we look at System Management
  • Microsoft Bitlocker Administration and Monitoring (MBAM)
    Which I will deliver together with Stefan Schörling – ConfigMgr MVP, www.msfaq.se.
    We will talk about the new possibilities and features in MBAM which will make Bitlocker even more interesting for larger organisations. The content will be level 300.

Looking forward to meet you at Best of MMS -Sverige 2011!

See you in Stockholm! More info about the event here.

mmssummit