Microsoft just keeps adding more crap to clutter up the navigation in Windows 10. Seriously, who needs a 3D Objects folder? The tiny percentage of 3D modelers in the world probably already have a sensible way to store their files. This is up there with the "Briefcase" in Windows 95.
Even worse, there's nothing exposed in the UI to hide this and other annoying folders. If you're like me (you probably are if you found this page) then you want to know how to clean up these items. There are a few articles out there already, but most want you to manually navigate the regedit UI which takes a little while.
Instead, you can just copy/pasta these lines into an administrator command prompt or powershell and be done!
Simply copy the whole script, or do each individual line. If you get an access denied error, please make sure you are running the shell as administrator.