Code Monkey home page Code Monkey logo

windows10featureupdates's Introduction

Windows 10 Feature Updates Scripts Framework

UPDATE: 08/30/2020

I have re-worked this repo to enable you to generate all of the files/scripts then create CIs, Baselines and an Application. Follow the instructions at the end of the script to complete the setup - there are still some manual steps required.

I would recommend downloading the whole repo, then editing the first set of parameters in SetupFUFramework.ps1 to add your server and file share information. You can also pass them in as parameters.

Note: Once the application has been created within ConfigMgr, the script will exit if you attempt to re-run. You must delete the app (or rename in ConfigMgr or in the script parameters) before the script will run again.

Getting Started

Usage

    .\SetupFUFramework -SiteCode "PS1" -SiteServer "CM01.ASD.NET" -ApplicationFolderName "FUApplication" -ApplicationSourceRoot "\\CM01.ASD.NET\Media\$($ApplicationFolderName)" -NetworkLogPath "\\CM01.ASD.NET\FeatureUpdateLogs"

Ouput

SetupFUFramework.ps1 Script Output

  • .\<ApplicationFolderName>
    • Scripts
      • Process-Content.ps1
      • Process-FeatureUpdateLogs.ps1
      • Process-SetupDiag.ps1
      • SetupComplete.cmd
      • SetupDiag.exe
      • Trigger-DCMEvaluation.ps1
    • Update
      • failure.cmd
      • postuninstall.cmd
      • precommit.cmd
      • preinstall.cmd
      • success.cmd
  • .\Exports
    • Feature Update - Inventory OSVersionHistory and SetupDiag_<CI_ID>.cab
    • Feature Update - No Logged On User Failure_<CI_ID>.cab
    • Exports\Feature Update - Scripts and Files Are Present_<CI_ID>.cab

In ConfigMgr

  • \Software Library\Overview\Application Management\Applications
    • Feature Update - Client Content
  • \Assets and Compliance\Overview\Compliance Settings\Configuration Baselines\Feature Updates
    • Feature Update - Inventory OSVersionHistory and SetupDiag
    • Feature Update - No Logged On User Failure
    • Feature Update - Scripts and Files Are Present
  • \Assets and Compliance\Overview\Compliance Settings\Configuration Items\Feature Updates
    • Feature Update - Feature Update Files
    • Feature Update - No logged on interactive user - Failed
    • Feature Update - OS Version Inventory
    • Feature Update - SetupConfig.ini
    • Feature Update - SetupDiag Inventory
    • Feature Update - SetupDiag Results
    • Feature Update - SetupDiag Version

Application Installation

On the client, files are stored in c:\~FeatureUpdateTemp. Logs are written to c:\~FeatureUpdateTemp\Logs and c:\Windows\CCM\Logs

  • C:~FeatureUpdateTemp
    • Scripts
      • Process-Content.ps1
      • Process-FeatureUpdateLogs.ps1
      • Process-SetupDiag.ps1
      • SetupComplete.cmd
      • SetupDiag.exe
      • Trigger-DCMEvaluation.ps1
  • C:\Windows\System32\update\<GUID>
    • failure.cmd
    • postuninstall.cmd
    • precommit.cmd
    • preinstall.cmd
    • success.cmd

Additional Steps Required

After running SetupFUFramework you must do the following:

  • Add a Version detection Rule for SetupDiag.exe to the Feature Update - SetupDiag Version Configuration Item. Rule Name: SetupDiag.exe Version = 1.6.0.42 Rule Type: Value Property: File Version Type Equals Value: 1.6.0.42 NonCompliance : Critical

  • Import OSVersionHistory.MOF into Default Client Settings Hardware Inventory.

  • Import SetupDiag.MOF into Default Client Settings Hardware Inventory.

  • Distribute Content for the application Feature Update - Client Content.

  • Deploy the application Feature Update - Client Content to all Windows 10 devices.

  • Deploy the Configuration Baseline to all Windows 10 devices.

  • Deploy the Configuration Baseline to all Windows 10 devices.

  • Deploy the Configuration Baseline to all Windows 10 devices.

  • Create new Compliant collection for Baseline Deployment.

  • Create new Feature Update deployment collection using the Baseline Deployment Compliant collection as the limiting collection.

  • Use this new collection as your limiting collection for all Feature Update deployments. It will ensure that you don't deploy to devices without Feature Update files staged.

Reporting

Use the Power Bi template in the Reporting folder to report on the custom inventory that is generated after installing the MOFs and deploying the CIs/Baselines.

OS History Cumulative OS History Build Type By Day SetupDiag Failures Computer Details

Demos

Running SetupFUFramework
Distributing and Deploying Application
Importing MOFs
Updating and Deploying CIs and Baselines

windows10featureupdates's People

Contributors

adamgrosstx avatar rdearson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.