diff --git a/components/studio/bin/hab-studio.ps1 b/components/studio/bin/hab-studio.ps1 index 5aab8a2ea9..a5f4540846 100644 --- a/components/studio/bin/hab-studio.ps1 +++ b/components/studio/bin/hab-studio.ps1 @@ -521,7 +521,8 @@ function Remove-Studio { } else { if(Test-Path $HAB_STUDIO_ROOT) { Write-HabInfo "Destroying Studio at $HAB_STUDIO_ROOT" - Remove-Item $HAB_STUDIO_ROOT -Recurse -Force + Get-ChildItem $HAB_STUDIO_ROOT -Recurse | Remove-Item -force -Recurse + Remove-Item $HAB_STUDIO_ROOT } } }