1/16/2024 0 Comments Windows 10 activation script cmd![]() Invoke-VBScript -Path $VBPath -Argument '"/fta $CertThumbPrint"' -Wait #Run SLMGR.VBS to force token activation of Windows 10 Write-Host "Activating using the following Thumbprint: $CertThumbPrint" -ForegroundColor Green $VBPath = 'C:\Windows\System32\slmgr.vbs' $UserCert = Get-Item Cert:\CurrentUser\My\$SelectedThumb [ValidateScript( | Select Subject,Issuer,NotBefore,NotAfter,Thumbprint | Out-GridView -Title 'Select a smartcard certificate.' -OutputMode Single |% Thumbprint # Configures Policy, User Interface, User Account Creation, Windows and Office Activation #Description: Preps Windows 10 AGM for RIMPAC 2018 Mission Laptops Windows Software Licensing Management Tool Microsoft (R) Windows Script Host Version 5.812Ĭopyright (C) Microsoft Corporation. PS C:\WINDOWS\system32> C:\Users\Administrator\Desktop\DeployRimpacBuild\Scripts\02-TokenActivateWindows10.ps1Īctivating using the following Thumbprint: 26EBD904347CCF547A82721C920ED662BA61E9DD ![]() ![]() Any insight anyone can offer to help me isolate the issue is greatly appreciated. I have left the portions credited to the original programmer but suspect that the method used for parsing arguments is not properly passing the thumbprint information. I have frankensteined a script to handle invoking the slmgr.vbs to perform a Windows Activation via user select Smart Card token.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |