• Giới thiệu
  • Liên hệ
  • Chính sách bảo mật
logo
  • Blogs
No Result
View All Result
  • Blogs
No Result
View All Result
logo
No Result
View All Result
Home Blogs process cannot access the file because it is being used by another process

Process Cannot Access The File Because It Is Being Used By Another Process

Share on Facebook Share on Twitter

Several Windows users are encountering the “The process cannot access the file because it is being used by another process” error. Most of the time, the issue occurs when the user tries to lớn run a netsh command. Some users are reporting that for them, the error message appears when they try to lớn right-click a trang web in the IIS (Internet Information Services ) MMC (Microsoft Management Console) snap-in.

Bạn đang xem: Process cannot access the file because it is being used by another process

*
The process cannot access the file because it is being used by another process

The issue is reported to lớn occur on Windows Vista, Windows 7, Windows 8.1, Windows 10 and on various Windows vps versions.


What causes the process to lớn be used by another process?

We investigated this particular issue by looking at various user reports và the repair strategies that they used khổng lồ get the issue resolved. Based on what we were able lớn gather, there are several common scenarios that will trigger this particular error message:


The command requires admin privileges – If you’re encountering the error inside a terminal, it’s most likely because you don’t have administrative privileges khổng lồ make the modifications. Several users in a similar situation have managed lớn get the issue resolved by granting admin privileges.Another process is using port 80 or port 443 – This is typical with computers running IIS (Internet Information Services). If another process is using these two ports, you will see this error message.The ListenOnlyList registry subkey is not configured correctly – Another common scenario with IIS (Internet Information services) that will trigger this particular error is an incorrectly configured ListenOnlyList registry subkey.

If you’re currently struggling to lớn resolve this particular error message, this article will provide you with a collection of verified troubleshooting steps. Down below, you have a collection of methods that other users in a similar situation have used to get the issue resolved.

For the best results, follow the methods below in order until you encounter a fix that is effective in resolving the error in your particular scenario.

Let’s begin!

Method 1: Running the command with admin privileges

If you’re getting this error when trying to lớn run a netsh command, it’s likely that the error is occurring because you don’t have admin privileges. This is reported to lớn occur more than often when the user tries khổng lồ run a command that adds exclusions to the dynamic port range for native Windows apps or 3rd buổi tiệc nhỏ application.

Keep in mind that an operation of this kind will require administrator privileges. To ensure that the CMD window you’re trying to lớn perform the kích hoạt in has admin privileges, follow the steps below:

Press Windows key + R to xuất hiện up a Run dialog box. Then, type “cmd” & press Ctrl + Shift + Enter to mở cửa up an elevated Command Prompt.Opening an elevated Command Prompt windowWhen prompted by the UAC (User trương mục Control), click Yes lớn grant admin privileges.
In the elevated Command Prompt, run the command again & see if you’re still encountering the same error message.

If you’re still getting the “The process cannot access the tệp tin because it is being used by another process” error or this scenario wasn’t applicable, move down khổng lồ the next method below.

Method 2: Setting a different IP range

If you’re trying lớn resolve a conflict DNS conflict using netsh & the method above didn’t help you, you might want to try a different approach.

Xem thêm: Cách Viết Cv Ấn Tượng Bằng Tiếng Anh Tạo Ấn Tượng Nhất Với Nhà Tuyển Dụng

Several users struggling lớn resolve the same error message have found that the conflict is resolved after they tried lớn set a completely different IP range instead of creating an exclusion range.

Below you have a couple of commands that one affected user successfully ran to resolve a conflict between DNS và Quickbooks:

netsh int ipv4 mix dynamicport tcp start=10000 num=1000netsh int ipv4 phối dynamicport udp start=10000 num=1000Note: Ensure that the terminal you’re running the command in has admin privileges.

If this method didn’t resolve the conflict or wasn’t applicable khổng lồ the situation that you’re encountering, move down khổng lồ the final method.

Method 3: Resolving the IIS port conflict

If you are encountering the issue while trying to right-click a website thành quả inside the IIS MMC snap-in (clicking Start doesn’t vị anything), you’ll need to use the Netstat.exe utility to lớn figure out if another process is using port 80 and port 443.

This issue is quite common with computers running Microsoft IIS 6.0 và 7.0. Based on the official Microsoft documentation, the error message will appear if one of the following conditions are applicable to your current situation:

The ListenOnlyList registry subkey is not configured correctly on the IIS running computer.Another process is using the TCP port (80) or the SSL port (443) required by the IIS.

To resolve this issue, we’ll need lớn deploy the Netstat.exe utility in order lớn determine if another process is using the ports specified above. If the utility determines that the ports are not being used, we’ll examine the ListenOnlyList subkey khổng lồ see if it’s correctly configured.

Here’s a step-by-step guide through the whole thing:


Press Windows key + R to mở cửa up a Run dialog box. Then, type “cmd” và press Ctrl + Shift + Enter to open up an elevated Command Prompt. When prompted by the UAC (User account Control), click Yes khổng lồ grant administrative privileges.Opening an elevated Command Prompt windowInside the elevated command prompt, run the following command lớn start the Netstat.exe utility:

netstat -anoOnce you get a return, scroll through the các mục of Active Connections & verify whether the ports 50 and 443 are being actively used by a different process.

