Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: JamieMc on August 22, 2025, 01:47:03 AM

Title: JetBrains 2025.2 Software Update
Post by: JamieMc on August 22, 2025, 01:47:03 AM
Just to make you aware, all JetBrains software (PyCharm, CLIon, InteliJ etc) that is on version 2025.2 doesn't deploy start menu shortcuts.

This appears to be a bug caused by JetBrains them self due to the install location changing from %programfiles(x86)%\JetBrains to %Programfiles%\JetBrains.

This is my fix below, not the prettiest & you might need to change it depending on the apps you have installed.
$StartMenu = 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs'
$AppPath = 'C:\Program Files\JetBrains'
$FirewallRules = Get-NetFirewallRule


if(Test-Path -Path $AppPath)
{

    $apps = Get-ChildItem -Path $AppPath |Select-Object -ExpandProperty Name

    foreach($App in $Apps)
    {

        $AppName = $App.Split(" ") | Select-Object -First 1           
        $AppExe = $AppName + '64.exe'

        if($AppName -eq 'IntelliJ'){ $AppExe = 'idea64.exe'}

        if(Test-Path "$StartMenu\$AppName.lnk"){Remove-Item -Path"$StartMenu\$AppName.lnk"}

        $shell = New-Object -ComObject WScript.Shell
        $shortcut = $shell.CreateShortcut("$StartMenu\$AppName.lnk")
        $shortcut.TargetPath = "$AppPath\$app\bin\$AppExe"
        $shortcut.Save()   

        if(!($FirewallRules | Where-Object {$_.DisplayName -eq $App}))
        {
       
            New-NetFirewallRule -DisplayName $App -Direction Inbound -Program $shortcut.TargetPath -RemoteAddress Any -Action Allow -Profile Domain

        }
       

     } # End Foreach Region


} # End If Region
Title: Re: JetBrains 2025.2 Software Update
Post by: Michael (Patch My PC) on August 27, 2025, 02:38:07 PM
Thanks for sharing this!

The team is aware and created some bugs on their forum. Hopefully JetBrains can get this resolved soon.

https://youtrack.jetbrains.com/issue/IJPL-200205/Silent-Installation-of-on-Windows-does-not-create-Start-Menu-Shortcuts
https://youtrack.jetbrains.com/issue/IJPL-201138/Start-Menu-Shortcuts-Missing-in-JetBrains-Apps-Since-Version-2025.2