block computer name in mikrotik routerOS

hello, could anyone who tell me how to block a computer name because when I restricted with IP client change ip and when i restricted using MAC they use mac changer software to bypass restriction.so in both scenarios computer name are the same so how to block computer name.?

Not really possible directly, and it would not make much sense … If you users have the rights to change their IP & MAC, what would stop them to change their computer-name…
You need to solve this issue in other ways.

  1. Restrict your users by means of policy so they cannot change stuff on the computers.
  2. Deploy a closed 802.1X network so only authenticated computers may access the network, this would allow to identify more what is on the network.
  3. Have policies in place in your company to punish users that revert to bypasses/hacks like this. (eg. fire them)