Forum Discussion

NiteshK's avatar
NiteshK
Copper Contributor
Jul 24, 2026

RestrictedTrafficInstall.ps1 Fails on Windows 10 IoT Enterprise LTSC 2021 with SKU Detection Error

I am encountering an issue while deploying the Restricted Traffic Limited Functionality Baseline on a Windows 10 IoT Enterprise LTSC 2021 device and would like to confirm whether this OS edition is supported or if this is a known issue with the baseline script.

Operating System: Windows 10 IoT Enterprise LTSC 2021

EditionID: IoTEnterpriseS

DisplayVersion: 21H2

 

:

...\RestrictedTrafficInstall.ps1 : Could not get SKU of current running OS.

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException

FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,RestrictedTrafficInstall.ps1

1 Reply

  • The script is failing during its operating-system SKU check, before restricted-traffic policies are applied. Your device reports EditionID=IoTEnterpriseS, while Microsoft’s baseline documentation does not explicitly list Windows 10 IoT Enterprise LTSC 2021 as a supported installer target. Do not treat this as a confirmed known defect or bypass the SKU validation. Forcing the script could apply an untested configuration, and Microsoft warns that some restricted-traffic settings can reduce functionality or security. Record the baseline package version, file hash, OS build, and failing script line. Ask Microsoft Support or your account team to confirm support for IoTEnterpriseS and whether an updated package exists. Pending confirmation, use only documented individual Group Policy or MDM settings applicable to your IoT edition, test them on a pilot device, keep Windows and Defender updated, and validate required connectivity before wider deployment. This avoids turning a package compatibility question into an unsupported security configuration.