# PCS Toolkit - Adobe License Checker # Detects Adobe product installations and subscription status $timestamp = Get-Date -Format "yyyy-MM-dd_HH-mm-ss" $outputFile = "$env:USERPROFILE\Desktop\AdobeLicense_$timestamp.txt" function Log($msg) { Write-Host $msg Add-Content $outputFile $msg } Log "========================================" Log " PCS Toolkit - Adobe License Check" Log "========================================" Log "Generated: $(Get-Date)" Log "Computer: $env:COMPUTERNAME" Log "" Log "=== INSTALLED ADOBE PRODUCTS ===" # Check registry for Adobe products $adobeProducts = @() # 64-bit $reg64 = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" -EA SilentlyContinue | Where-Object { $_.Publisher -like "*Adobe*" -and $_.DisplayName } # 32-bit $reg32 = Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" -EA SilentlyContinue | Where-Object { $_.Publisher -like "*Adobe*" -and $_.DisplayName } $adobeProducts = @($reg64) + @($reg32) | Sort-Object DisplayName -Unique if ($adobeProducts.Count -eq 0) { Log "No Adobe products found" } else { foreach ($prod in $adobeProducts) { Log "Product: $($prod.DisplayName)" if ($prod.DisplayVersion) { Log " Version: $($prod.DisplayVersion)" } if ($prod.InstallLocation) { Log " Location: $($prod.InstallLocation)" } Log "" } } Log "=== CREATIVE CLOUD STATUS ===" # Check for Creative Cloud $ccPaths = @( "$env:ProgramFiles\Adobe\Adobe Creative Cloud\ACC\Creative Cloud.exe", "${env:ProgramFiles(x86)}\Adobe\Adobe Creative Cloud\ACC\Creative Cloud.exe" ) $ccFound = $false foreach ($cc in $ccPaths) { if (Test-Path $cc) { Log "Creative Cloud is installed" $ccFound = $true break } } if (-not $ccFound) { Log "Creative Cloud desktop app not found" } # Check for Adobe licensing service $adobeLicService = Get-Service -Name "AdobeUpdateService" -EA SilentlyContinue if ($adobeLicService) { Log "" Log "Adobe Update Service: $($adobeLicService.Status)" } # Look for license cache files $licCachePaths = @( "$env:CommonProgramFiles\Adobe\caps", "$env:CommonProgramFiles\Adobe\SLCache", "$env:ProgramData\Adobe\SLStore" ) Log "" Log "=== LICENSE CACHE LOCATIONS ===" foreach ($path in $licCachePaths) { if (Test-Path $path) { $files = Get-ChildItem $path -Recurse -File -EA SilentlyContinue Log "Found: $path ($($files.Count) files)" } } # Check for user-specific Adobe config $userAdobePath = "$env:APPDATA\Adobe" if (Test-Path $userAdobePath) { Log "" Log "=== USER ADOBE DATA ===" Get-ChildItem $userAdobePath -Directory | ForEach-Object { Log " $($_.Name)" } } Log "" Log "========================================" Log "NOTE: Adobe uses cloud-based licensing." Log "Sign in to creativecloud.adobe.com to" Log "check subscription status." Log "========================================" explorer.exe "/select,$outputFile" Read-Host "Press Enter to exit"