Coder Social home page Coder Social logo

fu.whyamiblocked's Introduction

FU.WhyAmIBlocked

Build Status

PowerShell Gallery

PSGallery Downloads

Summary

Can't get the latest Windows 10 Feature update? Need to find out what's blocking you? This module will help you find the block quickly!

Getting Started

Install module from gallery

Install-Module FU.WhyAmIBlocked -Scope CurrentUser
Import-Module FU.WhyAmIBlocked

Once module is installed run command to collect data from the local device..

Get-FUBlocks

Python is required to process the sdb compatibility database, but the module will still function partially without it.

Build from source

if you want to use the module from the repo, you will need to build it first. It will be output to .\bin\release\FU.WhyAmIBlocked

.\Build.ps1 -ModulePath .\FU.WhyAmIBlocked
Import-Module ".\bin\release\FU.WhyAmIBlocked" -Force

Additional commands

Create config file.

if you need to customize paths, run this command. This creates a configfile in C:\FeatureUpdateBlocks\fuconfig.json that you can edit as needed.

Initialize-FUModule 

Convert appraiser bin files to XML

if you have .bin files collected in a folder already, you can process them. OutputPath must exist before running the command.

ConvertFrom-FUBinToXML -FileList @("c:\temp\myfile1.bin","c:\temp\myfile2.bin") -OutputPath "C:\temp\"

Export SDB to XML

Exracts cab files with sdbs and/or Converts extracted sdb files to XML.

Export-FUXMLFromSDB -AlternateSourcePath "c:\temp"

Get blocks from appraiser .bin files

Get-FUBlocksFromBin -FileList @("c:\temp\myfile1_humanreadable.xml","c:\temp\myfile2_humanreadable.bin")

Lookup blocks and related blocks in sdb

$SdbAppGUIDs = @("{31f134a0-ce2c-4e97-b65d-746d6071bfba}")
Find-FUBlocksInSDB -BlockList $SdbAppGUIDs -Path "c:\temp\"

Create reg and ps1 files to bypass blocks (where available)

Requires .json file from Find-FUBlocksInSDB to be in the Path location.

Export-FUBypassBlock -Path "c:\temp"

Folder and files paths

Default folders/files

$env:USERPROFILE\.fucfgpath - Created when module is imported the first time.
C:\FeatureUpdateBlocks
C:\FeatureUpdateBlocks\AppraiserData
C:\FeatureUpdateBlocks\Bin
C:\FeatureUpdateBlocks\CABs
C:\FeatureUpdateBlocks\XML
C:\FeatureUpdateBlocks\Results.txt

All other files/folders are named based on their original folder structure and file names.

C:\FeatureUpdateBlocks\*_matches.json
C:\FeatureUpdateBlocks\*_matches.txt
C:\FeatureUpdateBlocks\*_BypassFUBlock.reg
C:\FeatureUpdateBlocks\*_BypassFUBlock.ps1
C:\FeatureUpdateBlocks\*_<ver>.XML

<SourceParentFolder1>_<SourceParentFolder2><ver>_<filename>
example:
AppCompatAppraiser_2379_Appraiser_AlternateData.cab

Resources used

fu.whyamiblocked's People

Contributors

adamgrosstx avatar virtualtim 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.