Windows error 0x80070091, -2147024751

Detailed Error Information

DIR_NOT_EMPTY[1]

MessageThe directory is not empty.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code145 (0x0091)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00000091.

Questions

7votes
5answers

Cannot delete corrupted folder in windows 10

Today when I was trying to decompile .apk file using WinRAR, I got an error and unzipping terminated. After that when I am trying to delete the folder I am getting an error that I don't have ownership of folder even though I am providing administrator permission. Error shown while [...] read more
windows-10
permissions
file-corruption
rm
6votes
1answer

TFS 2012 continuous integration deployment fails - Directory not empty

Sporadically get the error > An error was encountered when processing operation 'Delete Directory' on > > > 'D:\xxx'. The error code was 0x80070091. The directory is not empty. I'm using web deploy WMSVC and the user has full access to the root of the site (set up through IIS [...] read more
tfs
4votes
2answers

System restore doesn't work on windows 10

Here is the error message: > System Restore did not complete successfully. Your computer's system files and > settings were not changed. > > Details: > > System Restore failed while restoring the directory from the restore point. > Source: AppxStaging > Destination: %ProgramFiles%\WindowsApps > An unspecified error occurred during [...] read more
windows
windows-10
system-restore
4votes
3answers

Error 0x80070091 on WSL (windows subsystem for linux) install on Win10

I first installed WSL on win10 then did an uninstall via the command: lxrun /uninstall / full I then try to reinstall with lxrun /install But I'm getting the Error 0x80070091 -- I'm not sure how to solve this issue. read more
windows-10
windows-subsystem-for-linux
3votes
3answers

Windows Delete Folder '.'

I'm using UrbanCode Deploy for windows code deployments, and in my folder I've created a folder '.' . I've tried all the powershell remove-item commands and flags I can think of, I've tried robocopy move / purge copying it somewhere else, and run a chkdsk with no reported errors. When [...] read more
powershell
3votes
2answers

Azure - Web deployment task failed. An error was encountered when processing operation 'Delete Directory' on (Application Insights)

I'm using Right-Click publish in Visual Studio to publish directly to my staging slot in Azure. I've added Application Insights that added a WebJob to my app. I have enabled Remove additional files at destination and Precompile during Publishing turned on. But when a Web Job is running and my [...] read more
azure
publish
azure-webjobs
publishing
2votes
2answers

Windows Runtime: Different behavior of StorageFolder.DeleteAsync when deleting from different locations

I am a bit confused about the behavior of DeleteAsync when invoking it on StorageFolder objects representing folders in different parent locations. If the parent location of the folder I want to delete is for example the local application data folder, I can delete folders even if they have content [...] read more
windows-runtime
windows-store-apps
1vote
2answers

Deleting file by specifying full path - why does this work?

Attempting to delete a folder in Explorer failed with error 0x80070091: the directory is not empty. del from admin command prompt gave a 'permission denied' error. Permissions and ownership in order. del \\?\c:\path\to\folder succeeded. Why does this work when del c:\path\to\folder does not? EDIT: Path length was 29 characters, as [...] read more
windows-7
unc
1vote
0answers

Msdeploy not removing the NON-empty directory during deployment

I am getting following error during deployment when there was a folder recursively removed from code. As a workaround i had to manually delete the folder from destination path on server. Error: (12/26/2018 4:32:27 AM) An error occurred when the request was processed on the remote computer. Error: An error [...] read more
msdeploy
1vote
1answer

Wix Burn Managed Bootstrapper - No Rollback

I have a managed bootstrapper to install the SQL Server 2014 Express in silent mode. Installation works fine, but if the user cancel's the setup, then Burn doesn't start a rollback?! Here's the Chain definition: <Chain> <ExePackage Id="SQLServer2014SP1_32bit" DisplayName="SQL Server 2014 Express SP1 (32 bit)" DownloadUrl="https://download.microsoft.com/download/2/D/6/2D6264A9-FA30-4731-920F-F21548052577/DEU/x86/SQLEXPRWT_x86_DEU.exe" SourceFile="C:\Test\SQLEXPRWT_x86_DEU.exe" Cache="no" Compressed="no" PerMachine="yes" [...] read more
sql-server
wix
rollback
burn
0votes
1answer