*
Verifying if the ports are being used by a different processNote: If the ports are being actively used by a different process, you’ve just managed to identify the source of your problem. In this case, look online for specific steps on how to lớn resolve the port conflict according to lớn the PID of the port.Close the elevated Command Prompt as we won’t need admin privileges for the next steps.If the ports aren’t actively used, press Windows key + R to mở cửa up a Run dialog box. Then, type ‘regedit‘ and press Enter to open the Registry Editor. When prompted by the UAC (User tài khoản control), click Yes khổng lồ grant administrative privileges.
*
Opening the Registry Editor utilityInside the Registry editor, use the left pane lớn navigate to lớn the following location:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesHTTPParametersListenOnlyListNote: In case the ListenOnlyList subkey is not present, there’s no need lớn create one as an IP address of 0.0.0.0 will be used by default.Before you go ahead and modify the ListenOnlyList subkey, you’ll need lớn stop the HTTP service that is running the IIS. So put the Registry Editor in the background as we’ll return to it in a moment.Next, press Windows key + R to xuất hiện a Run dialog box, type ‘cmd‘ & press Enter to open another Command Prompt window.Run dialog: cmdIn the Cmd prompt, run the following command và press Enter khổng lồ stop the HTTP service responsible for running the IIS:net stop httpWhen asked whether you want khổng lồ continue this operation, type ‘Y’ & press Enter lớn confirm the operation.
*
Disabling the HTTP ServiceOnce the HTTP service is disabled, close the Command Prompt window & return lớn the Registry Editor.With the ListenOnlyList subkey selected, move over lớn the right-hand pane và ensure that it contains valid IP addresses. If you spot an IP address that isn’t valid, remove it or modify it lớn reflect an entry with a valid IP address.
*
Deleting the Binary values with invalid IPsNote: In case the ListenOnlyList subkey is present và the 0.0.0.0 address is listed, you need lớn delete all the other IP addresses.Close Registry Editor & restart your computer.At the next startup, the HTTP service should be automatically started. But just lớn make sure, press Windows key + R to open up another Run dialog box. Then, type “cmd” và press Enter to open a Command Prompt window.Opening a normal Command Prompt windowIn the newly opened Command Prompt, type the following command to ensure that the HTTP service is started:net start httpNote: If you get returned a message saying that “The requested service has been already started” you are good lớn go.Attempt lớn start a service from the Microsoft internet Information Services (IIS) Microsoft Management Console (MMC) snap-in. You should no longer encounter the ‘process cannot access the tệp tin because it is being used by another process’ error.
Share Tweet Pin

BÀI VIẾT LIÊN QUAN

đặt video làm hình nền desktop trong windows 8

Đặt video làm hình nền desktop trong windows 8

by admin
09/10/2021
phân tích bức tranh tứ bình trong bài thơ “việt bắc” của tố hữu

Phân tích bức tranh tứ bình trong bài thơ “việt bắc” của tố hữu

by admin
05/10/2021
cách gõ công thức toán học trong word 2013

Cách gõ công thức toán học trong word 2013

by admin
05/10/2021
download game kim cương bejeweled 2 về máy tính

Download game kim cương bejeweled 2 về máy tính

by admin
05/10/2021

Trả lời Hủy

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Bài Viết Mới Nhất

Xem ty so truc tuyen nhanh và chính xác nhất trên Socolive 

10:05, 24/04/2022
mẫu biên bản hiện trường

Mẫu biên bản hiện trường

07:55, 08/10/2021
font chữ cho win 7

Font chữ cho win 7

07:15, 15/10/2021
download nox app player for mac

Download nox app player for mac

15:46, 13/10/2021

Đề xuất cho bạn

Venus factor book pdf free download

14:58, 13/10/2021
results for : may bay ba gia hoi xuan

Results for : may bay ba gia hoi xuan

03:30, 15/10/2021
download giấy a4 kẻ ngang file word

Download giấy a4 kẻ ngang file word

14:33, 14/10/2021
nhận iphone 11 pro max miễn phí từ google

Nhận iphone 11 pro max miễn phí từ google

11:31, 10/10/2021
đề thi iq xét tuyển học bổng du học nhật bản hàn quốc 2020

Đề thi iq xét tuyển học bổng du học nhật bản hàn quốc 2020

13:07, 12/10/2021
cánh diều vàng việt nam cho nam diễn viên phụ xuất sắc nhất - phim điện ảnh

Cánh diều vàng việt nam cho nam diễn viên phụ xuất sắc nhất - phim điện ảnh

03:31, 13/10/2021

Giới thiệu

giasuviet.edu.vn là website chia sẻ kiến thức hoàn toàn miễn phí. Cùng với sự phát triển công nghệ và ngành thể thao điện tử, thì ngày càng có nhiều người tìm hiểu thêm lĩnh vực này. Chính vì thế, giasuviet.edu.vn được tạo ra nhằm đưa thông tin hữu ích đến người dùng có kiến thức hơn về internet.

Danh Mục

  • Blogs

Bài viết hay

  • Full màn hình đế chế
  • Người tuổi tý và ngọ có hợp nhau trong làm ăn, tình duyên
  • Điểm chuẩn cao đẳng kỹ thuật cao thắng
  • Không download được video trên facebook bằng idm
  • Tính diện tích hình elip

Textlink Quảng Cáo

  • Giới thiệu
  • Liên hệ
  • Chính sách bảo mật

© 2022 giasuviet.edu.vn thành lập và phát triển vì cộng đồng.

x
No Result
View All Result
  • Blogs

© 2022 giasuviet.edu.vn thành lập và phát triển vì cộng đồng.