NtQuerySystemEnvironmentValueEx
Query → NTSTATUS
Numbers across OS versions (65)
| OS Version | Architecture | Number |
|---|---|---|
| Windows 10 1507 | x64 | 0x0146 (326) |
| Windows 10 1507 | x86 | 0x009B (155) |
| Windows 10 1511 | x86 | 0x009B (155) |
| Windows 10 1511 | x64 | 0x0149 (329) |
| Windows 10 1607 | x64 | 0x014D (333) |
| Windows 10 1607 | x86 | 0x009C (156) |
| Windows 10 1703 | x64 | 0x0153 (339) |
| Windows 10 1703 | x86 | 0x009D (157) |
| Windows 10 1709 | x86 | 0x009E (158) |
| Windows 10 1709 | x64 | 0x0156 (342) |
| Windows 10 1803 | x64 | 0x0158 (344) |
| Windows 10 1803 | x86 | 0x009E (158) |
| Windows 10 1809 | x86 | 0x009E (158) |
| Windows 10 1809 | x64 | 0x0159 (345) |
| Windows 10 1903 | x86 | 0x009E (158) |
| Windows 10 1903 | x64 | 0x015A (346) |
| Windows 10 1909 | x86 | 0x009E (158) |
| Windows 10 1909 | x64 | 0x015A (346) |
| Windows 10 2004 | x64 | 0x0160 (352) |
| Windows 10 2004 | x86 | 0x009E (158) |
| Windows 10 20H2 | x86 | 0x009E (158) |
| Windows 10 20H2 | x64 | 0x0160 (352) |
| Windows 10 21H1 | x86 | 0x009E (158) |
| Windows 10 21H1 | x64 | 0x0160 (352) |
| Windows 10 21H2 | x86 | 0x009E (158) |
| Windows 10 21H2 | x64 | 0x0161 (353) |
| Windows 10 22H2 | x64 | 0x0161 (353) |
| Windows 10 22H2 | x86 | 0x009E (158) |
| Windows 11 and Server 11 21H2 | x64 | 0x0168 (360) |
| Windows 11 and Server 11 22H2 | x64 | 0x016B (363) |
| Windows 11 and Server 11 23H2 | x64 | 0x016B (363) |
| Windows 11 and Server 11 24H2 | x64 | 0x016D (365) |
| Windows 11 and Server 11 25H2 | x64 | 0x016D (365) |
| Windows 11 and Server Server 2022 | x64 | 0x0166 (358) |
| Windows 11 and Server Server 2025 | x64 | 0x016D (365) |
| Windows 11 and Server Server 23H2 | x64 | 0x016C (364) |
| Windows 7 SP0 | x64 | 0x012B (299) |
| Windows 7 SP0 | x86 | 0x0104 (260) |
| Windows 7 SP1 | x86 | 0x0104 (260) |
| Windows 7 SP1 | x64 | 0x012B (299) |
| Windows 8 8.0 | x86 | 0x0096 (150) |
| Windows 8 8.0 | x64 | 0x013D (317) |
| Windows 8 8.1 | x64 | 0x0140 (320) |
| Windows 8 8.1 | x86 | 0x0099 (153) |
| Windows Server 2003 R2 | x64 | 0x00DF (223) |
| Windows Server 2003 R2 | x86 | 0x00B4 (180) |
| Windows Server 2003 R2 SP2 | x86 | 0x00B4 (180) |
| Windows Server 2003 R2 SP2 | x64 | 0x00DF (223) |
| Windows Server 2003 SP0 | x86 | 0x00B4 (180) |
| Windows Server 2003 SP0 | x64 | 0x00DF (223) |
| Windows Server 2003 SP1 | x86 | 0x00B4 (180) |
| Windows Server 2003 SP2 | x64 | 0x00DF (223) |
| Windows Server 2003 SP2 | x86 | 0x00B4 (180) |
| Windows Vista SP0 | x64 | 0x0129 (297) |
| Windows Vista SP0 | x86 | 0x00F7 (247) |
| Windows Vista SP1 | x86 | 0x00F7 (247) |
| Windows Vista SP1 | x64 | 0x0124 (292) |
| Windows Vista SP2 | x86 | 0x00F7 (247) |
| Windows Vista SP2 | x64 | 0x0124 (292) |
| Windows XP SP0 | x86 | 0x00AC (172) |
| Windows XP SP1 | x64 | 0x00DF (223) |
| Windows XP SP1 | x86 | 0x00AC (172) |
| Windows XP SP2 | x86 | 0x00AC (172) |
| Windows XP SP2 | x64 | 0x00DF (223) |
| Windows XP SP3 | x86 | 0x00AC (172) |