Msdeploy fails from time to time, stating that it is unable to delete directory

We have an MsDeploy enabled-delivery and, normally, it is working flawlessly on number of servers. But, on 3 Windows 2012 R2 servers it fails from time to time saying that it is enable to delete directory. Following error is logged in Event log: User: Client IP: masked Content-Type: application/msdeploy Version: [...] read more
windows-server-2012-r2
msdeploy
0votes
0answers

PC unusable after deleting files from WindowsApps

One problem led to another, so I really needed to perform a system restore and unfortunately I am aware that my pc has always had a problem with this and I just can't restore. So I set out to fix this issue so I would able to use this feature. [...] read more
windows-10
0votes
1answer

Windows 10 on Toshiba Satellite Pro laptop

The diplay on my laptop suddenly reduced in size, with a 2cm margin either side. Then, it suddenly filled the whole screen again, however, the image is stretched and distorted. This distortion is in all apps and websites. When I try to run "System Restore", I get Error message 0x80070091. [...] read more
windows-10
system-restore
0votes
0answers

Using skipAppData msdeploy flag during ARM template deployment errors

Attempting to design multi-package ARM deployment via MSDeploy site extension and addOnPackage syntax for Sitecore continuous deployment. { "type": "Microsoft.Web/sites/extensions", "apiVersion": "[variables('webApiVersion')]", "name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]", "location": "[parameters('location')]", "dependsOn": [ "[resourceId('Microsoft.Web/sites/config', variables('siWebAppNameTidy'),'appsettings')]" ], "properties": { "packageUri": "[parameters('emptyMsDeployPackageUrl')]", "AppOffline": true, "SkipAppData": true, "dbType": "None", "setParameters": { "Application Path": "[variables('cmWebAppNameTidy')]" }, "addOnPackages": [...] read more
azure
sitecore
msdeploy
arm-template
0votes
0answers

MDT Install Operating System task failed, Return Code = -2147467259 0x80004005

I'm trying to apply an image I captured of a Windows 10 install on a tablet (a Getac) to a VM or another tablet of the same type. In both cases I get the same error every time. There are a few errors that appear in the smsts.log file but [...] read more
windows
deployment
mdt
0votes
3answers

SQL Server 2008 R2 an error occurred during the installation of assembly

SQL Server 2008 R2 : an error occurred during the installation of assembly Error installing SQL Server 2008 R2 > AN ERROR OCCURRED DURING THE INSTALLATION OF ASSEMBLY > 'microsoft.vc80..crt.version="8.0.50727.1833", publickeytoken > ="1fc8b3b9a1e18e3b" processorarchiteure="x86",type="win32"'. please refer to > help and support for more information.HRESULT:0X80070091 Error log Overall summary: Final result: [...] read more
sql-server-2008-r2
0votes
0answers

Error while installing SQL Server 2014 after uninstall

I have uninstalled all the previous versions of SQL Server from my OS and also renamed the registry as well. I downloaded ENU\x64\SQLEXPRWT_x64_ENU.exe from here Now I am trying to install it. I am getting this error. > The following error has occurred: > > Error 1935.An error occurred during [...] read more
sql-server
installation
windows-installer
registry
-1votes
2answers

Can't delete file named '...'

For some background, I'm on Windows 10 however with the files I'm going to talk about I've used them in shared folders with Ubuntu VMs before. In a folder on my machine, there is a file named '...' I really don't know where this file came from. It was inside [...] read more
windows
windows-10
powershell
filesystems
-1votes
1answer

delete a project (Cocos2dx)

I have a problem to delete a project in my project folder. I always get the message "An unexpected error is keeping you from deleting the folder. error 0x80070091: The directory is not empty". So what should I do to delete that folder? Windows 8 read more
android
windows-8
cocos2d-x

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0