How to hide Desktop Icons for Some Users

I’ve tried several methods found on this forum and nothing works. What’s the actual method to hide desktop icons for specific users?

Have you tried following URL? in which some replies has given.

  1. Can I hide any icon from the home page for specific user? - #9 by umair

  2. Show or Hide Desktop Icons not saved - #6 by bzero