i was wondering if somebody did this setting? a way to boot your windows session like Safe mode, but Networking and Hardware acceleration enabled, and in this way had a session just for gaming without any other app opened
Safe Mode doesn't just disable "Networking and Hardware Acceleration". It turns off virtually all non-essential services, bypasses all on-startup software, and (most importantly, from a gamer's perspective) loads a built-in set of fail-safe drivers from Microsoft. Your games will not run any better, and in fact will probably run much worse (if they run at all), in such a configuration.
What you should probably do, if you're so inclined to reboot your system just for the sake of game performance, is to install a second copy of Windows onto another partition or a secondary internal hard drive. Then, install nothing but your essential drivers and game software on that partition. When you've booted to your secondary OS, nothing from the primary will be able to take any resources from your games.
You should of course bear in mind that, while you're booted into that second partition, your web server "and other stuff" will be unavailable to you and anyone else who may use it. You will need to reboot the system again to bring those services back up. Ideally, you should not be playing games on anything that's acting as a server unless you are the only user of that server and are willing to accept the risks involved.