Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add product key/activation guidance to README #42

Open
dusek opened this issue Nov 6, 2015 · 2 comments
Open

Add product key/activation guidance to README #42

dusek opened this issue Nov 6, 2015 · 2 comments

Comments

@dusek
Copy link
Contributor

dusek commented Nov 6, 2015

I am missing some guidance as to how to properly use this in a multi-person team.

I would like to build a Windows base box once, publish it to Atlas cloud, and let multiple team members download it through vagrant by everyone referencing it as a base box (through the same Vagrantfile that the team has access to in a shared git repository). As of course each team member has their own product key, I would like them to be then able to enter it and thus activate Windows.

The only thing that I don't understand - I presume as the base box is identical for all of them (e.g. same mac address for networking interface, though Windows might see different type of CPU on each machine), then Windows might consider it the "same" machine. Will that not create a problem when this "same" machine is activated with different product keys on different developer machines?

I would welcome some clarification of this scenario added to the README.

@dusek
Copy link
Contributor Author

dusek commented Nov 7, 2015

After a bit of reading through the scripts and Autounattend.xml, I found that there is a GENERALIZE variable settable in Makefile.local, which will cause packer to use sysprep with /generalize flag for the packer shutdown command (issued by packer at end of the installation process). From what I found on Google, it seemed that sysprep /generalize does something in the sense of preparing a single image to be deployable on multiple machines by deleting "installation-specific identifiers" (+/-). However I still did not read enough about it to understand whether it really does what I want (i.e. prepare the base box to be downloadable by different team members to enter each their own product key). And I don't want to experiment with our real purchased activation keys to find out :-)

@berney
Copy link

berney commented May 30, 2017

I know this is an old issue, but it's still open. I'm not knowledgeable enough to say with certainty if /generalize will remove the product key or not. There is a host of options like SkipRearm etc. that come into play.

You can try using the generic KMS keys https://technet.microsoft.com/en-us/library/jj612867.aspx. These are public and not sensitive. The machine will need to be licensed and activated after it is built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants