Jump to content

Mijn Vraag/My Question
...

Hello,

I'm working on an mdt server but I keep getting problems.
After the deployment of windows 10 is the license not activated so we have to enter it manually every time on every laptop (HP), we want it to be set up with the mdt deployment.

I tried to fix it with a powershell (SetOEMProductKey) Code:

$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"

Engels/Nederlands

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/
Share on other sites

Link to post
Share on other sites

There should be a place to enter the product key in the Operating System step in the task sequence, that or Configure Operating System. I forget which but it's a default option in a Task Sequence but you have to specify it if you'e not using KMS licensing and the default GVLK license key inbuilt in to Windows.

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/#findComment-11738259
Share on other sites

Link to post
Share on other sites

13 minutes ago, leadeater said:

There should be a place to enter the product key in the Operating System step in the task sequence, that or Configure Operating System. I forget which but it's a default option in a Task Sequence but you have to specify it if you'e not using KMS licensing and the default GVLK license key inbuilt in to Windows.

We do not use KMS
We use bios keys....

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/#findComment-11738277
Share on other sites

Link to post
Share on other sites

1 minute ago, Maxvantveen said:

We do not have any keys for that we use OEMProductkey

I don't get what you mean, you have a valid Windows License Key correct? Is it a MAK Key or a Retail/OEM Key? Either way just enter it in as show in the image and it'll be installed and activated after imaging the device.

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/#findComment-11738307
Share on other sites

Link to post
Share on other sites

1 minute ago, leadeater said:

I don't get what you mean, you have a valid Windows License Key correct? Is it a MAK Key or a Retail/OEM Key? Either way just enter it in as show in the image and it'll be installed and activated after imaging the device.

We don't have a volume license key at the moment. The key to activate is a OEM key deliverd with the laptops. In the future we will use the KMS key but for now we have no choice. Every laptop has a different key. These are stored in the BIOS (HP systems) and with a normal installation these keys are used but not with the deployment with MDT. We are looking for a way to use these.

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/#findComment-11738313
Share on other sites

Link to post
Share on other sites

4 minutes ago, Maxvantveen said:

We don't have a volume license key at the moment. The key to activate is a OEM key deliverd with the laptops. In the future we will use the KMS key but for now we have no choice. Every laptop has a different key. These are stored in the BIOS (HP systems) and with a normal installation these keys are used but not with the deployment with MDT. We are looking for a way to use these.

Link I just posted should do the trick, pulls the key already installed.

 

Edit:

Although you already posted that same thing, should work wonder why it's not.

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/#findComment-11738317
Share on other sites

Link to post
Share on other sites

Might just be a case of where you are putting the script step in the TS, make sure it's rebooted out of WinPE back in to full Windows and have it as a final step before the TS ends.

 

I'm not sure how limited MDT is though for that type of thing, I mostly only use SCCM or pure WDS not WDS + MDT. SCCM is a lot more flexible from what I remember in what you can do TS wise, been out of the desktop support game for a number of years now so memory isn't that great.

Link to comment
https://linustechtips.com/topic/970398-mdt-product-key/#findComment-11738334
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×