microsoft / microsoft/PowerToys

EnviromentVariable crush when run as Admin

Open
#48,547 0 comments 0 reactions 0 assignees View on GitHub
0.101 Issue-Bug Product-Environment Variables Status-In progress
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Microsoft PowerToys version

0.100.0

### Installation method

PowerToys auto-update

### Area(s) with issue?

Environment Variables

### Steps to reproduce

Run as Admin

### ✔️ Expected Behavior

It work well without Admin privilege

### ❌ Actual Behavior

see a blank window, which crushes after 3-5 seconds

### Upload Bug Report ZIP-file

[PowerToysReport_2026-06-12-21-48-15.zip](https://github.com/user-attachments/files/28881716/PowerToysReport_2026-06-12-21-48-15.zip)

### Additional Information

_No response_

### Other Software

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Environment Variables issue when PowerToys is run as Administrator, then inspect the attached PowerToysReport_2026-06-12-21-48-15.zip for crash details. Done means the Environment Variables window opens and remains usable with administrative privileges, matching its behavior without Admin rights.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.