You do not need to change any attributes on these files. All you need to do is set show system files to off in explorer. Hidden files can still be on. Then, they will not appear on the desktop, but they will appear when you search by using the files explorer.
And everything still works.