RECOMMENDED: Click here to fix Windows errors and optimize system performance
If you right-click on a website in the Microsoft Internet Information Services (IIS) Microsoft Management Console (MMC) snap-in, then click Start, the website does not start and you receive the following error message:
The process cannot access the file because it is used by another process.
This problem occurs on a computer running Microsoft IIS 6.0. This problem also occurs on a computer that runs both Microsoft IIS 7.0 and Windows Vista.
Generally, this problem occurs when one or more of the following conditions are met:
Another process uses port 80 or port 443 on the computer running IIS. By default, the IIS uses port 80 as the default TCP port and port 443 for Secure Sockets Layer (SSL).
The ListenOnlyList registry subkey is not properly configured on the computer running IIS.
Adding exceptions to antivirus programs
If it still fails, add antivirus exclusions to the device, restart the service and try again:
C:\Program Files\Backup Manager
C:\Program Files\Recovery Console
C:\ProgramData\Managed Online Backup
C:\Program Files\Backup Manager\BackupFP.exe
C:\Program Files\Backup Manager\ProcessController.exe
C:\Program Files\Recovery Console\BackupFP.exe
C:\Program Files\Recovery Console\ProcessController.exe
C:\Program Files\Recovery Console\RecoveryConsole.exe
Backup Manager: services.msc > right-click Backup Service Controller > Restart
Recovery Console: services.msc > right-click Recovery Console Service > Restart
Executing the command with administrator privileges
If you get this error when you try to execute a netsh command, it is likely that the error occurs because you do not have administrator rights. This is reported more often than usual when the user tries to execute a command that adds exclusions to the dynamic port range for native Windows applications or third-party applications.
Note that such an operation requires administrator rights. To ensure that the CMD window in which you are trying to perform the operation has administrator privileges, do the following:
- Press Windows + R to open a Run dialog box. Then type “cmd” and press Ctrl + Shift + Enter to open a high prompt.
- When prompted by User Account Control (UAC), click Yes to assign administrator privileges.
- Run the command again at the high prompt and check that you are still receiving the same error message.
RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance
CCNA, Web Developer, PC Troubleshooter
I am a computer enthusiast and a practicing IT Professional. I have years of experience behind me in computer programming, hardware troubleshooting and repair. I specialise in Web Development and Database Design. I also have a CCNA certification for Network Design and Troubleshooting.