T

"The Process Cannot Access the File" Error එක Fix කරන ආකාරය

31 views · updated 2026-07-01 · published 2026-07-01 · by Hasarinda Manjula · Troubleshooting Reading time: 2 min English සිංහල

Overview

"The process cannot access the file because it is being used by another process" කියන්නේ දැනටමත් යමකට file එක (හෝ port එක) lock කරලා තියෙනවා කියලා. මේ guide එකෙන් common causes සහ fixes — offending process එක close කරන එකේ ඉඳලා port conflicts resolve කරන එක දක්වා — පැහැදිලි කරනවා.

"The process cannot access the file" error fix කරනවා.

Key Takeaways

  • File එක හෝ port එක වෙන process එකකින් lock වෙලා.
  • Interfering process එක identify කරලා close කරන්න.
  • Administrator විදිහට run කරලා security software බලන්න.
  • Port conflicts වලට, port එක හෝ IP range එක වෙනස් කරන්න.

Fix 1: Interfering Process එක හොයලා Close කරන්න

1. Task Manager open කරලා file එක පාවිච්චි කරන app එක හොයලා end කරන්න.

2. නැත්නම් Resource Monitor > CPU > Associated Handles පාවිච්චි කරලා file name එක search කරලා locking process එක හොයන්න.

3. ඒ process එක close කරලා ඔබේ operation එක retry කරන්න.

Fix 2: Administrator විදිහට Run කරන්න

1. Program එක right-click කරලා "Run as administrator" තෝරන්න.

2. UAC prompt එක accept කරන්න.

3. Retry කරන්න — elevation එකෙන් බොහෝවිට access conflicts resolve වෙනවා.

Fix 3: Security Software Check කරන්න

1. File එක scan කරන්න පුළුවන් third-party antivirus තාවකාලිකව pause කරන්න.

2. ආපහු ආපහු lock වෙනවා නම් file එක හෝ folder එක Windows Security exclusions වලට add කරන්න.

3. Test කළාට පස්සේ protection ආපහු enable කරන්න.

Fix 4: App එක Firewall එකෙන් Allow කරන්න

1. Windows Defender Firewall > Allow an app through firewall open කරන්න.

2. Correct network profile එකට ඔබේ app එක add හෝ enable කරන්න.

3. Error එකට network ports involved නම් මේක උදව්.

Fix 5: Port Conflicts Resolve කරන්න (netsh / IIS)

1. Port එක අයිති එක හොයන්න: netsh http show urlacl හෝ netstat -ano | findstr :<port>

2. Conflicting service එක stop කරන්න, නැත්නම් ඔබේ app එකේ port එක වෙනස් කරන්න.

3. netsh වලට, වෙන IP range එකක් set කරන්න; IIS වලට, site binding port එක වෙනස් කරන්න.

Fix 6: Torrent Clients

1. Locked files release කරන්න torrent client එක restart කරන්න.

2. NTFS drive එකක local download path එකක් try කරන්න.

3. Clients දෙකක් එකවර එකම file එකට touch කරන එක avoid කරන්න.

Troubleshooting

Problem: කොයි process එකද file එක lock කරන්නේ කියලා හොයාගන්න බෑ.

Solution: Resource Monitor එකේ "Associated Handles" search, හෝ Microsoft's Process Explorer (Find > Handle) පාවිච්චි කරන්න.

Problem: App එක close කළාට පස්සේ error එක ආපහු එනවා.

Solution: Background service එකක් file එක අල්ලගෙන ඉන්න පුළුවන් — Services එකේ ඒක end කරන්න හෝ lock එක clear කරන්න reboot කරන්න.

Problem: Port already in use.

Solution: netstat -ano එකෙන් PID එක identify කරලා, ඒ process එක end කරන්න හෝ port එක වෙනස් කරන්න.

Problem: Antivirus files lock කරගෙන යනවා.

Solution: Protection සම්පූර්ණයෙන් disable කරනවා වෙනුවට targeted exclusion එකක් add කරන්න.

Conclusion

මේ error එක බොහෝවිට වෙන process එකකින් lock එකක් හෝ port conflict එකක්. Task Manager හෝ Resource Monitor එකෙන් culprit එක identify කරලා, ඒක close කරලා (හෝ elevated run කරලා), network errors වලට port/IP conflict එක resolve කරලා — file එක ආපහු accessible වෙනවා.

About TechHub

මේ guide එක TechHub Knowledge Base එකේ කොටසක්. තව step-by-step IT guides සහ support වලට techhub.com.lk එකට යන්න.

Thanks for your feedback! 🙌

Read more

How to Fix the "No Such Interface Supported" Error in Windows

Resolve the 0x80004002 "No such interface supported" error that blocks files, apps, or File Explorer — by repa

Fix Error 0X80070666 Visual Cpp

Overview Error code 0x80070666 usually appears while installing a Microsoft Visual C++ Redistributable package

Fix Windows Media Creation Tool Error 0x80072F8F – 0x20000

Resolve the common MCT download error caused by TLS, date/time, network, or disk issues.

Fix "Error During the Pre-Login Handshake" in SQL Server

Resolve the SQL Server connection error that appears after disabling old TLS/SSL protocols — usually a TLS 1.2

📖

Windows Error 0xC0000005 (Access Violation) විසඳන හැටි

0xC0000005 access-violation error එකට හේතු — RAM දෝෂ, corrupted system files, drivers, malware, DEP — සහ පිළිව

How to Fix the RDP "Authentication Error: The Function Requested Is Not Supported"

Resolve the CredSSP encryption-oracle error when connecting via Remote Desktop — the right way and the tempora

📖

Windows 11 KB5083631 (April 2026 Preview Update) — අලුත් දේ සහ Install කරන හැටි (සිංහල)

KB5083631 — Windows 11 24H2/25H2 සඳහා optional April 2026 preview update එක: Xbox Mode, File Explorer වැඩිදියු

How to Fix Outlook Error 0x800CCC1A (Connection Encryption Type)

Resolve the Outlook error about unsupported connection encryption by matching the correct SSL/TLS settings and

TechHub Assistant
Online · AI assistant
Thinking
⬇ Downloads 📦 Orders 🛒 Buy License 🎫 Create Ticket 🙋 Contact
AI-generated · may be inaccurate. Talk to a human