KB3005 - Troubleshooting License Issues

KB3005 - Troubleshooting License Issues

Purpose

The purpose of this article is to explain in technical detail how to workaround when the license for PowerShell Pro Tools won't install


(figure shows how an Ironman Software license file should appear in a text viewer)

Affected Products

  1. PowerShell Tools for Visual Studio
  2. PowerShell Pro Tools for Visual Studio Code
  3. PowerShell Module
  4. PSScriptPad
  5. PowerShell Packager
All iterations of PowerShell Pro Tools are affected. Please see the PowerShell Pro Tools Downloads page for the most up to date list.

Symptoms

One or more of the PowerShell Pro Tools products indicate an unlicensed status even though you have installed one.

Visual Studio 2022
 

Visual Studio Code

PowerShell Pro Tools PowerShell module (Merge-Script)
 
 
PSScriptPad

PowerShell Packager


Background/Root Cause

Although Ironman Software products always install correctly on a freshly installed system, there can occasionally be health issues or restrictions on a particular Windows workstation and/or its user profile folders which may prevent the normal installation or operation of the software from occurring.

Procedure

1. Browse to your profile's %APPDATA% folder. This is typically located in C:\Users\Username\AppData\Roaming. See figure 1 below.

2. Create the "PowerShell Pro Tools" folder in your %APPDATA% if it does not exist. Herein "the folder". See figure 1 below.

(figure 1)


(figure 2 - alternate view of figure 1 from File Explorer)

3. If the folder did not exist and you created it (as per figure 1) then at this point you should try again to install the license and check that it is recognized. Most likely, this was the only needed step. The root cause was that PowerShell Pro Tools was blocked from creating its needed folder in the %APPDATA%.

4. If the folder already existed, then you need to continue through the rest of the steps.

5. Copy your license file to the "PowerShell Pro Tools" folder (i.e. the folder that you created in Step 2)

6. Rename the license file from *.txt to license.lic[1] See example below.


(figure 3 - an animation showing the renaming of a license.txt file to license.lic)

7. Start the affected PowerShell Pro Tools application and confirm that the license status is now valid.

8. If you are still not able to install the license and you have not raised a case already, please raise one by using the 'Contact Us' on https://ironmansoftware.com.

You can also try reading your license file with Read-IronmanSoftwareLicenseFile available at https://github.com/ironmansoftware/awesome-powershell-universal

[1] Be sure you have enabled file extensions in File Explorer


    • Related Articles

    • KB3008 - About PowerShell Pro Tools Licensing

      Scope Anyone who has purchased a license for PowerShell Pro Tools Question How many machines can I install PowerShell Pro Tools (PowerShell module, PowerShell Pro Tools for VS. Code or PowerShell Tools for Visual Studio? Answer PowerShell Pro Tools ...
    • KB3002 - PowerShell Pro Tools for VS Code (2002) stopped working

      Scope This is a legacy article which only applies to PowerShell Pro Tools for VS Code version 2022.7.2 and below If your PowerShell Pro Tools for VS Code is at 2022.8.0 or higher then this article does not apply Problem PowerShell Pro Tools extension ...
    • KB3001 - How do I install license for Posh Pro Tools for VS Code

      Standard Method After the extension is installed, you will be presented with a menu similar to the screenshot below. (figure shows the Install License button after installing the extension) 2. Click Install License and select your license.txt (or ...
    • KB3006 - WPF Item is missing in VS2022

      Symptom The option to add a WPF Item (i.e. XAML) to a PowerShell Script Project in Visual Studio 2022 is no longer available. Cause At some point in August 2023, Microsoft introduced breaking changes into Visual Studio 2022 around WPF handling. As a ...
    • KB3012 - PowerShell Pro Tools feature not working

      Scope This article only applies to features of PowerShell Pro Tools for VS Code. Problem A feature (e.g. Refactoring) doesn't work even though you expect it to. Symptoms No action occurs when invoking one of the PowerShell Pro Tools features from the ...