Interesting wonder why that option was off/disabled? That option has been enabled, I assume by default, on my Windows PC’s since setting them up. Wonder if it’s tied to Windows File Sharing or similar option and if one has Windows File Sharing disabled (say for security policy) that option is likewise disabled.
Edit to add: Added the OP information as General Method 3 in the Compilation of Windows 10 Methods, Steps and Solutions post.