Restricting the existing user to creating new database

Posted on 2009-07-10
Last Modified: 2013-11-10

how to assign below permission to user who is already having db_owner permissions. like
1.deploy SSIS package
2. able to schedule jobs
3. able to reorg tables databases

according to my knowledge  
for deploy SSIS package i have given roles in MSDB to that user- DTsltduser, DTSadmin and DTSoperator.
for schdule jobs given SQL agent roles  SQL agent reader, SQL Agent user SQL agent operator
for reorg tables databases given sysadmin rights.

It's working fine. but i want to restrict from creating a new database. how ?


Question by:krishna_harik
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 31

Assisted Solution

RiteshShah earned 300 total points
ID: 24821563
remove that user from SysAdmin fixed server role.
LVL 31

Assisted Solution

RiteshShah earned 300 total points
ID: 24821567
I mean remove login from sysadmin fixed server role

Author Comment

ID: 24821666
we removed the sysadmin, but still he is able to create new database
Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

LVL 31

Assisted Solution

RiteshShah earned 300 total points
ID: 24821686
can you tell me, what server role that user has right now? just give it only one role "public"

Author Comment

ID: 24822213
we only given 'public' rights and added the user to DCOM Security group.

Author Comment

ID: 24837560
Any one please help me.. it is still pending to restrict the user permission.
LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 200 total points
ID: 24995457
is the user in a domain or local admin group?
if yes, is there still the BUILTIN\administrator login defined in your sql server logins?
if yes => the sql login mentioned has, by default, the sysadm fixed server role
which makes the user can do anything.

you need to change at that level, accordingly

Author Closing Comment

ID: 31601994
thanks for your valuable inputs from the experts

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question