As Thameur said above if the requirement is that these users cannot log in to domain computers. We can just deploy a group policy :Deny logon locally and add the user to the deny scope .
For example:
Create a gpo and link it to the OU containing computers the users can't log to.
Edit the GPO as following:
Please let us know if you would like further assistance.
Best Regards,