Article - CS379198

Installer upgrade of ThingWorx failed with error "Move-Item : Access to the path 'C:\PROGRA~2\THINGW~1\tomcat' is denied"

Modified: 25-Sep-2024   


Applies To

  • ThingWorx Platform 9.1 to 9.6

Description

  • When trying to upgrade ThingWorx an error is received and installer is closing:
getPaths for move tomcat: source_full_path = C:\PROGRA~2\THINGW~1\tomcat, destination_full_path = C:\PROGRA~2\THINGW~1\installer\backup\
[10:55:09] backup by move -  C:\PROGRA~2\THINGW~1\tomcat to:  C:\PROGRA~2\THINGW~1\installer\backup\ excluding:
[10:55:10] powershell.exe Move-Item -Path C:\PROGRA~2\THINGW~1\tomcat -Destination C:\PROGRA~2\THINGW~1\installer\backup\
Executing cmd
Error running cmd /C powershell.exe Move-Item -Path 'C:\PROGRA~2\THINGW~1\tomcat' -Destination 'C:\PROGRA~2\THINGW~1\installer\backup\': Move-Item : Access to the path 'C:\PROGRA~2\THINGW~1\tomcat' is denied.
At line:1 char:1
+ Move-Item -Path 'C:\PROGRA~2\THINGW~1\tomcat' -Destination 'C:\PROGRA ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\PROGRA~2\THINGW~1\tomcat:DirectoryInfo) [Move-Item], IOException
    + FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand

 
This is a printer-friendly version of Article 379198 and may be out of date. For the latest version click CS379198