Wednesday 15 August 2012

Removal or uninstallation or deletion of Site server (s) rather Decommission of sites and Hierarchies

This is the post where we can find some useful details about removal or uninstallation or deletion of Site server (s) rather Decommission of sites and Hierarchies
Also, we’re going to discuss about the difference between the options Uninstall and Delete (Secondary site/s).
We will be able to REUSE the site code of secondary server/s if is no longer in use in your Configuration Manager hierarchy or in the Active Directory forest. However, Site codes cannot be used more than one time in a ConfigMgr hierarchy for a CAS or primary sites. If you reuse a site code, you run the risk of having object ID conflicts in your ConfigMgr hierarchy.
When we want to remove entire SCCM/ConfigMgr hierarchy with lot of site servers (primary and secondary etc..), we’ve to follow bottom up approach. That means, Remove secondary sites attached to primary sites, primary sites from the central administration site (CAS), and then the central administration site (CAS) itself.
More Details on decommission of sites and Hierarchies through TechNet.
Uninstall/Remove/Decommission Secondary Site
1. Go To Administration—> Site Configuration –> Sites, click on the secondary site that you want to delete and select the Delete option in the ribbon.
image
2. There are two options in uninstallation wizard.
a) Uninstall the secondary Site
Use the first option “Uninstall the secondary Site”, when you want to remove a functional secondary site that is accessible on the network.
When you uninstall a secondary site, this action uninstalls ConfigMgr from the secondary site server and then deletes all information about the site and its resources from the ConfigMgr hierarchy.
b) Delete the secondary Site
Use Delete the secondary Site option if one of the following condition is true:
- A site has failed to install
- The site remains visible in the ConfigMgr console after you’ve uninstalled it.
When you delete a secondary site, this action deletes information about the secondary site and it’s resources from the ConfigMgr hierarchy and leaves ConfigMgr installed on the secondary site sever.
image
Uninstall/Remove/Decommission Primary or CAS site
1. Login to the primary or CAS server and Click Configuration Manager Setup from the Start menu
image
2. Select “Uninstall a Configuration Manager Site” option.
When there is a secondary site attached to the primary site, we must remove the secondary site before you can uninstall the primary site. Otherwise it won’t allow you to proceed with uninstallation.
When there is a primary site attached to the central administration site (CAS), we must uninstall the primary site before you can uninstall the central administration site..
image
3. Click Yes and Next
image
4. We can verify the ConfigMgrSetup.log file for more details about the uninstallation of the site.
INFO: Uninstallation the CAS site
INFO: Configuration Manager Setup – Uninstallation
INFO: Entering THREAD_Deinstall
image
5. Review the ConfigMgrSetup.log file to check whether Uninstallation has been completed successfully or not.
INFO: Completed the uninstall of the Configuration Manager Site
image

Thursday 7 June 2012

Managing monthly updates in SCCM

Introduction

In this guide I will show you one way of updating your monthly updates released from Microsoft on the second Tuesday of every Month. Many different scenarios can be followed to deploy software updates. In this example, we will use a Software Updates Deployment Package called All Windows XP Updates to store the updates we want made available to our XP machines. We will create a new Deployment Management Task to deploy the new updates, and we will clean up our previous Deployment Management Tasks and remove any expired updates referenced in it by deleting them. As we are not using Update Lists in this guide we will not be concerned with reporting, but if you want to report on the status of your Updates, you should use Update Lists as Part of your Process.


all_windows_xp_updates_deployment_package.jpg

This Deployment Package had been created earlier when setting up the Software Update Point, but you can create a new one if you need to.

We will use a Deployment Management task to start the deployment called All XP Updates.

all_xp_updates_deployment_management_task.jpg

and as you can see from the screenshot above it contains some updates which are expired and this is noticeable because of the Grey Icon.

icon_meanings.jpg

We will also use our Windows XP All Updates search folder which is created with the following Search Folder Criteria

search_folders.jpg


Step 1. Run a Synchronisation.


Expand your Software Updates node in configmgr, right  click on Update Repository and choose Run Synchronisation. Answer Yes when prompted. You can verify that the synchronisation process has completed in the Site Status, Component Status, SMS_WSUS_SYNC_MANAGER log. Look for Message ID 6702 which is SMS WSUS Synchronization Done.

sync done.jpg


Step 2. Check our Deployment Package

