Secure file encryption since 2001
Bugs & issues

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

13 replies 7 participants Started Active

Actions

Reply
Gerald Lerman Guest
Report spam

The support guy will tell you it's Microsoft's problem and so it's not their problem. So, sorry, you will never see your files again that you entrusted to AxCrypt, and this matters not at all to them. Where I work this attitude would not be tolerated for a moment. There would be some attitude adjustment put into effect. We'd be looking for a workaround, contacting Microsoft if necessary, finding alternative ways to invoke .net functions, and not stopping until we completely understood what the issue is and found some way to make this work for our customers. But all you get from AxCrypt is that it's not their problem and frankly, John, they don't give a damn.

Their suggestion to run the .Net troubleshooter didn't work, no problems were found, and the advice to uninstall and reinstall .NET is extremely dangerous, especially since it's not based on any actual knowledge that it will work. You can end up with all sorts of broken programs by uninstalling .Net.

My issue was resolved when I updated the HyperV_Virtual_Switch in Hyper-V but this was purely by luck and happenstance and I don't feel confident the issue won't return. I too am looking at alternatives. I will not use a product where I risk losing access to my files over a technical glitch while knowing that the vendor will not make any effort to help recover access to files that I entrusted to them.

Jerry Lerman Guest
Report spam

Are you having this error and do you also have Windows HyperV enabled?

I noticed similar problems with other programs that bind particular ports to localhost. They intermittently would not start, claiming the port was in use, but there was no evidence that anything was using the port. In the case of Axcrypt, running "netstat -bano | findstr 53414" in an Admin CMD window returned no hits, meaning it isn't being used. It's just not usable by anyone.

What I found is that the ports are not in use but are non-persistently reserved by HyperV. Programs return the wrong error message but it may be the error that they are getting. Apparently HyperV, and this is idiotic design, at some point will reserve a ton or port ranges for its own use. And because it reserves them, you can't use them any longer.

To find out if this is the case for you, in an ADMIN CMD window, run this command:
netsh interface ipv4 show excludedportrange protocol=tcp

If you find that 53414 is within one of the many reserved port ranges, then you have the reason that AxCrypt won't start. HyperV reserved the port for itself.

I'm not an expert on this but I fixed this by beating HyperV at its own game. While it reserves these port ranges non-persistently, I reserved port 53414 (and the others I had issues with) as persistent reservations for my Windows account. By doing this, HyperV can no longer reserve it for itself.

It's a race to fix. You need to reboot which releases the HyperV reserved ranges. Then as quickly as possible when Windows comes up, open an Admin CMD window and run this command:

netsh int ipv4 add excludedportrange protocol=tcp startport=53414 numberofports=1 store=persistent

If you get back "ok" then you won and you are all set going forward. If you are told that the port is in use then you lost the race and the HyperV already reserved it and you need to try again.

After you successfully run the command and have the port reserved for your Windows account, rerun "netsh interface ipv4 show excludedportrange protocol=tcp" and you'll see that range 53414 is reserved with an "*" meaning it's yours forever. The problem should now be resolved. At least this resolved my issue with AxCrypt and about 5 other programs that I run that bind a particular port to localhost.

Mike Guest
Report spam

Just for those who are looking at the "exclude port" solution, it does not work.

What happens is that when you reboot, the port is now excluded and cannot be used. AxCrypt will not bind to this port. Removing the exclusion allows AxCrypt to launch correctly, but it will screw up again in the future if Hyper-V captures this port.

That said, I've been running AxCrypt + Hyper-V for years and this is the first time I've come across this problem. I expect that the issue is with AxCrypt.

And the question that EVERYONE should be asking is:

WHY DOES AXCRYPT NEED A LOCAL SERVER???

This seems really odd to me.

 

Reply to this topic

Posting as a guest. Log in or sign up to get reply notifications and edit your posts.

Tip: describe your AxCrypt version, operating system and the exact error message. Never post your password or license key.