Script to push current keycode for OEM Make Wizard to clipboard

On step that could always fail, is to take the right keycode (based on date and serial number). Unfortunately, this code changes every day…

I created a small Powershell-Script calculating the current keycode and pushing it to the clipboard from where it could be pasted into the OEM Make Wizard dialog:

$LicenseKeys = "12345"
$Day = Get-Date -Format "dd"
$Month = Get-Date -Format "MM"
$keycode = $Month + $LicenseKeys + $Day
#push keycode to clipboard
Set-Clipboard $keycode 
3 Likes

Thanks so much for this @felder ! :slight_smile: I’m sure someone will find it useful