How to Create a Portable Windows Toolkit on a USB Drive

On
Portable Windows Toolkit on a USB Drive

Let’s say you grabbed your friend’s old laptop and plugged in a USB stick. And within a minute, you get access to a text editor, web browser, file manager, and various diagnostic tools. And, as soon as you unplug your USB, no trace is left on the laptop. That’s what a portable Windows toolkit is all about. Whether you are a developer or an IT technician, a Windows toolkit on a USB drive is a must for troubleshooting PC problems. You don’t need to be a computer wizard to create such toolkits. In this tutorial, we’ll learn to create a portable Windows toolkit that can be booted from a USB stick.

Portable Windows Toolkit on a USB Drive
📷 Custom Portable Windows Toolkit on a USB Stick

Depending on your needs, you can customize this toolkit to include only those tools that you actually need. Make sure you have a spare USB drive or a portable SSD to create such a toolkit.

Read Also:
14 Must-Know Windows Commands to Keep Your PC Running Smoothly

If you are skeptical about it, you can first create a virtual disk on your system to test the toolkit creation process. Once you're sure of it, you can apply the same toolkit creation process to the actual USB stick.

What Is a Portable Windows Toolkit, Exactly?

A typical Windows toolkit is a bootable USB stick that runs independently on the host system and consists of various tools and utilities to troubleshoot problems related to the computer and the network. When unplugged, such a toolkit does not leave its trace or data on the host system.

A good and effective USB toolkit is primarily made up of two parts:

  • Portable applications: You can run these applications, viz., text editors, web browsers, etc, inside Windows on the host PC.
  • Bootable utilities: You can run these applications even before the Windows system is booted up. It's perfectly suited for repairing and troubleshooting problems on the host PC.

If one of these two is missing, your USB toolkit is incomplete.

Choosing the Right USB Drive

For best results and experience, you have to use the right kind of USB drive. A sluggish one can make your work difficult. Speed matters here.

Before purchasing a USB stick, take a look at these specifications:

Specification Minimum Recommended
USB Standard USB 3.0 USB 3.1 Gen 1 or higher
Read Speed 80 MB/s 150–400 MB/s
Write Speed 20 MB/s 60–150 MB/s
Capacity 16 GB 32–64 GB

If you are going to run a full-fledged bootable environment, I strongly recommend using a USB 3.1 or 3.2 flash drive or a portable SSD disk. Samsung, SanDisk, and Kingston are some of the popular brands when looking to get a USB stick or a portable SSD disk.

Formatting Your Drive

If you're creating a toolkit that'll consist of both bootable utilities and portable applications, use tools like Rufus or BOOTICE to manage and format the partitions correctly.

On the other hand, if your toolkit will only include portable apps, use the following formatting settings:

  • File System: exFAT, as it works well on Windows, macOS, and Linux.
  • Allocation Unit Size: 32768 (32 KB) is ideal for efficient performance.

Setting Up Your Folder Structure

Before you start copying apps, tools, and utilities into your USB toolkit, it's better to create a folder structure with a clear hierarchy. It'll save your time and won't create any confusion later on.

Here's an example folder structure you can use for your USB toolkit:

USB Drive (E:\)
│
├── Apps\
│   ├── Browsers\
│   ├── Editors\
│   ├── FileManagers\
│   ├── Media\
│   ├── Security\
│   ├── Networking\
│   └── Dev\
│
├── SysTools\
│   ├── Diagnostics\
│   ├── DiskTools\
│   ├── Recovery\
│   └── Benchmarks\
│
├── Drivers\
│   ├── Network\
│   ├── GPU\
│   └── Chipset\
│
├── ISOs\
│
├── Docs\
│
└── Launchers\
    └── StartMenu.exe

Arrange the tools and apps in the following folders:

  • Apps\ — Drop all the portable applications in this folder.
  • SysTools\ — Copy all the system tools and utilities in this folder.
  • Drivers\ — If you are looking to install Windows from scratch, this folder is a goldmine. Copy all the driver packages here.
  • ISOs\ — Use this folder to store all the OS ISO files that may be picked by tools like Ventoy to directly boot an operating system from the USB drive.

The Must-Have Portable Apps

Now, let's categorize all the portable apps you may need for your USB toolkit. All of the applications listed below are available in portable format. They run directly from the USB stick and do not require installation on the host PC.

