Skip to content

Commit 6a01b0e

Browse files
committed
PCX-19793: Add UBR details to device posture
1 parent bd451c8 commit 6a01b0e

File tree

1 file changed

+18
-3
lines changed
  • src/content/docs/cloudflare-one/reusable-components/posture-checks/warp-client-checks

1 file changed

+18
-3
lines changed

src/content/docs/cloudflare-one/reusable-components/posture-checks/warp-client-checks/os-version.mdx

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ The OS Version device posture attribute checks whether the version of a device's
4747

4848
- **Version extra**: Enter the [patch version](#linux) of the kernel. For example, if the kernel is `6.50.0-1007-oem`, enter `1007`.
4949

50-
</TabItem> </Tabs>
50+
</TabItem>
51+
52+
<TabItem label="Windows">
53+
54+
- **Version extra**: Enter the Windows UBR (Update Build Revision) you want devices to match (for example, `3803`). The UBR is the fourth part of the full Windows version number (for example, in `10.0.19045.3803`, the UBR is `3803`).
55+
56+
</TabItem> </Tabs>
5157

5258
6. Select **Save**.
5359

@@ -68,13 +74,22 @@ Operating systems display version numbers in different ways. This section covers
6874

6975
### Windows
7076

77+
Windows version numbers consist of four parts: `Major.Minor.Build.UBR`. For example, `10.0.19045.3803` where:
78+
- `10.0` is the **Version** (Major.Minor)
79+
- `19045` is the **Build** number
80+
- `3803` is the **UBR** (Update Build Revision)
81+
82+
To determine the Windows version on your device:
83+
7184
1. Open a PowerShell window.
72-
2. Use the `Get-CimInstance` command to get the version property of the `Win32_OperatingSystem` class.
85+
2. Use the `Get-ItemProperty` command to read the registry:
7386

7487
```bash
75-
(Get-CimInstance Win32_OperatingSystem).version
88+
(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name LCUVer).LCUVer
7689
```
7790

91+
This returns the full version in the format `Major.Minor.Build.UBR` (for example, `10.0.19045.3803`).
92+
7893
### Linux
7994

8095
#### OS version

0 commit comments

Comments
 (0)