ERROR_DIRECTORY_NOT_SUPPORTED 0x80070150
Error code 336 · HRESULT 0x80070150
An operation is not supported on a directory.
What it means
ERROR_DIRECTORY_NOT_SUPPORTED is a Windows error code (system error 336, returned as HRESULT 0x80070150) reported by Windows. Its official message is: “An operation is not supported on a directory.”
How to fix ERROR_DIRECTORY_NOT_SUPPORTED
- Verify the path/file actually exists and is not blocked by antivirus quarantine
- Reinstall the application that raised the error to restore missing files
- Check the full path spelling (long paths >260 chars need a registry opt-in)
Related errors
Source: Microsoft WinError.h
Last updated: