Everything works well but when I try to remove it using this script
Remove-NavContainer NAV2018CU2W1
It fails with the following error:
Remove-Item : Cannot remove item C:\ProgramData\NavContainerHelper\Extensions\NAV2018CU2W1\Program Files\110\RoleTailored Client\finsql.exe: Access to the
path 'finsql.exe' is denied.
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\0.4.3.0\ContainerHandling\Remove-NavContainer.ps1:39 char:13
Hi,
I've create a new nav container with the followin script:
$mylicense = "C:\Users\scastelluccio\Desktop\NAV 2018.flf" $imageName = "microsoft/dynamics-nav:2018-cu2-w1" $containerName = "NAV2018CU2W1"
New-NavContainer -accept_eula
-containerName $containerName
-imageName $imageName-auth Windows
-licensefile $mylicense-updateHosts
-includeCSide `Everything works well but when I try to remove it using this script Remove-NavContainer NAV2018CU2W1
It fails with the following error: Remove-Item : Cannot remove item C:\ProgramData\NavContainerHelper\Extensions\NAV2018CU2W1\Program Files\110\RoleTailored Client\finsql.exe: Access to the path 'finsql.exe' is denied. At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\0.4.3.0\ContainerHandling\Remove-NavContainer.ps1:39 char:13
Kind Regards Sergio Castelluccio