Portable Browsers

While troubleshooting the system, at times you may want to look up information on the internet. And for that, you'll need a web browser. It also keeps all your important bookmarks handy.

Mozilla Firefox Portable: This is a must-have browser you must include in your toolkit. It keeps your bookmarks, passwords, and extensions on your USB toolkit.

Google Chrome Portable: It's the second option you may need in certain cases. Comparatively, it is slightly heavy or sluggish.

Pro Tip: Go to the about:config page in Firefox portable and set browser.shell.checkDefaultBrowser value to false. This way, you won't be prompted repeatedly about it not being the default browser on the host PC.

Text Editors and Code Editors

  • Notepad++ Portable: Again, this is a must-have portable app. For any text editing or scripting work, this lightweight and fast editor is indispensable.
  • Visual Studio Code Portable: To create its portable version, create a data directory in it and store all settings and extensions there.

To activate portable mode in Visual Studio Code:

  1. Download the .zip version from the official website.
  2. Extract and copy it to the Apps\ folder on your USB drive.
  3. Create a folder named data inside the app's extracted folder.
  4. Start the app by clicking the Code.exe executable, and it will automatically pick the data folder to store all the settings, etc.
VSCode\
├── Code.exe
├── data\          ← Create this folder
│   ├── user-data\
│   └── extensions\
└── ...

File Managers

FreeCommander XE Portable: It has a two-pane interface and supports archiving natively. It also has a directory comparison feature and comes with a nice tabbed UI. It is much more feature-packed and powerful when compared to Windows File Explorer.

Total Commander: This is another file explorer worth considering. It's shareware and requires a license to run.

Password Managers

KeePass 2 Portable: Its portable version is directly available from the official website. It is open source and stores all the encrypted passwords in a .kdbx file. It also has lots of plugins to enhance its functionality.

Media Players

VLC Portable: This is one of the most popular applications that can play almost any video format. It is available for every major operating system.

MPC-HC (Media Player Classic - Home Cinema): If you want a lightweight alternative, this is the one you should go with. Download the .zip format for your USB toolkit.

Compression and Archiving

7-Zip Portable: This powerful application is able to handle all your compression and archiving needs. Even the portable version seamlessly integrates with the Windows right-click context menu.

Image Viewers and Editors

IrfanView Portable: This is a lightweight image viewer that supports all popular image formats. A must-have for every toolkit.

GIMP Portable: For serious image editing (if required), this open-source application is your best bet.

PDF Tools

SumatraPDF Portable: Blazing-fast and lightweight PDF viewer.

PDF24 Creator Portable: The online version is good enough to fulfill your basic PDF editing needs.

Essential System Tools for Diagnostics and Repair

So far, we have been curating general-purpose applications. Now, let's collect some serious stuff. The following applications will convert your USB stick into a repair and troubleshooting powerhouse.

Hardware Diagnostics

While troubleshooting, you'll often need to know the hardware configuration of the host PC. Here's a complete collection of tools for hardware diagnostics.

8 Best Tools to View Your Computer's Hardware and System Information

Make sure you get the portable version of these applications.

Disk Tools

CrystalDiskMark Portable: Want to do benchmarking of read/write speeds of a newly replaced disk? This is the tool to go with.

Recuva Portable: One of the best tools to recover deleted files.

Partition Wizard Free: As the name implies, it is used to create and manage partitions on a Windows PC.

Network Utilities

Wireshark Portable: It can capture data packets to perform advanced network analysis. You have to make sure that WinPcap or Npcap is already installed on the host PC. If only analysis of .pcap is required, there is no such prerequisite.

Advanced IP Scanner: A handy network scanner capable of displaying all the available networks and detailed properties of each one of them.

PuTTY: Lightweight and portable SSH client you can use to log in to remote machines.

WinSCP Portable: If you want to transfer files to a remote system, this SFTP, SCP, and FTP client works like a charm.

Malware Removal

Emsisoft Emergency Kit: You can use this collection of tools to scan a system for malware and to clean it. A command-line version is also available for power users.

HitmanPro: It's a powerful application to scan and weed out malware and viruses from a system. It is cloud-based and runs in portable mode.

Setting Up a Portable App Launcher

