I deployed a brand new Windows 10 Pro image on a Dell Optiplex 3050 who has his own OEM license.
When i check the system, i see Windows isn't activated and there's an error message. However, if i click on "fix it", i can activate Windows.

I'd like Windows to be automatically activated after i deploy the system. How can i do that?

For your information, when i worked on the new image in a VM i had to activate windows with a licence in order to modify some settings (taskbar, etc...) because it is only possible to do it when Windows is activated.

Before i run sysprep, i desactivated Windows with the following command:

- slmgr /upk - slmgr /cpky

Any idea?

0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer


I was under the impression that it is best practice not to use the OEM media, images,isos or licenses.


It is against the Microsoft EULA.

Check your volume licensing you may already have Windows 10 available if you had software assurance under your DELL Purchase Package (or Lenovo, HP, Acer, Samsung, etc).

For Enterprise Levels: best practice says that you should use a Volume License DVD\ISO with a MAK product key or a KMS server to handle activation.

Also you might want to check

Maybe a post install script that uses the OEM activation key will do.


Answered 02/28/2018 by: Channeler
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity


Hello Channeler,

Thank for your reply. I'm going to take a look at the links.

Answered 03/01/2018 by: Kalagan
Senior White Belt

Please log in to comment