Windows 10 deletes files without asking - windows-10

I'm trying to install an application on windows 10: Verge Wallet
And every time I unzip the file and run the app called Verge-QT Windows unceremoniously deletes the file without asking.
I went into the McAfee control panel and restored the file from Quarantine. But the next time I run it it just disappears again! Very frustrating. How do I get windows and mcafee to NOT delete programs I'm actively trying to use?

Maybe stop Mcafee app before using it

Related

Xamarin.ios Error MSB6006: "codesign" exited with code 1

When trying to test my app on my device iPhone, I get the following error, I think it's something about registering my device.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3):
Error MSB6006: "codesign" exited with code 1. (MSB6006)
(multifacturacion.iOS)
The strange thing is that this same device in another mac with xamarin if it works and with the same project.
If someone can help me with this, I have several days looking for a solution.
This went away for me after I cleaned the solution in Visual Studio.
(yes this is a complete answer, there are no citations, this is just what I did to fix it).
Open the info.plist and check "Automatic Provisioning".
Thing is, I am having this error regularily. I am working with a local developer certificate created on my Mac using a free Apple Id, but without a paid Apple Developer Membership. I am using a Windows based devloper workstation and program in Visual Studio 2019 with Xamarin.Forms 4.0. To get local deployment working again, I need to visit the general settings on my iPhone and remove my trusted account from the list of developer apps under device management which basically not only removes the account but also the app from the device.
Then I need to remove all occurances of the corresponding certificate on my Mac within the Keychain Utility and even the mobileprovision file on my harddrive located somewhere beneath my user directory.
Now I have to Start XCode on my Mac, open the project, I am working on and have it automatically "repair" the signing certificate which basically creates a new one and registers it in the Keychain. The moment I run the app from XCode, I need to always allow keychain access and on my iPhone I can see the account appear in the general settings again which I have to manually trust... again.
THEN I can open the corresponding project in my Visual Studio on my Windows Developer Workstation, rebuild and deploy the app and get no errors.
Without being able to say why, it could happen even the next time I try to build and deploy the app, that this error happens again... this is very (!) inconvenient and I didn't find any real solution for it yet...
remove your certificates from keychains and add again, close Info.plist open and fill de information on bundle singing option, that works for me, remember link your device with you provisioning.
The answer of Mephisztoe worked for me, except that I am working on Windows and you find the scheme-property in the project-settings and not in the plist-file.
Furthermore be sure that you installed fastlane (just open Extras > Options > Xamarin > Apple-Accounts and click on "install fastlane") and added your Apple-ID there.
I also deleted the certificate with the keychain-utility. That's why I had to reenter my password on the mac as I clicked on build on my windows machine.
With these steps done I can finally work again...
If the certificate of Apple developer is expired, you can get the error like "codesign", so you need to create a new certificate in Apple Developer site (https://developer.apple.com/account/), then download & install to your computer.
I have been struggling with the same issue for several days, the error came only when I tried to publish the app from my Windows VS 2019. It had no further details of why it was behaving like this.
What I changed was:
Created New Publishing Profile & Certificates
Instead of selecting Release in Configuration as suggested in this Microsoft article, I selected AppStore from the configuration.
Tried to recreate the archive and it was completed successfully.
Now when I tried to publish it, I encountered few error messages, I fixed them and submitted the app again. It worked fine.
For me, the issue was that there was a popup asking for a password on the network-attached Mac. I had to VNC into it and enter the password.
For some reason the first time I did this (and chose "always allow"), it failed again with this error, but the second time I ran it succeeded.
You'll want to make sure to have an app-specific password ready if you haven't already generated one. I have no idea why, but it prompts you for one in VS.

How to solve "File is in use" Windows 10 error when the file is actually not in use

I develop software using Visual Studio 2017 on Windows 10 Home with the latest updates. When my application throws an exception, the executable according to Windows remains open by itself. When I (or Visual Studio) try to delete (overwrite it with newly built executable) Windows says test.exe is open by test.exe and cannot be deleted even though test.exe is not running and there are no other processes that have a handle to test.exe (verified by running Sysinternals handle.exe tool). The only way to deal with this problem is to reboot Windows or log off and log on.
test.exe uses test.dll. If the exception happens in test.dll code, then test.dll will stay locked until reboot.
I did not have this problem on my previous old laptop with the same OS and I don't have it on my work laptop with Windows 10 Pro.
The .net application is a console one written in c#. The content of the code does not matter, it can be just one line that generates any exception. If I run the binary from explorer, I do not experience this problem, only when I run it from the command line. If I kill the main thread test.exe of my test.exe process in sysinternals process explorer before I hit "debug" or "close" button, then I can delete the file without a problem.
It looks like a Windows bug but why I did not have it in my old laptop and my work laptop?
I wonder if anyone else has experience the same problem? Or even better if someone knows how to fix it.
Thanks a lot!

Slow IIS on local Windows 10 PC

I've been running IIS over the years, on Windows 2000, Windows XP and Windows 7.
Since I moved to Windows 10, I've been having lots of problems with IIS running slowly.
I have a clean install of Windows 10 on my PC, not a previous Win7 version upgraded to Windows 10.
These are the versions:
Windows 10 Version 1511 (OS Build 10586.420)
Internet Information Services (Version 10.0.10586.0)
I have tried all sorts to fix this issue, such as editing my hosts file to this:
127.0.0.1 localhost
Or commenting that line out.
I've tried running as:
127.0.0.1/mysite instead of localhost/mysite
I've tried tweaking various settings on the ApplicationPool, as per reading I've done on StackOverflow and the web in general.
There is nothing in the Event Log to do with errors or problems being flagged up.
However, a lot of the time page refreshes take over 1 minute to complete, which makes local development very slow.
The issue is the same on Chrome, Firefox, IE and Edge browsers.
I just re-installed Windows 10 and had the same issue again.
My IIS files sit outside of the wwwroot folder, in the c:\data folder. The localhost site was running painfully slow again.
This time, I fixed it by giving Read access to IUSR, NETWORK SERVICE and IIS_IUSR when right-clicking the folder and going to Properties > Permissions - e.g. for NETWORK SERVICE:
After that I restarted the IIS server and it sped up a lot.
This isn't how I fixed it last time though, but I can't remember how I fixed it them - so putting in this fix this time before I forget it!

Git Extensions stopped working after forced restart

Git extensions stopped working on my computer after I performed a forced restart. I need help getting it back on line.
My computer runs on windows 8.1. Leading up to the error, my computer ran out of memory (RAM) and froze. after about 5 minutes of no response, I powered down the machine by holding down the power button. I then started my machine up again and Git-Extensions would no longer launch. clicking on the git-extensions Icon would prompt no error. Rather, the computer would acknowledge that I had clicked on something, but fail to launch the program. The same result came from navigating into the file where the executable is located and clicking on it directly.
My efforts to fix the problem are as follows. I restarted my machine. Git extensions still didn't launch. I went to the download site for Git-extensions and selected to have my local installation repaired. Afterwards, Git extensions still would not launch. I uninstalled and re-installed Git-Extensions. Still, Git extensions is not launching.
Any Ideas as to why Git-Extensions would suddenly stop working and how to fix the problem? Thanks.
Downgraded to Git-extensions 2.4.
https://github.com/gitextensions/gitextensions/issues/2185

"A remote operation is taking longer than expected" x64

First off, I think I've been to every website and forum there is that's discussing this issue and I've tried many different things. I'm at my wits end. This is the dumbest thing and I just want to start coding again!
I'm using Visual Studio Express 2012 for Windows Desktop. I have a x64 project I'm trying to run in Debug mode using the local windows debugger. The only external library I'm using is that of which is required to run DX11.
I attempt to run my program and it freezes. A window pops up saying "A remote operation is taking longer than expected."
I click Terminate and another window pops up asking if I'd like to terminate the remote session. Why yes, I would.
Then it says, "Unable to start program (my path leading to my .exe). The network connection to the Visual Studio Remote Debugger has been closed."
To my understanding, because Visual Studio itself is a 32 bit application, it needs to use the Remote Debugger to compile to x64. Is that correct?
Regardless, I'm still failing to see where that would break down. I've ran several repairs on VS and upgraded to Service Pack 2 (or 1, whichever is the latest).
I've ran a windows repair and uninstalled any VMWare type stuff on my computer. I'm not using a VPN.
I've even copied msvsmon.exe from my laptop (working instance of the project) over to this computer and still no luck.
I'm about ready to Nuke my OS and do a clean install on everything. sigh
Found the problem. It wasn't Windows Firewall like other threads describe. It was my internet filter. I guess it decided to try and block msvsmon.exe because it was using the network. Adding it, along with WDExpress.exe to the application exceptions list did the trick.

Resources