How To Get Windows Id [upd]

Get-WmiObject -Class Win32_UserAccount | Where-Object $_.Name -eq "Administrator" | Select-Object SID

Q: What if I lost my Windows ID? A: Try using the methods outlined in this guide to retrieve your Windows ID. If you're still unable to find it, contact Microsoft Support for assistance. how to get windows id

wmic path softwarelicensingservice get OA3xOriginalProductID Get-WmiObject -Class Win32_UserAccount | Where-Object $_

You need to activate Windows or reinstall it on your computer. This is the "license ID" for your software. how to get windows id