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


Anixx

Active member
Member
Local time
9:35 AM
Posts
309
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

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
9:35 AM
Posts
1,010
Location
Adana
OS
Windows 11
Are you using Setx command to set environment variables?
 

My Computer

System One

  • 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

Latest Tutorials

Top Bottom