A collection of tools to help technicians service computers.
Find a file
2Shirt 1dbad4bafe
Split result variables to result and message
result is for the return variable from TryAndPrint calls.
message is the text to display or save to the registry.
2021-04-24 20:18:45 -06:00
docs New project organization 2019-06-28 18:06:43 -06:00
images Add macOS wallpaper 2021-04-01 23:06:48 -06:00
scripts Split result variables to result and message 2021-04-24 20:18:45 -06:00
setup Don't suppress bells in ConEmu 2021-04-20 22:23:05 -06:00
.gitignore Add fixes for El Capitan 2021-04-04 03:14:59 -06:00
LICENSE.txt Update year in LICENSE.txt 2021-03-24 21:46:04 -06:00
README.md Removed inxi 2018-09-26 16:16:58 -06:00

Wizard Kit

A collection of scripts to help technicians service Windows systems.

Main Kit

Build Requirements

  • PowerShell 3.0 or newer1
  • 10 Gb disk space

Initial Setup

  • Replace artwork as desired
  • Run Build Kit.cmd which will do the following:
    • Download 7-Zip, ConEmu, Notepad++, and Python (including wheel packages)
    • Open main.py in Notepad++ for configuration
    • Update the rest of the tools with the .bin\Scripts\update_kit.py script

Layout

  • Root
    • Main script launchers:
  • .bin
    • Extracted programs: As compressed tools are run they will be extracted here.
    • Scripts
      • "Real" scripts live here and are run via their respective launchers.
  • .cbin
    • This folder holds the compressed and encrypted tool archives.
    • They are extracted at runtime as needed.
  • Data Recovery
    • This folder is not copied by Copy WizardKit.cmd to help discourage
    • recovering data to the same drive.
  • Data Transfers
  • Diagnostics
  • Drivers
  • Installers
  • Misc
  • Repairs
  • Uninstallers

Live Linux

Build Requirements

  • Arch Linux
  • 6 Gb disk space

Initial Setup

  • Replace artwork as desired
  • Install Arch Linux in a virtual machine (VirtualBox is a good option for Windows systems).
  • Add a standard user to the Arch Linux installation.
  • Install git # pacman -Syu git
  • (Recommended) Install and configure sudo
  • Login to the user added above
  • Download the Github repo $ git clone https://github.com/2Shirt/WizardKit.git
  • Run the build script
    • $ cd WizardKit
    • $ ./Build\ Linux -b
    • The build script does the following:
      • Installs missing dependencies via pacman
      • Opens main.py in nano for configuration
      • Downloads, builds, and adds AUR packages to a local repo
      • Builds the Live Linux ISO

Notes

  • The WinPE boot options require files to be copied from a completed WinPE build.
    • This is done below for the Combined UFD

Windows PE

Build Requirements

  • Windows Assessment and Deployment Kit for Windows 10
    • Deployment Tools
    • Windows Preinstallation Environment (Windows PE)
    • All other features are not required
  • PowerShell 3.0 or newer
  • 8 Gb disk space

Initial Setup

  • Replace artwork as desired
  • Run Build PE.cmd which will do the following:
    • Load the WADK environment
    • Open main.py in notepad for configuration
    • Download all tools
    • Build both 32-bit & 64-bit PE images (exported as ISO files)

Combined Wizard Kit

Build Requirements

  • 64-bit system or virtual machine
  • 4 Gb RAM
  • 8 Gb USB flash drive (16 Gb or larger recommended)

Overview

There's a build-ufd script which does the following:

  • Checks for the presence if the Linux ISO and the (64-bit) WinPE ISO.
  • Formats the selected UFD using FAT32.
    • All data will be deleted from the UFD resulting in DATA LOSS.
  • Copies the required files from the Linux ISO, WinPE ISO, and Main Kit folder to the UFD.
  • Installs Syslinux to the UFD making it bootable on legacy systems.
  • Sets the boot files/folders to be hidden under Windows.

Setup

  • Boot to a Live Linux ISO built following the instructions above.
    • You can apply it to a UFD using rufus for physical systems.
    • Virtual machines should be able to use the Linux ISO directly.
  • Mount the device(s) or network share(s) that contain the Linux ISO, WinPE ISO, and Main Kit folder.
  • Connect the UFD but don't mount it.
  • Get the device name of the UFD.
    • You can use $ hw-drive-info to help.
  • $ sudo build-ufd --ufd-device [device] --linux-iso [path] --main-kit [path] --winpe-iso [path]
    • 2nd Warning: All data will be erased from the UFD resulting in DATA LOSS.
    • NOTE: The Main Kit folder will be renamed on the UFD using $KIT_NAME_FULL
      • $KIT_NAME_FULL defaults to "Wizard Kit" but can be changed in main.py
    • You can include extra items by using the --extra-dir option
      • (e.g. $ sudo build-ufd --ufd-device [device] --linux-iso [path] --main-kit [path] --winpe-iso [path] --extra-dir [path])
    • To include images for the WinPE Setup section, put the files in "Extras/images".
      • WinPE Setup will recognize ESD, WIM, and SWM2 images.
      • The filenames should be "Win7", "Win8", or "Win10"

Notes

  1. PowerShell 6.0 on Windows 7 is not supported by the build script.
  2. See wimlib-imagex for details about split WIM images.