Skip to content

MDT Win 10 Deployment using OEM product key

Featured Replies

Hi. I can deploy Windows 10 via MDT. How i can automate the OEM product key activation ? I understand the below powershell script can get the key from the BIOS. Where in the task sequence should I run this script ? Thanks.

$ProductKey = (Get-WmiObject -Class SoftwareLicensingService).OA3xOriginalProductKey
iex "cscript /b C:\Windows\System32\slmgr.vbs -ipk $Productkey"
Start-Sleep 5
iex "cscript /b C:\Windows\System32\slmgr.vbs -ato"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.