PowerShell utility collection for setting up a productive environment on Windows 11 machines where you have no administrator access. Every operation is scoped to the current user — no elevation, no UAC prompts, no system-wide changes, and no security boundaries are bypassed.
Restricted corporate or institutional machines that block admin installs but allow per-user execution. The scripts install tools into %LOCALAPPDATA%\Programs\, write only to the user's PowerShell profile, and never touch system paths or the registry outside the user hive.
.\localinstall.ps1 [SWITCH]| Switch | Description |
|---|---|
-up |
Scan %LOCALAPPDATA%\Programs\ for installed executables and register their paths in the current PowerShell session (persisted via profile) |
-python |
Download and install Python 3.14 per-user into %LOCALAPPDATA%\Programs\Python314\ |
-ep |
Create the PowerShell profile file if it doesn't exist ($PROFILE) |
-sysinfo |
Display OS name, version, system type, and total RAM |
-date |
Display current date and time |
- Recursively searches
%LOCALAPPDATA%\Programs\for.exefiles - Collects their unique parent directories
- Writes conditional
$env:Pathentries to apaths.ps1file in the profile directory - Ensures
paths.ps1is sourced from$PROFILEon every new session
This means any tool you install per-user (VSCode, Python, Git portable, etc.) becomes immediately available in your shell after a restart without touching the system PATH.
Downloads the official Python installer directly from python.org and runs it with:
InstallAllUsers=0— current user onlyPrependPath=1— registers the install dirTargetDirset to%LOCALAPPDATA%\Programs\Python314\
No elevation required.
- No
Set-ExecutionPolicychanges — run withpowershell -ExecutionPolicy Bypass -File localinstall.ps1if needed for a one-off execution - No writes outside the user profile and
%LOCALAPPDATA% - No scheduled tasks, services, or registry modifications outside
HKCU - All downloads are from official vendor URLs (Python.org)
- Windows 11 (Windows 10 compatible)
- PowerShell 5.1+
- Internet access for
-python