UnEnrollInsiderProgram.PS1 contains Windows Batch (.bat) script commands, not PowerShell code, despite its file extension. Additionally, it references a target file WIP_Unenroll.ZACH which must be present in the same directory for it to function.
This script is intended to serve as a launcher for a Windows Insider Program unenrollment tool. It attempts to start a specific PowerShell script using PowerShell 7 (pwsh.exe) in a hidden window context.
Built by: Zachary Whiteman & Google Gemini Ai.
This is a launcher script with specific dependencies.
To run this script, you will need:
- Windows Operating System.
- PowerShell 7 (
pwsh.exe): The script explicitly hardcodes the path toC:\Program Files\PowerShell\7\pwsh.exe. - Target Payload: A file named
WIP_Unenroll.ZACH(likely a PowerShell script) must exist in the same folder.
- Download: Download the
UnEnrollInsiderProgram.PS1script file. - Rename (Recommended): Since the content is Batch script, you may want to rename it to
UnEnrollInsiderProgram.bator.cmd. - Unblock: Right-click the file, go to Properties, and click
Unblock(if applicable). - Run: Execute the script. If running as a
.ps1, you would typically need to execute it fromcmd.exeor rename it first.
The script is designed to be a "fire and forget" launcher.
- Launch: When executed, it sets environment variables for the PowerShell executable and the target script path.
- Execution: It uses the
startcommand to launch theWIP_Unenroll.ZACHscript using PowerShell 7. - Cleanup: The launcher window closes immediately (
EXIT), leaving the target script running.
- PowerShell 7 Targeting: Specifically targets the modern PowerShell Core executable.
- Window Management: Uses the
startcommand to launch the process in a separate context, preventing the launcher window from remaining open.
- Scripting Language: Windows Batch (Cmd).
- Target Runtime: PowerShell 7.
- Extension Mismatch: The file has a
.PS1extension but contains Batch code. This prevents it from running natively in a PowerShell console without generating errors. - Hardcoded Paths: The script relies on specific install paths for PowerShell 7.
Distributed under the MIT License. See LICENSE.txt for more information.
Zach Whiteman - elitesoftwarecolimited@gmail.com
HuggingFace - https://huggingface.co/EliteSoftware
HuggingFace (Personal) - https://huggingface.co/TheShadyRainbow
LinkTree - https://linktr.ee/zachrainbow