Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Can I push the new license to PDQ clients?

We have 15 users of Deploy and Inventory. Can PDQ Deploy be used to update the license file?

--- START LICENSE ---

--- END LICENSE ---

0

Comments

2 comments
Date Votes
  • That is unnecessary. Clients pull the license from the server every time they start up.

    0
  • Yes, you can use Powershell, as I did with my company.

     

    ```powershell

    $programNames = @("PDQ Inventory", "PDQ Deploy")
    Write-Host "Stopping PDQ Services..."
    
    ForEach ($programName in $programNames) {
        Stop-Service -DisplayName $programName -Force
        }
    
    Write-Host "Installing new keys..."
    $registryPath = "HKLM:\Software\Admin Arsenal\"
    $newKey = @("--- START LICENSE ---PDQ Inventory License goes here--- END LICENSE ---",
                "--- START LICENSE ---PDQ Deploy License goes here--- END LICENSE ---")
    ForEach ($programName in $programNames) {
        $index = [array]::indexof($programNames, $programName)
        $path = (Join-Path -Path $registryPath -ChildPath $programName)
        New-ItemProperty -Path $path -Name "License" -Value $newKey[$index] -PropertyType String -Force | Out-Null
        Write-Host "    $programName key updated"
        }
    
    Write-Host "Starting PDQ Services..."
    ForEach ($programName in $programNames) {
        Start-Service -DisplayName $programName
        }
    ```
    0