To start off the monthly update process we need to first see what updates we currently have in our Deployment Package and remove any expired or superseded updates contained within.

Expand your Software Updates node in configmgr, expand the Deployment Packages node and highlight the All Windows XP Updates Deployment Package. Expand the Software Updates node within so that you can see what updates we have, click on the Bulletin ID heading to sort our updates.

bulletin_id.jpg

Take note of the Expired or Superseded updates and highlight them and once done right click and choose Delete. You can press CTRL while selecting these updates and don't forget to scroll so you see all updates.

delete_grey.jpg

We only want Green updates in our Deployment Package.

Click ok when prompted about the Delete process

the_selected_updates_will_be_removed_from_the_package.jpg

click ok if prompted about Deployment can fail process, this is ok as we will be updating the Deployment Management Task.

deployment_to_fail.jpg

At this point we now have removed all the expired updates so only green 'good' updates are left, sort the updates by BulletinID again and take note of the most recent one, in our case that is MS09-026

all green.jpg


Step 3. Using the Search folder, select the new updates

Open our Windows XP All Updates search folder and sort by BulletinID

new updates in search folder.jpg

as you can see there are a few updates released since our Deployment Package was last updated a month ago, and we need to select those new updates since MS09-026 which was the last update listed in our Deploymet Package (From June 2009)

Right-click and choose Download Software Updates

download software updates.jpg

on the select a deployment package screen click on browse and select our All Windows XP Updates Deployment Package

select a deployment package.jpg

on the Download Location screen choose to download software updates from the internet

download software updates from the internet.jpg

select your chosen language and click Finish

select language.jpg

click next and close when prompted...
Step 4. Deploy the selected updates

right click the selected updates again and this time choose Deploy software updates

deploy software updates.jpg

give the Deployment Task a name

monthly updates.jpg

for Deployment Template, choose the one that suits your environment

deploy software updates wizard.jpg

select our Deployment Package

deployment package selected.jpg

go with the Default Choice of Download Software updates from the Internet

download.jpg

select your language

language.jpg

set the Schedule as below

as soon as possible and ignore.jpg

Step 5. Target the Deploy Task to the collection you want to receive the updates

Expand the Deployment Management Tasks node and right click, choose Refresh

refresh.jpg

you will see that the task is targetted to the Blank for Staging collection which is an Empty collection, right click it the Deployment Management task and choose properties

properties and blank for staging.jpg

select your targetted XP collection

select collection.jpg

click ok and apply



Step 6. Monitor your XP machines and verify that they are receiving the Updates


just before the deadline occurs, your XP machines should start receiving the new Update Policy and inform you

software updates.jpg

finally, once the deadline has been reached the updates are installed automatically

software updates being installed.jpg

Tuesday 5 April 2011

how can I deploy an application in SCCM 2007 SP1 step by step guide

Step 1. Create the Package

In this example we are going to deploy Firefox (Firefox Setup 3.0.1.exe).

To make updating versions of Firefox easier (this will be covered later in this guide) we will rename the file from Firefox Setup 3.0.1.exe to Firefox.exe. We then copy that file to d:\sccm_packages\apps\firefox (your path may vary).

Startup your Configuration Manager console (gui) and click on Site Database/Computer Management/Software Distribution and then select Packages in the left pane.

Resized to 63% (was 1102 x 687) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221121177.jpg


right click on packages and choose New/package a wizard will begin

Attached Image: monthly_09_2008/post-1-1221129990.jpg

fill in the package properties as you wish in General

Resized to 98% (was 714 x 551) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221137121.jpg


For Data Source, place a check in This package contains source files and click on Set to specify the source of the sccm package

Resized to 98% (was 714 x 551) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221137814.jpg


change the source directory location to Local drive on site server and browse to the path
of your Firefox package next click ok and then set the schedule to update the distribution points

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221248391.jpg


set your Data Access options (I left them as default)

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221138642.jpg


set the priority for the package in distribution settings to high

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221138945.jpg


keep the MIF properties as default

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221139077.jpg


set the Security rights for the package class and instance rights

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221139424.jpg


review the summary of choices you made

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221249057.jpg


and click next to install the package, you'll then see a confirmation that it's installed

Resized to 98% (was 714 x 552) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221248490.jpg

Microsoft MVP 2010 - ConfigMgr
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog on myITforum
0

