in windows, some settings need requires the computer to be restarted in order for it to SAFELY take effect. this is normal with every platform because if a setting is already in use and you are going to change it, the operating system needs to reload it to memory and reloading requires the unloading of the previous one.

so for the sake of safe operation, i suggest you follow the way the operating system operates