clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.57k stars 978 forks source link

Windows Activation Issues During Deployment #902

Open coffeegist opened 11 months ago

coffeegist commented 11 months ago

Verified latest master builds.

Description of the issue:

While deploying the official detectionlab Windows 10 host, and/or building locally using packer, I'm running into the following error rearming Windows

Software licensing service version: 10.0.18362.418
Error: 0xC004D302 On a computer running Microsoft Windows non-core edition, run `slui.exe 0x2a 0xC004D302` to display the error text.

When running slui with the codes, I get the following:

An error has occurred. You can also contact Microsoft by phone to help resolve this problem. 

Description: The security processor reported that the trusted data store was rearmed.

A bit of a vague error message. If I try to activate using slmgr.vbs /ato I get the following issues:

Error: 0xC004C032 On a computer ru nning MIcrosoft Windows non-core edition, run `slui.exe 0x2a 0xC004C032` to display the error text

slui command results in

Description: The activation server reported that new time based activation is not available. 

Additional Context

I deployed this on ESXi using the same default images about a week ago and ran into no issues.

Finally, I understand the project is no longer actively maintained, but would love any feedback from clong (untagged as to not bother) and/or the community to find out if more people are experiencing this / finding ways around it. This post is also indicating it's not just me/this project Cheers!