deep freeze and microsoft system center configuration

19
Deep Freeze and Microsoft System Center Configuration Manager 2012 Integration Introduction This white paper explains how to integrate Microsoft System Center Configuration Manager with Deep Freeze. Requirements Integration of Deep Freeze with Configuration Manager requires a fully configured site server for software distribution and that the Configuration Manager client is installed on the client workstations. Configuring the Configuration Manager Client to Collect Faronics Product Data The Configuration Manager clients can be configured to collect information on the configuration of the various Faronics products installed on a managed workstation. Faronics publishes many pieces of information regarding our installed products in the workstations WMI Repository. This information can be used by the Configuration Manager to build collections of workstations based on the presence and configuration of Faronics products. To start we will first need to configure the Configuration Manager client to include this information in the list of data that is collected as part of the hardware inventory. Before proceeding please ensure that the Faronics products that you are looking to gather information on are installed on a workstation running the Configuration Manager Client.

Upload: others

Post on 29-Jul-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Deep Freeze and Microsoft System Center Configuration

DeepFreezeandMicrosoftSystemCenterConfigurationManager2012IntegrationIntroductionThiswhitepaperexplainshowtointegrateMicrosoftSystemCenterConfigurationManagerwithDeepFreeze.

RequirementsIntegrationofDeepFreezewithConfigurationManagerrequiresafullyconfiguredsiteserverforsoftwaredistributionandthattheConfigurationManagerclientisinstalledontheclientworkstations.

ConfiguringtheConfigurationManagerClienttoCollectFaronicsProductDataTheConfigurationManagerclientscanbeconfiguredtocollectinformationontheconfigurationofthevariousFaronicsproductsinstalledonamanagedworkstation.FaronicspublishesmanypiecesofinformationregardingourinstalledproductsintheworkstationsWMIRepository.ThisinformationcanbeusedbytheConfigurationManagertobuildcollectionsofworkstationsbasedonthepresenceandconfigurationofFaronicsproducts.

TostartwewillfirstneedtoconfiguretheConfigurationManagerclienttoincludethisinformationinthelistofdatathatiscollectedaspartofthehardwareinventory.BeforeproceedingpleaseensurethattheFaronicsproductsthatyouarelookingtogatherinformationonareinstalledonaworkstationrunningtheConfigurationManagerClient.

Page 2: Deep Freeze and Microsoft System Center Configuration

1. OpentheConfigurationManagerConsoleandclickontheAdministrationNode.

2. ClickontheClientSettingsnodeshowninthenavigationpaneontheleft.

Page 3: Deep Freeze and Microsoft System Center Configuration

3. Right-clickontheClientSettingsthatyouwishtomodifyandselectProperties.InourcasethisistheDefaultClientSettings.

4. InthepropertiesdialogclickonHardwareInventory.

Page 4: Deep Freeze and Microsoft System Center Configuration

5. IntheHardwareInventorysettingsclickontheSetClassesbutton.

6. AdialogshowingtheHardwareInventoryClassesisshown.ClickontheAddbutton.

Page 5: Deep Freeze and Microsoft System Center Configuration

7. AdialogtitledAddHardwareInventoryClassisshown.ClickontheConnectbuttontoconnecttotheworkstationthathastheappropriateFaronicsproductsinstalled.

8. Intheconnectionwindowthatisshownenterthecomputernameinthespecifiedfield,andenterroot/FaronicsinthefieldcalledWMInamespace.ChecktheRecursiveandtheCredentialsRequiredcheckboxes.Supplythecredentialsofauserwithadministrativerightsontheclientmachinethatyouareconnectingto.

9. ClickConnect.

Page 6: Deep Freeze and Microsoft System Center Configuration

10. OncetheWMIclasseshavebeenpulledfromtheworkstationtheywillbelistedasshowninthescreenshotbelow.CheckthecheckboxbesideeachclassthatyouwanttoimportintotheSCCMconsoleasshown.Inourexample,DeepFreezeisshownasselected.

11. ClickOK.

12. OncetheappropriateclassesarelistedintheHardwareInventoryClassdialogandarechecked

clickOK.

Page 7: Deep Freeze and Microsoft System Center Configuration

13. ClickOKonthedefaultsettingspropertiestoacceptthechangestotheclientconfiguration.

OncetheclientworkstationsnextupdatetheinventorytheinformationthatpertainstotheFaronicsproductsselectedwillberetrievedandcopiedintotheConfigurationManagersinformationonthatspecificsystem.ThisinformationcanthenbeusedtobuildqueriesincollectionsandreportstoidentifymachinesrunningDeepFreezeandotherFaronicsproducts.

BuildingCollectionsforFaronicsProductsOncetheHardwareinventoryisconfiguredtogatherinformationonFaronicsproductsyoucannowbuildacollectionthatwillrepresentworkstationsthatmeetspecificcriteria.InourexamplebelowwewillshowhowtoconfigureacollectionthatwillrepresentallworkstationswithDeepFreezeinstalled.

1. OpentheConfigurationManagerConsoleandclickontheAssetsandCompliancenode.

