How to make the drupal’s admin panel enable for registering the admin only:
– go to admin panel->people->permission
– search for “user settings” , you get it in the top paragraph, just click on it.
– You will see a section like
“Registration and cancellation”
Who can register accounts?
Here select the option Administrators only
– save the configuration.
– Its done.