How to Disable Drupal User Registration

If you do not like others to register your drupal based websites, login your drupal based website admin panel. Go to User management -> User settings.

Under Public registrations, choose “Only site administrators can create new user accounts.”

Save and done. I have tested Drupal 6.22.