The environment variables from system properties are not applied after session crash


Anixx

Well-known member
Member
VIP
Local time
12:11 PM
Posts
665
OS
Windows 11
If I re-login after session crashed, the user's environment variables specified in the system properties (such as __COMPAT_LAYER) are not applied!

They remain applied in elevated cmd.exe but not in normal cmd.exe.

To have them applied I have to go to the system properties page of environment variables and click OK without making any changes.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Are you using Setx command to set environment variables?
 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
HP Pavilion
CPU
AMD Ryzen 7 5700G
Motherboard
Erica6
Memory
Micron Technology DDR4-3200 16GB
Graphics Card(s)
NVIDIA GeForce RTX 3060
Sound Card
Realtek ALC671
Monitor(s) Displays
Samsung SyncMaster U28E590
Screen Resolution
3840 x 2160
Hard Drives
SAMSUNG MZVLQ1T0HALB-000H1

My Computer My Computer

At a glance

Windows 11
OS
Windows 11

Latest Support Threads

Back
Top Bottom