A little more on this, but if you also play Honkai (from the same devs), it uses the same anticheat, but sometimes one updates before the other. I use the following script to prevent one from overwriting the other everytime you change games (which of course takes extra loading time):I play Genshin, and although I don't use this preset, I based mine on it. I have not been banned. The only incident where I couldn't login was when I had a floxif virus on my PC. Genshin was the reason I found it, really.
Fair warning: this theoretically can cause your game to load a 'blank' file to your kernel (though it never happened to me over nearly two years of use) and cause bluescreens.
type nul > UniFairy.sys Icacls UniFairy.sys /remove:g %username% Icacls UniFairy.sys /remove:g SYSTEM Icacls UniFairy.sys /deny %username%:F Icacls UniFairy.sys /deny %username%:(DE,RC,WDAC,WO,S,AS,MA,GR,GW,GE,GA,RD,WD,AD,REA,WEA,X,DC,RA,WA) Icacls UniFairy.sys /deny SYSTEM:F Icacls UniFairy.sys /deny SYSTEM:(DE,RC,WDAC,WO,S,AS,MA,GR,GW,GE,GA,RD,WD,AD,REA,WEA,X,DC,RA,WA)
that creates an empty file where (Mi)Hoyoverse's anticheat would install its file, but making it system locked. Then the anti-cheat would create it on the next available folder, which is the same one where you put the game.
Also of note, some versions require UAC to be enabled, even if on the inbuilt admin account, in whatever notification settings you'd prefer, otherwise they'd crash the system, especially on remote play via steam.