To launch portable apps from the USB drive, you can either scan it through the regular File Explorer interface (which is quite inefficient), or you can install an app launcher in your USB toolkit that displays a nice interface to quickly pick and launch the applications.

Option 1: PortableApps Platform

The PortableApps app launcher creates a start menu-style interface where you can easily install, manage, and run a plethora of portable applications.

Here's how to configure it:

PortableApps app launcher
📷 Access apps easily through the PortableApps app launcher
  1. Download the installer from the PortableApps platform.
  2. Run the installer and select the root directory of your USB drive.
  3. Install the required apps through the app launcher interface. If some portable applications are already present on your desktop, copy them to the PortableApps\ folder in your USB drive.
  4. Whenever needed, start the app launcher by double-clicking the Start.exe executable in the root directory of the USB drive.

Option 2: LiberKey

Another good option is LiberKey that gives you access to tons of portable apps through a nice interface from within your USB drive.

It's similar to PortableApps but with a slightly different look and feel.

Option 3: Custom Batch Script Launcher

If you prefer command-line or prefer to create a basic app launcher from scratch, you can write a simple launcher.bat batch script and place it in the root directory of the USB drive.

Whenever needed, simply run the batch script by double-clicking on it.

@echo off
title USB Toolkit Launcher
:menu
cls
echo ===============================
echo    USB Portable Toolkit Menu
echo ===============================
echo.
echo [1] Firefox Portable
echo [2] Notepad++
echo [3] VS Code
echo [4] KeePass
echo [5] VLC
echo [6] CPU-Z
echo [7] CrystalDiskInfo
echo [8] HWiNFO
echo [9] Exit
echo.
set /p choice=Enter your choice: 

if "%choice%"=="1" start "" "%~dp0Apps\Browsers\FirefoxPortable\FirefoxPortable.exe"
if "%choice%"=="2" start "" "%~dp0Apps\Editors\NotepadPP\notepad++.exe"
if "%choice%"=="3" start "" "%~dp0Apps\Dev\VSCode\Code.exe"
if "%choice%"=="4" start "" "%~dp0Apps\Security\KeePass\KeePass.exe"
if "%choice%"=="5" start "" "%~dp0Apps\Media\VLC\vlc.exe"
if "%choice%"=="6" start "" "%~dp0SysTools\Diagnostics\CPU-Z\cpuz.exe"
if "%choice%"=="7" start "" "%~dp0SysTools\DiskTools\CrystalDiskInfo\DiskInfo64.exe"
if "%choice%"=="8" start "" "%~dp0SysTools\Diagnostics\HWiNFO\HWiNFO64.exe"
if "%choice%"=="9" exit

goto menu

Note the use of the %~dp0 variable, which always resolves to the directories where the portable apps live. So, no matter which drive letter is assigned to the USB drive, it just works.

Creating a Bootable Recovery USB Drive with Ventoy

This is a powerful tool that enables you to put multiple bootable ISO images on your USB drive that can be booted through a menu at system start. You can configure multiple bootable ISO images through this tool.

Why Ventoy Is a Game-Changer

Earlier applications used to flash the ISO image onto the USB drive. But with Ventoy, you can simply drag and drop bootable ISO images into a folder. Because of this, multiple bootable ISO images and your existing portable apps work seamlessly from the same USB drive.

Read Also:
How to Build a Windows Recovery USB Using Only an Android Device

Installing Ventoy

  1. Download Ventoy in .zip format from the official website.
  2. Extract the files to your desktop and run the Ventoy2Disk.exe executable.
  3. From the dropdown menu, select your USB drive.
  4. Click the Install button. This process will create two partitions. The first one will be the boot partition, and the second one will be the storage partition where you can store ISOs as well as portable apps.
  5. Copy the ISO image files either in the root directory of the USB drive or create an ISOs\ folder where you can drop the ISO files.
  6. Now boot your computer from the USB drive, and you'll see the Ventoy menu with all the available boot options.

Warning: Ventoy formats the drive. So, take a backup of your data, if any.

Essential ISOs to Carry

Here's a list of the most important ISOs you must include in your Ventoy-powered recovery USB stick:

