https://support.microsoft.com/en-gb/help/940017/user-profile...
You access it through the group policy editor (covered in the above article).
I guess this was a problem once with Vista 10 years ago. The same exact steps work with Windows 10.