2. IntheAssetsandCompliancenodeclickontheDeviceCollectionsnode.

3. RightclickonthelefthandsideofthescreenwherecollectionsarelistedandselectCreateDeviceCollection.

4. IntheCreateDeviceCollectionWizardprovideanameforyourcollection,adescription,andselectthelimitingCollection.InourexampleweselectAllDesktopandServerClientsasthe

Page 8: Deep Freeze and Microsoft System Center Configuration

limitingcollection.

5. ClickNext.

6. Inthenextscreenwedefinethemembershiprulesforthecollection,clickontheAddRulebuttonandselectQueryRulefromthedropdownmenu.

Page 9: Deep Freeze and Microsoft System Center Configuration

7. Inthequeryrulesdialogenterthenameforyournewrule,andclickonEditQuery.

8. IntheQueryStatementPropertieswindowclickonCritera,andthenonthestaricontocreateanewcriteria.

9. IntheCriterionPropertiesdialogselecttheCriterionTypeofNullValue,andclickontheSelect

Page 10: Deep Freeze and Microsoft System Center Configuration

Button.

10. TheSelectAttributedialogwillbeshown,selectDeepFreezefromtheAttributeClassdrop-downandtheselectVersionfromtheAttributedrop-down.ClickOK.

11. IntheCriterionPropertieswindowensurethattheOperatordropdownissettoisnotNULLandClickOK.

Page 11: Deep Freeze and Microsoft System Center Configuration

12. IntheQueryStatementPropertiesdialogensurethatthecriteriaislistedinthewindow,andclickOK.

Page 12: Deep Freeze and Microsoft System Center Configuration

13. IntheQueryRulePropertiesdialogyoushouldseesomethingsimilartothescreenbelowshowingtheentireWMIqueryintheQueryStatementfield.IfyoudoclickOKtocontinue.

14. ClickNextintheCreateDeviceCollectionWizard.InthenextscreenconfirmyoursettingsandclickNext.

Page 13: Deep Freeze and Microsoft System Center Configuration

15. Oncethewizardcompletesyouwillseeamessageindicatingsuccessasshown.ClickClose.

Pleasenotethatworkstationsmaynotshowinthecollectionimmediatelyiftheyhavenothadtheappropriateinventorydatacollectedfromthemorifthechangestothesystemhaveoccurredafterthesystemslastreportedinventoryreport.

OtherCollectionscanbecreatedbychangingthevaluesthatarespecifiedintheCriterionPropertiesWindow.TocreateacollectionofallmachinesbasedoniftheyareFrozenorThawedfollowthestepsbelow:

1. FollowthestepsforcreatingacollectionofmachinesrunningDeepFreezeuntilyouhitstep9

2. IntheCriterionPropertiesdialogselecttheCriterionTypeSimpleValueandclickontheSelectbutton.

3. IntheSelectattributedialogselectDeepFreezeastheattributeclass,andselectDFStatusastheAttribute,andclickOK.

4. IntheCriterionPropertiesdialogselecttheOperatorasisequaltoandenter“1”intheValuefieldtobuildacollectionoffrozenmachines,anda“2”forthawedmachines.

5. IntheQueryStatementPropertiesdialogensurethatthecriteriaislistedinthewindow,andclickOK.

6. IntheQueryRulePropertiesdialogyoushouldseetheentireWMIqueryintheQueryStatementfield.IfyoudoclickOKtocontinue.

7. ClickNextintheCreateDeviceCollectionWizard.InthenextscreenconfirmyoursettingsandclickNext.

8. Oncethewizardcompletesyouwillseeamessageindicatingsuccessasshown,clickClose.

Page 14: Deep Freeze and Microsoft System Center Configuration

DeployingDeepFreezeTodeployDeepFreezetoclientworkstationsapackagemustbecreated,tocreatethepackagefollowthestepsbelow:

1. OpentheConfigurationManagerconsoleandselecttheSoftwareLibraryoption.

2. ExpandtheApplicationManagementnodeonthelefthandsideandselectPackages.

3. RightclickandselectCreatePackage.

4. IntheCreatePackageandProgramWizardEntertheName,Description,Manufacturer,Language,andVersionofthesoftwarethatyouareinstalling.

5. Checktheoption,ThispackagecontainssourcefilesandbrowsetothelocationwheretheDeepFreezeinstallationfilesarelocatedandselectthelocation.ClickNext

6. InthenextscreensupplythenameoftheprogramthatthispackagewillbeinstallingintheNamefield.

Page 15: Deep Freeze and Microsoft System Center Configuration

7. Enterthecommandlinefortheinstallofthesoftwarebyclickingbrowseandselectingtheinstallpackagethatyouaregoingtobeinstalling.Inthecommandlinefieldaddthecommandlineoptions/INSTALLand/NoReboottothecommandline.Thecommandlineshouldread;<filename>.exe/Install/NoReboot

8. UndertheRunModeoptionselectwhetherornotauserisloggedonastherunmode.

9. RemovethecheckboxunderAllowuserstoviewandinteractwiththeprograminstallation.

10. ClickNext.

