You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whoever stumbles upon this, note that usage of Update-SessionEnvironment still works - so if it's possible consider using PowerShell instead of .bat.
(directly using refreshenv from a PowerShell script shouldn't be necessary anyway)
Checklist
What You Are Seeing?
On the latest LTSC release of Windows 11, the "wmic" utility has been removed.
What is Expected?
RefreshEnv should work whether wmic is available or not
How Did You Get This To Happen?
Using choco on the latest Win11 24h2 family releases.
System Details
Installed Packages
Output Log
Additional Context
No response
The text was updated successfully, but these errors were encountered: