| Windows 7: The process cannot access the file because it is being used by... |
03 May 2012
|
#1 | | |
The process cannot access the file because it is being used by... Hi Forums,
I am getting this error all the time with Windows 7. I open a text file I want to
edit, then go to save my changes and I get this error:
"The process cannot access the file because it is being used by another process".
I have full admin rights, running Windows 7 Ultimate x64 SP1. From a bit of research I have seen where many others have been experiencing this problem or something similar too. The only "fix" (that doesn't work all the time) is to close explorer.exe and then restart it to "release the handle"? Anyway, this is not acceptable for to money and time I spent upgrading/configuring this new OS from XP where I never had this problem and seriously cuts down my productivity.
Is there a fix for this? Has Microsoft even acknowledged this as a bug yet? I can duplicate this scenario the second or third time I try to edit/save/delete a text file and I know that explorer.exe is the problem or a big part of it in any case. I don't want to go back to XP x64 but having to deal with this headache 10-20 times a day is just too much to ask.
Thanks! | My System Specs |
| System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64 CPU AMD Athlon II X2 250 Regor 3.7GHz Motherboard BIOSTAR A880G+ AM3 Memory G.SKILL Ripjaws Series 8GB (2 x 4GB) Graphics Card Radeon HD 7750 Sound Card Realtek HD Audio-Onboard PSU Delta Electronics 400w @+12 18a, +12 15a Hard Drives 2x's Seagate Barracuda 500gb 7200rpm |
04 May 2012
|
#2 | | Windows 7 Home Premium 64 Bit Colorado |
Have you checked to see if another application or service is causing this behavior? Troubleshoot Application Conflicts by Performing a Clean Startup | My System Specs | | System Manufacturer/Model Number HP Pavilion e9110t OS Windows 7 Home Premium 64 Bit CPU Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz Motherboard Pegatron IPIEL-LA3 Memory 6.00 GB Hundai HMT125U6BFR8C-H9 Graphics Card ATI Radeon HD 4850 Sound Card Realtek High Definition Audio/ATI High Definition Audio Monitor(s) Displays Acer AL2216W Screen Resolution 1680x1050 Keyboard HP Keyboard Mouse HP Mouse PSU Unknown/installed by HP Case HP generic case Cooling Intel Stock Cooling Hard Drives Hitachi HDP725050GLA360 ATA Device 500 GB Internet Speed Download: 19.15 Mbps Upload: 1.67 Mbps Other Info Network Adapter Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
Network Adapter 802.11n Wireless PCI Express Card LAN Adapter |
04 May 2012
|
#3 | | Windows 7 x64 Ultimate A Finnish immigrant in Leipzig, Germany |
Seems bad coding for me.
It is only natural and logical that you can't edit a file that is currently used by system or a process, so right address for complaint's is the coder for that application or process that keeps your file open even when it is no longer needed. | My System Specs | | Computer type Laptop System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Antivirus MSE, Windows Defender Browser Maxthon 3.5.2. Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) |
04 May 2012
|
#4 | | |
Nothing else is running the text file but notepad. And I used unlocker to check the handles. It's explorer.exe that locks it. Found this in MS forums: The action can't be completed because the file is open in Windows - Microsoft Answers
Seems to be an issue long standing and a bug inherent with Windows 7.
There has been no "official" statement from MS acknowledging this bug hence a patch or fix release is unlikely. Some users in the thread above have offered "fixes" but they are way too time consuming and inefficient in regards to workflow productivity. This shouldn't be an issue one has to deal with when purchasing a new OS that's supposed to be a pinnacle achievement in technology in the first place. How could MS leave such a glaring bug with their poster-child OS? Total bs. Might just have to dual boot into XP when I'm scripting from now on. | My System Specs | | System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64 CPU AMD Athlon II X2 250 Regor 3.7GHz Motherboard BIOSTAR A880G+ AM3 Memory G.SKILL Ripjaws Series 8GB (2 x 4GB) Graphics Card Radeon HD 7750 Sound Card Realtek HD Audio-Onboard PSU Delta Electronics 400w @+12 18a, +12 15a Hard Drives 2x's Seagate Barracuda 500gb 7200rpm |
04 May 2012
|
#5 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
Does it happen with any text file you want to edit, or just this one in particular? | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
04 May 2012
|
#6 | | |
It occurs with any file I try to edit with notepad or notepad++. | My System Specs | | System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64 CPU AMD Athlon II X2 250 Regor 3.7GHz Motherboard BIOSTAR A880G+ AM3 Memory G.SKILL Ripjaws Series 8GB (2 x 4GB) Graphics Card Radeon HD 7750 Sound Card Realtek HD Audio-Onboard PSU Delta Electronics 400w @+12 18a, +12 15a Hard Drives 2x's Seagate Barracuda 500gb 7200rpm |
04 May 2012
|
#7 | | Windows 7 Pro-x64 South Texas |
What real time AV are you using. Perhaps it's locking on read and write or script checking. Or you have two running and they're butting heads. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Built 2/11/2011 OS Windows 7 Pro-x64 CPU i7-2600 3.4GHz - 3.8GHz Turbo Motherboard Intel DH67BL-B3 Memory 8Gb - 2x4GB, Muskin 991770 PC3-1333 Graphics Card Integrated Intel HD 2000 Sound Card Integrated Intel 10.1 HD, RealTek ALC892 Monitor(s) Displays Asus LCD VH222H, Haier HL24XSL2a Screen Resolution 1920x1080, 1920x1080 Keyboard Logitech EX100 Wireless Mouse Logitech EX100 Wireless PSU Seasonic 650W 80+ Gold Modular Case Rosewill Defender Cooling Stock CPU, Four 120mm case fans, PCH fan added Hard Drives Crucial C300-128Gb,
Western Digital WD5002AALX - 500Gb,
Western Digital WD7501AALS - 750Gb Internet Speed 2.5/1.5 Mbs Antivirus Microsoft Security Essentials Browser Microsoft Internet Explorer 10 Other Info Antec Veris Premier-Multimedia IR Station,
Cyber Accoustics-3602 Speakers,
AFT XM-5U Card Reader,
Hauppauge TV-HVR-2250,
Sony LX300 USB Turntable |
04 May 2012
|
#8 | | Windows 7 Home Premium 64 Bit Colorado |

Quote: Originally Posted by 1000faces It occurs with any file I try to edit with notepad or notepad++. That is abnormal behavior. Have you tried the clean startup to see if another application or service is conflicting with explorer.exe and causing it to access files?
Also, what antivirus software do you use? Some of the more aggressive antivirus software will scan files when they are accessed, and it may show up as an explorer.exe access when it is actually the antivirus software.
Edit: carwiz: Great minds think alike...
Last edited by writhziden; 04 May 2012 at 02:04 PM..
Reason: Same idea...
| My System Specs | | System Manufacturer/Model Number HP Pavilion e9110t OS Windows 7 Home Premium 64 Bit CPU Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz Motherboard Pegatron IPIEL-LA3 Memory 6.00 GB Hundai HMT125U6BFR8C-H9 Graphics Card ATI Radeon HD 4850 Sound Card Realtek High Definition Audio/ATI High Definition Audio Monitor(s) Displays Acer AL2216W Screen Resolution 1680x1050 Keyboard HP Keyboard Mouse HP Mouse PSU Unknown/installed by HP Case HP generic case Cooling Intel Stock Cooling Hard Drives Hitachi HDP725050GLA360 ATA Device 500 GB Internet Speed Download: 19.15 Mbps Upload: 1.67 Mbps Other Info Network Adapter Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
Network Adapter 802.11n Wireless PCI Express Card LAN Adapter |
04 May 2012
|
#9 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
Does it happen if you create a simple text file, close it, and then try to edit it again? As stated above, this is abnormal behaviour. With some programs, it is understandable if all associated files aren't properly released when the program is closed (although this would be an issue for the program manufacturer to address). It could be your AV locking the file for some reason or other, but again this is not normal. I certainly haven't come across it.
See if this picks anything up: SFC /SCANNOW : Run in Command Prompt at Boot | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
04 May 2012
|
#10 | | Windows 7 Pro-x64 South Texas |

Quote: Originally Posted by writhziden 
Quote: Originally Posted by 1000faces It occurs with any file I try to edit with notepad or notepad++. That is abnormal behavior. Have you tried the clean startup to see if another application or service is conflicting with explorer.exe and causing it to access files?
Also, what antivirus software do you use? Some of the more aggressive antivirus software will scan files when they are accessed, and it may show up as an explorer.exe access when it is actually the antivirus software.
Edit: carwiz: Great minds think alike... Mike - Hehehe.... Mine was just a shot in the dark. I know it's not Windows or Notepad--They just do what they're told. I'm an edit fool and never run into this. 
Ken | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Built 2/11/2011 OS Windows 7 Pro-x64 CPU i7-2600 3.4GHz - 3.8GHz Turbo Motherboard Intel DH67BL-B3 Memory 8Gb - 2x4GB, Muskin 991770 PC3-1333 Graphics Card Integrated Intel HD 2000 Sound Card Integrated Intel 10.1 HD, RealTek ALC892 Monitor(s) Displays Asus LCD VH222H, Haier HL24XSL2a Screen Resolution 1920x1080, 1920x1080 Keyboard Logitech EX100 Wireless Mouse Logitech EX100 Wireless PSU Seasonic 650W 80+ Gold Modular Case Rosewill Defender Cooling Stock CPU, Four 120mm case fans, PCH fan added Hard Drives Crucial C300-128Gb,
Western Digital WD5002AALX - 500Gb,
Western Digital WD7501AALS - 750Gb Internet Speed 2.5/1.5 Mbs Antivirus Microsoft Security Essentials Browser Microsoft Internet Explorer 10 Other Info Antec Veris Premier-Multimedia IR Station,
Cyber Accoustics-3602 Speakers,
AFT XM-5U Card Reader,
Hauppauge TV-HVR-2250,
Sony LX300 USB Turntable The process cannot access the file because it is being used by... problems? All times are GMT -5. The time now is 04:48 AM. | |