A collection of tools to help technicians service computers.
If tmux wasn't already running it would output an error but still work. The new approach will suppress that since we're not concerned if it's already running or not, just whether the desired session is. Modified the live macOS args to support connecting to the HW-Diags session remotely (more easily at least). |
||
|---|---|---|
| docs | ||
| images | ||
| scripts | ||
| setup | ||
| .gitignore | ||
| LICENSE.txt | ||
| README.md | ||
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.cmdwhich will do the following:- Download 7-Zip, ConEmu, Notepad++, and Python (including wheel packages)
- Open
main.pyin Notepad++ for configuration - Update the rest of the tools with the
.bin\Scripts\update_kit.pyscript
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.cmdto help discourage - recovering data to the same drive.
- This folder is not copied by
Data TransfersDiagnosticsDriversInstallersMiscRepairsUninstallers
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).
- See the installation guide for details.
- Add a standard user to the Arch Linux installation.
- See the wiki page for details.
- Install git #
pacman -Syu git - (Recommended) Install and configure
sudo- See the wiki page for details.
- 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.pyinnanofor configuration - Downloads, builds, and adds AUR packages to a local repo
- Builds the Live Linux ISO
- Installs missing dependencies via
- $
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.cmdwhich will do the following:- Load the WADK environment
- Open
main.pyin 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-infoto help.
- You can use $
- $
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_FULLdefaults to "Wizard Kit" but can be changed inmain.py
- You can include extra items by using the
--extra-diroption- (e.g. $
sudo build-ufd --ufd-device [device] --linux-iso [path] --main-kit [path] --winpe-iso [path] --extra-dir [path])
- (e.g. $
- 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
- PowerShell 6.0 on Windows 7 is not supported by the build script.
- See wimlib-imagex for details about split WIM images.