Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

JeromeWolff/windows-path-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Windows Path Cleaner

A PowerShell script to delete Path environment variables from Windows Systems that aren't existing anymore.

Features

  • Deletes PATH environment variables that aren't existing anymore
  • Automatically creates a backup of PATH environment variables

Prerequisites

  1. PowerShell: PowerShell 7 or higher is recommended.

Usage

1. Clone or Download the Script

Save the script as Path-Cleaner.ps1.

2. Run the Script

Execute the script in PowerShell as Administrator with the following parameters:

.\Path-Cleaner.ps1

About

PowerShell script to remove PATH variables that don't exist anymore

Topics

Resources

Stars

Watchers

Forks