#2 User is offline   anyweb 


  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 3,252
  • Joined: 28-September 06
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager
Posted 12 September 2008 - 07:33 AM
Step 2. Create a Program for the package


In Configuration Manager console, expand our newly added Mozilla Firefox package and right click on Program, choose New from the list of options

Attached Image: monthly_09_2008/post-1-1221204418.jpg

fill in the program details (we are using the -ms switch for installing firefox silently, for a list of application silent switches please see this page on MSFN.org


Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221204807.jpg


choose All X86 Windows Vista and All X86 Windows XP for the program requirements

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221205126.jpg


set the environment variables (choose Program can run whether or not the user is logged on)

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221205265.jpg


leave the advanced settings as they are

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221205549.jpg


our package is not a Windows Installer package so we can ignore this page also

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221205648.jpg


place a checkmark in the MOM alert option if the program fails

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221205721.jpg


review the program summary and click next to proceed

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221205796.jpg


click Close to finish.

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221206319.jpg

Microsoft MVP 2010 - ConfigMgr
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog on myITforum
0

#3 User is offline   anyweb 


  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 3,252
  • Joined: 28-September 06
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager
Posted 12 September 2008 - 08:22 AM
Step 3. Advertise the Package

Once a software distribution package has been created, along with programs to tell client computers what to do with the package, you need to advertise the program that you want the clients to run. Advertising the program makes a program available to a specified collection of clients.

In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Computer Management / Software Distribution / Advertisements, right click on Advertisements and choose New Advertisement.

Attached Image: monthly_09_2008/post-1-1221207305.jpg

fill in your details for the advertisemet and click on the browse buttons to choose the package/program/collection as nescessary:


Note: In the screenshot below, the Firefox Application is going to be Advertised to the All Systems collection and all sub collections, in a LAB environment that is ok but in a production environment you would want to carefully plan what computers (or users) would get the software, you can do that by using this method (recommended).


Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221207709.jpg


when prompted about distribution points, click yes (we will update the distribution point later)

Attached Image: monthly_09_2008/post-1-1221208490.jpg

set the advertisement schedule

Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221210029.jpg


and click on the yellow star to set mandatory settings

Attached Image: monthly_09_2008/post-1-1221210206.jpg

review the changes

Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221210317.jpg


review your distribution point settings on a fast or slow lan...

Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221210505.jpg


customise the interaction by setting the time interval to 15 minutes

Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221210588.jpg


review the security instance/class rights

Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221210890.jpg


we will get an Advertisement summary, click on next to finish

Resized to 98% (was 714 x 550) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221210970.jpg

Microsoft MVP 2010 - ConfigMgr
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog on myITforum
0

#4 User is offline   anyweb 


  • Administrator
  • PipPipPip
  • Group: Root Admin
  • Posts: 3,252
  • Joined: 28-September 06
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager
Posted 12 September 2008 - 09:19 AM
Step 4. Create and Update Distribution point

In SCCM Configuration Manager console, highlight the package we created in Step 1 and right click on it, choose Distribution Points/New Distribution Point.

Attached Image: monthly_09_2008/post-1-1221216247.jpg

when the welcome to New Distribution Points wizard appears click Next

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221216529.jpg


Select your SCCM server from the list and click next

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221216642.jpg


review the summary and click close

Resized to 98% (was 714 x 530) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1221216710.jpg


Now we need to Update the distribution point we've just created with our advertisement package so right click on distribution points and choose update distribution points

Attached Image: monthly_09_2008/post-1-1221214840.jpg

answer yes when prompted

Attached Image: monthly_09_2008/post-1-1221214936.jpg

To speed up distribution of the Advertisements you may want to initiate the User Policy Retrieval & Evaluation Cycle and the Machine Policy Retrieval & Evaluation Cycle which are in the Actions tab of the Configuration Manager properties in control panel (on your client computers....)

Attached Image: monthly_09_2008/post-1-1222071283.jpg

Below are some screenshots of Firefox and Office packages being deployed to the sccm client computer

New Program Ready (Office)

Attached Image: monthly_09_2008/post-1-1222152941.jpg

Resized to 73% (was 958 x 570) - Click image to enlargeAttached Image: monthly_09_2008/post-1-1222153174.jpg


Assigned (firefox)

Attached Image: monthly_09_2008/post-1-1222152959.jpg

Firefox

Attached Image: monthly_09_2008/post-1-1222152947.jpg