11. IntheRequirementssectionselectThisProgramcanrunonlyonspecifiedplatformsandselecttheoperatingsystemsthatyouwishtoprotect,selectingoperatingsystemsthatyourversionofDeepFreezedoesnotsupportwillresultintheinstallationfailingontheclientworkstations.

Page 16: Deep Freeze and Microsoft System Center Configuration

12. ClickNext.

13. Reviewthesettingslistedonthesummaryscreen,ifeverythingiscorrectclickNext.

14. OncetheCreatePackageandProgramWizardcompletesclickClose.Youwillnowseeyourpackagelistedinthepackageslistreadytobedeployedtoworkstations.

Page 17: Deep Freeze and Microsoft System Center Configuration

ThawingDeepFreezethroughSCCMAdministratorscanconfigureSCCMsothatitcanThawandFreezeworkstationsbyconfiguringapackagethatwillruntheappropriatecommandlinecontrolsontheworkstationsthatneedtobethawedorfrozen.

ConfiguringDeepFreezewithaCommandLinePasswordThefirststepofgettingaThawtaskconfiguredistoconfiguretheDeepFreezeinstallontheclientworkstationwithacommandlinepassword.ThecommandlinepasswordsareconfiguredintheDeepFreezeConfigurationAdministratoronthepasswordtab.Administratorswillneedtobuildanewinstallationpackagetoinstall,oranewconfigurationfiletopushtotheclientworkstationstomaketheappropriatechangesontheclientsystems.

1. OpentheDeepFreezeConfigurationAdministrator.

2. IfyouareeditinganexistingconfigurationfileclickontheOpeniconandselecttheappropriatefiletoedit,ifworkingonanewconfigurationfileskipthisstep.

3. ChecktheenablecheckboxnexttoanewpasswordandselectCommandLineintheTypedrop-downdialog.

4. Enteryourcommandlinepasswordinthepasswordfield.Passwordsshouldbelongenoughtobesecure,andshouldonlycontainalphanumericcharactersassomecharactersareinterpreteddifferentlyonthecommandlineandmayinterferewithusingthecommandlinecontrols.

5. Makeanyotherconfigurationchangesthatyouneed.

6. ClickontheSaveAsbuttontosavetheconfigurationfileasaRDXfileforconfigurationupdates,orClickontheCreatebuttontocreateanewinstallationfilefordeploymenttoworkstations.

Page 18: Deep Freeze and Microsoft System Center Configuration

AftersavingtheconfigurationfileorworkstationinstallereitherupdatetheconfigurationoftheworkstationthroughtheEnterpriseConsoleorreinstallDeepFreezeontheclientworkstation.

Afterchangingtheconfigurationitisstronglyrecommendedtotesttheconfigurationbyrunningthecommandlinecontrolmanuallyfromthecommandlinetoensurethatitproperlycontrolstheworkstation.Commandlinesyntaxforthesoftwarecanbefoundattheendofthisdocument.

CreatingtheThaw/FreezeTask1. OpentheConfigurationManagerconsoleandselecttheSoftwareLibraryoption.

2. ExpandtheApplicationManagementnodeonthelefthandsideandselectPackages.

3. RightclickandselectCreatePackage.

4. IntheCreatePackageandProgramWizardEntertheName,Description,Manufacturer,Language,andVersionofthesoftwarethatyouareinstalling.

5. InthenextscreensupplythenameoftheprogramthatthispackagewillbeinstallingintheNamefield.

6. Enterthecommandlineforthecommandlinecontrolthatyouwanttorunontheclientworkstation.ForExample:

32bitWindowsC:\Windows\System32\dfc.exepassword/THAWNEXTBOOT1C:\Windows\System32\dfc.exepassword/FREEZENETXBOOT64bitWindowsC:\Windows\SysWOW64\dfc.exepassword/THAWNEXTBOOTC:\Windows\SysWOW64\dfc.exepassword/THAWNEXTBOOTFullpathsmaynotberequiredprovidedthatthefolderthatDFCislocatedinisincludedinthesystempath.

7. UndertheRunModeoptionselectwhetherornotauserisloggedonastherunmode.

8. RemovethecheckboxunderAllowuserstoviewandinteractwiththeprograminstallation.

9. ClickNext.

10. IntheRequirementssectionselectThisProgramcanrunonlyonspecifiedplatformsandselecttheoperatingsystemsthatyouwishtoprotect,selectingoperatingsystemsthatyourversionofDeepFreezedoesnotsupportwillresultintheinstallationfailingontheclientworkstations.

1Pleasenotethatwedonotrecommendrunning/BOOTTHAWEDor/BOOTFROZENasthesecommandswillcauseaworkstationtorebootimmediatelyandmayinterferewiththeexecutionoftasksthatusethesetasksaspre-requisites.

Page 19: Deep Freeze and Microsoft System Center Configuration

11. ClickNext.

12. Reviewthesettingslistedonthesummaryscreen,ifeverythingiscorrectclickNext.

13. OncetheCreatePackageandProgramWizardcompletesclickClose.Youwillnowseeyourpackagelistedinthepackageslistandcannowbeincludedasapre-requisiteforthawingworkstationsbeforerunningothertasks.