How to fix ERROR_NOACCESS (998)
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
-
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.
-
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.
-
Update drivers and Windows — install the latest Windows updates and the latest storage, chipset, and USB drivers.
-
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.
-
Test your memory — run Windows Memory Diagnostic (
mdsched.exe) and restart to check RAM for errors, especially if you also see random crashes. -
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.