How to fix ERROR_NOACCESS (998)

Code:998 (0x3E6)

Description

Invalid access to memory location. This error means a program or driver tried to use a memory buffer that it is not allowed to access. During file transfers it is rarely caused by the file itself; it usually comes from a file system filter driver (cloud sync, antivirus, encryption, backup software) handling the request incorrectly, or occasionally from faulty RAM.

Causes

  • Cloud sync clients — OneDrive, Dropbox, Box Drive, Google Drive and similar tools intercept file reads to download placeholders and can return this error when the operation fails.
  • Antivirus or endpoint security software — real-time scanners hook into file operations and may cause invalid memory access in rare cases.
  • Encryption or virtual drive software — third-party drivers for encrypted volumes, RAM disks, or mounted images.
  • Outdated storage or USB drivers — driver bugs that corrupt buffers during reads and writes.
  • Faulty RAM — defective memory modules can cause random memory access errors during heavy I/O.
  • Software bug — the copying application passed an invalid buffer to Windows.

Solutions

  1. Download cloud files first — if the source is a OneDrive, Dropbox, or other sync folder, mark the files as Always keep on this device and wait for them to download before copying.

  2. Update or temporarily disable security software — update your antivirus to the latest version. If the error stops when real-time protection is temporarily off, add an exclusion for the folders you are copying.

  3. Update drivers and Windows — install the latest Windows updates and the latest storage, chipset, and USB drivers.

  4. Test without third-party drivers — if the source or destination is an encrypted, virtual, or cloud-backed drive, try copying from a normal local folder to see if the error goes away.

  5. Test your memory — run Windows Memory Diagnostic (mdsched.exe) and restart to check RAM for errors, especially if you also see random crashes.

  6. Contact support — if the problem persists, report it to TeraCopy support with your Windows version, the source and destination type, and the list of installed security and sync software.