e4no3t0iyube This error might be the corrupted version of the "low disk space error", I am not sure why the text doesn't appear, but it seems to behave like that error where clicking Yes opens the game. It may be appearing because you have OneDrive enabled.
The Sims 2 and OneDrive are generally not a good combination since syncing user data with OneDrive may lead to neighborhood issues. At best, it could revert your saved files to a previous version or not let you save at all, at worst, it could corrupt the neighborhoods.
If you have OneDrive enabled, I strongly recommend disabling it (if you don't use it for anything else) or changing its settings to stop syncing The Sims 2 files. Puzzlezaddict has a great post on how to either disable OneDrive or prevent it from touching Sims files. Please check out the Managing OneDrive section in this thread:
[Read First] Running Sims 3 in Windows | EA Forums - 8323446
Although these steps are written for The Sims 3, they will work for The Sims 2 as well; the only difference is that The Sims 2 user files are located in Documents\EA Games instead of Documents\Electronic Arts. Make sure to create a backup before making any changes, just like the post recommends.