Remove and deactivate Windows license
| 1 Votes |
Description
This task will deathorize a Windows license.
The task will only be relevant to activated Windows workstations. It will evaluate as successful after it becomes no longer relevant.
Property Details
| 25208 | |
| Production - Fully Tested and Ready for Production | |
| Remove and deactivate Windows license | |
| BESC | |
| Software removal | |
| Internal | |
| 2/28/2018 12:00:00 AM | |
| Windows License Deactivate Deauthorize | |
| True | |
| ReynardMuldrake on 2/28/2018 8:36:29 AM | |
| ReynardMuldrake on 2/28/2018 8:36:29 AM | |
| 4986 Views / 8 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
isWindows (Relevance 1172)
windows of operating system
Windows Activation State (Relevance 3008577)
| Used in 1 fixlet | * Results in a "string"/number |
(select "LicenseStatus from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name like 'Windows(R)%25')" of wmi) as string contains "1"
(select ("ProductType from Win32_OperatingSystem") of WMI) as string contains "1"
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
dos cscript C:\Windows\System32\slmgr.vbs /upk /atoSuccess Criteria
dos cscript C:\Windows\System32\slmgr.vbs /cpky /ato
dos cscript C:\Windows\System32\slmgr.vbs /rearm /ato
action requires restart
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |
Comments
|
|
|
| Your relevance evaluation is faster, so I have updated the source on my end. Thanks for the suggestion. | |
|
|
|
| exists string values whose(it = "1") of selects "LicenseStatus from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name like 'Windows(R)%25')" of wmis | |

