Live data from Hacker News

Deleting System32\curl.exe

daniel.haxx.se

51–60 of 136 posts

Re: Deleting System32\curl.exe

#51
post #46

CMD > run as admin > enter "sfc /scannow" without quotes then update should work again. Next time anyone runs into a similar problem you might just want to zip the file before deleting it put a password if you AV still reports it. Or just get rid of your AV software it clearly su*ks if it reports legit system files.

And after that "DISM /Online /Cleanup-Image /RestoreHealth" to make sure everything is fine and dandy.

Re: Deleting System32\curl.exe

#52
post #11
post #7

Earlier quoted context omitted.

Microsoft should have renamed it to WINDLHLP.COM or something Windowsy like that, and none of these people would have dared touch it.

I noticed that "curl" in PowerShell is an alias, so you would have to deliberately say "curl.exe" to get System32\curl.exe C:\> alias curl CommandType Name Version Source ----------- ---- ------- ------ Alias curl -> Invoke-WebRequest

That's not the case in the latest versions of powershell.

Re: Deleting System32\curl.exe

#54
post #46

CMD > run as admin > enter "sfc /scannow" without quotes then update should work again. Next time anyone runs into a similar problem you might just want to zip the file before deleting it put a password if you AV still reports it. Or just get rid of your AV software it clearly su*ks if it reports legit system files.

And after that "DISM /Online /Cleanup-Image /RestoreHealth" to make sure everything is fine and dandy.

Actually the reverse.

Run DISM first, then SFC.

https://support.microsoft.com/en-us/topic/use-the-system-fil...

If you are running Windows 10, Windows 8.1 or Windows 8, first run the inbox Deployment Image Servicing and Management (DISM) tool prior to running the System File Checker. (If you are running Windows 7 or Windows Vista, skip to Step 3.)

Re: Deleting System32\curl.exe

#55

Vodaphone blocks this site for being “18+ content”, I guess because of “hacking” or something? There’s no explanation or option to report a false positive and they want you to put in credit card details to confirm your age to unlock it (I don’t need tips to get around this or anything, I can just connect to another network or use a VPN)

> There’s no explanation or option to report a false positive and they want you to put in credit card details to confirm your age to unlock it

Are we even sure this is vodaphone? This sounds so much like a scam pop up ad.

Re: Deleting System32\curl.exe

#56
post #38

Is there a windows equivalent of "chmod 0000 /file/to/be/made/unavailable" ? Even that seems pretty brutal but at least it's easily reversible if you discover that "oh I needed that to download the vendor patch that will _actually_ fix the problem"

Really depends on how windows put that curl.exe there in the first place. WinSxS would probably detect the damage and fix it. It is kind of how MS 'fixed' DLL hell. Windows really tries to stop that sort of thing. Also depending on how it was installed you may be able to get the windows installer subsystem that controls it to just uninstall it for you. Would just depend if it s part of another bundle or not. If you want to see how there are tons of vids on how people make stripped down windows installs.

Also if you are stuck with this another way to fix it is to just run the file out of a different directory and/or rename your new one. Windows load hierarchy is local folder first, then path (which usually has system32 in there somewhere).

But if you are dead set on your chmod method yes you could use calcs to do it. Add the executable permission to false. You prob would have to do that from a decently privlaged account. You probably could also do it from active directory using a group policy.

A better way is to open a phone support ticket with MS if they are the ones installing it. Going onto their web support boards is usually basically a dead end. If you bought your PC from an OEM you can call them too then they can open a ticket with MS.

Re: Deleting System32\curl.exe

#57
post #38

Is there a windows equivalent of "chmod 0000 /file/to/be/made/unavailable" ? Even that seems pretty brutal but at least it's easily reversible if you discover that "oh I needed that to download the vendor patch that will _actually_ fix the problem"

yes there is, you just need to right click the file and remove the privileges for system.

I just did this for the "AsusComService" which would take 30% of my i9 13k simply because i have dns blocking running for it.

Re: Deleting System32\curl.exe

#58
post #12

Vodaphone blocks this site for being “18+ content”, I guess because of “hacking” or something? There’s no explanation or option to report a false positive and they want you to put in credit card details to confirm your age to unlock it (I don’t need tips to get around this or anything, I can just connect to another network or use a VPN)

Probably the xx in the domain. In the UK where 20% of the internet is blocked – it's surprising you haven't experienced this before. Call your service provider and tell them you want access to adult material.

he says in the article they only block "daniel.haxx.se", not other subdomains

Re: Deleting System32\curl.exe

#59

Vodaphone blocks this site for being “18+ content”, I guess because of “hacking” or something? There’s no explanation or option to report a false positive and they want you to put in credit card details to confirm your age to unlock it (I don’t need tips to get around this or anything, I can just connect to another network or use a VPN)

You can't just disable this 'feature' from Vodafone? I'm in the UK and my ISP doesn't do this. I'm not sure why you would want your ISP interfering with your traffic like this. To me, it seems like a dealbreaker.

> "You can't just disable this 'feature' from Vodafone? I'm in the UK and my ISP doesn't do this."

Yes, you can disable it quite easily. Usually by entering a credit card number in their app or website to prove you're 18, or alternatively by contacting their customer service chat.

But of course, only pervs who want to access porn would do that, right?

In my experience it's a good idea to disable it regardless, it as there are often a lot of "false positives", and the filtering can sometimes cause performance problems. (Unless you've got kids and really do want to block porn, but eventually they're gong to discover VPNs...)

Re: Deleting System32\curl.exe

#60

Earlier quoted context omitted.

The best solution would be the remove whatever stupid law allowed for that kind of censorship in the first place. As a bonus, if the UK puts up a better fight against this stuff it'll make it harder for it spread. Any nation where people have a vote should be strongly rejecting that crap.

I'm happy for an ISP to be allowed to carry out as much censorship as it wants, provided it makes that known. They definitely shouldn't be forced to, though — in the general case — and I don't think anyone's demonstrated that they have been so in this case.

> I'm happy for an ISP to be allowed to carry out as much censorship as it wants, provided it makes that known.

Knowing about it won't help you if every ISP option you have is doing the same thing.

Where I live, we have laws that prevent people from interfering with the mail. If I send a letter to someone, once it's accepted the mail carriers can't generally withhold it and make demands before they deliver it or open my letter and remove or change whatever words/pages they feel like before completing delivery.

I think the internet should be treated the same. Beyond some basic QOS ISPs should be dumb pipes and be mostly forbidden from messing with things you send/receive over the connection.

Post reply on HN