ISO Purpose
Windows PE (WinPE) Lightweight Windows edition for troubleshooting and repair
Hiren’s Boot CD PE Collection of tools to diagnose and repair PC
SystemRescue Linux-based system recovery tool
Ubuntu Live Complete Linux environment for specific use cases
Memtest86+ Popular RAM testing tool
GParted Live Edit partitions like a pro
Clonezilla Manage or clone disk partitions
ShredOS Wipe out a disk in a secure manner

Pro Tip: If you want to include just one ISO, I recommend going with Hiren’s Boot CD PE as it has all the tools for repairing a Windows PC.

Carrying Essential Windows Drivers

Inexperienced users often struggle when they are doing a clean install of Windows, and suddenly a driver is missing during the installation process. Without any internet connection at that time, they're stuck.

To counter this, keep a pack of Windows drivers right within your USB drive.

DriverPack Offline

This is an offline version of the largest collection of Windows drivers that require no internet connectivity. A must-have for all system admins.

Snappy Driver Installer Origin: If the capacity of your USB drive isn't that much, go for this light version.

And, in case you want to curate a select list of device drivers, here are the ones you must include in your toolkit:

  • Full Intel/AMD chipset drivers
  • Network adaptor drivers (including Intel and Realtek drivers without fail)
  • USB 3.0 controller drivers

You can store these curated device drivers in the Drivers\ folder on your USB drive. Make sure to categorize them properly by arranging them in manufacturer and model subfolders.

Storing and Managing Documentation

No matter how many tools and utilities are included in your USB toolkit, if you don't know how everything is arranged and how they are used, everything is a waste.

Create a Docs\ folder and keep the following things in it:

  • Cheat sheets — Popular commands quick reference, important keyboard shortcuts, etc.
  • Software notes — Uncommon software configuration guides.
  • Licence keys — For tools that require them at run time.
  • Recovery procedures — Your personal recovery guides for common problems.

Keep everything in Markdown format as it is easy to read and follow. Also, create a master README.md in the root directory of the USB drive that explains what's in the USB stick at the macro level.

PowerShell Scripts Worth Keeping

Create a Scripts\ folder and keep some of the most useful PowerShell scripts that'll save you time while diagnosing problems.

System Information Report

# sysinfo.ps1 — Generates a basic system report
$output = @"
=== System Report ===
Date: $(Get-Date)
Hostname: $($env:COMPUTERNAME)
OS: $((Get-CimInstance Win32_OperatingSystem).Caption)
Build: $((Get-CimInstance Win32_OperatingSystem).BuildNumber)
RAM: $([math]::Round((Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1GB, 2)) GB
CPU: $((Get-CimInstance Win32_Processor).Name)
Uptime: $((Get-Date) - (gcim Win32_OperatingSystem).LastBootUpTime)
"@

$output
$output | Out-File "$env:USERPROFILE\Desktop\sysreport.txt"
Write-Host "`nReport saved to Desktop." -ForegroundColor Green

Find Large Files

# findlarge.ps1 — Lists the top 20 largest files on C:\
Get-ChildItem -Path C:\ -Recurse -ErrorAction SilentlyContinue |
    Where-Object { !$_.PSIsContainer } |
    Sort-Object Length -Descending |
    Select-Object -First 20 FullName, @{Name="Size(MB)"; Expression={[math]::Round($_.Length/1MB, 2)}} |
    Format-Table -AutoSize

Flush DNS and Reset Network Stack

@echo off
echo Flushing DNS...
ipconfig /flushdns

echo Resetting TCP/IP stack...
netsh int ip reset

echo Resetting Winsock...
netsh winsock reset

echo Releasing and renewing IP...
ipconfig /release
ipconfig /renew

echo Done. A restart may be required.
pause

Believe it or not, the last network resetting script will be used by you more than you expect while troubleshooting problems on a PC.

Conclusion

Creating a portable Windows toolkit is one of those projects that is well worth it, even years down the line. It’s a one-time investment: you get the right USB drive, build a proper folder structure, pack the apps that are of use, get Ventoy configured, and then you’ll be more efficient in pretty much any Windows environment you step into.

Don’t be overly ambitious if it's your first time. Just take a reasonable USB 3.0 drive, get the PortableApps platform installed, grab a couple of apps you actually need and a tool or two, and add more as you start to realise what you actually need.

The machines may change. Or even the operating systems you interact with may change. But your toolkit can remain the way that you prefer it and always ready, in your pocket.