There could be a lot of reasons this could be happening….
Here are a few I could think off:
- Insufficient available space
- Anti-virus blocking download
- Corruption on one of the important REST dlls
- Your windows is WAY too old (C++ redistribution and .NET frameworks might be missing)
- Delete some apps and everything inside %temp%
- Whitelist Genshin Impact or turn off your anti-virus
- Reinstall the genshin Impact installer
- Upgrade to a newer windows version
If this doesn’t solve your problem, send me a private message with more details and a screenshot from Imgur.