Re: SQL2005 non-administrator Service Account
- From: "Rick Byham, \(MSFT\)" <rickbyh@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 May 2008 14:52:12 -0700
I suspect the problem is that the account that SQL Server is changed to run under does not have access rights to the registry and file system.
Try using SQL Server Configuration Manager (SSCM) to change the account that SQL Server is running under. SSCM is supposed to be smart enough to add the necessary permissions for the new account.
If that works (meaning if SQL Server starts properly), then move the original account out of the Administrators group, and then use SSCM to change the account back to the first one.
(Always use SSCM to change the account used by SQL Server. Don't use the Services MMC console, because it doesn't configure access to the SQL Server registry settings and file locations.)
I hope this helps.
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.
"SQLDudette" <SQLDudette@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B329BD41-8E93-4C83-A9DC-A1CD6424FAED@xxxxxxxxxxxxxxxx
The results of the "select @@servername" query are when sql server services
are running under an administrator account. However, when I remove that
account from the administrators group, that's when the service won't start
up.
The problem is that the default sql server groups (under Manage > Local
Users and Groups ) still are called BobNEW (for example -
SQLSERVER2005MSFTEUser$BobNew) and I'm wondering if this could be why the
services won't start when the ID they are running under is removed from
administrators.
Is that a bit more clear?
"Rick Byham, (MSFT)" wrote:
You may have this figured out by now, but some observations:
Your first message says the SQL Server Service won't start, but the second
message has the results of queries, so it must have started.
Your second message says the queries return bob as the name of the server.
Since you say "we renamed BOBnew to BOB" you sound like you don't have a
problem.
Do you only have a problem with the name in Registered Servers? Drop the
server registration and re-register it.
I probably don't understand something. If you still have a problem, please
clarify.
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.
"SQLDudette" <SQLDudette@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:49784645-A3F4-4FA7-B898-7A2433B0A155@xxxxxxxxxxxxxxxx
> Also, i have run both of these and they both give the results "bob"
> SELECT @@SERVERNAME
> SELECT SERVERPROPERTY('MachineName'), SERVERPROPERTY ('InstanceName')
>
> When I right click on the server in Managment Studio, and hit register, > it
> also has bob as the server name.
>
> Any assistance would be appreciated!!
>
> "SQLDudette" wrote:
>
>> On server BOB, the SQL Services are running under an ID that by >> default
>> was
>> added to the SQL server groups
>> SQLServer2005MSFTEUser$-ServerName-$MSSQLSERVER etc. However, the ID >> is
>> also
>> under the administrators group and I would like to remove it from >> there.
>> I
>> used a test 2005 box to test this, however, when I removed the id from
>> the
>> administrators, the SQL Server Service would not start up. We did
>> however
>> change the name of this box as it was a replacement for an existing
>> server,
>> the initial name was BOBnew because it was replacing a server named >> BOB,
>> then
>> when we shut down BOB, we renamed BOBnew to BOB. In the SQL server >> group,
>> the
>> –ServerName- is still BOBnew – it didn’t change when we changed the >> name
>> of
>> the box.
>>
>> Could this have something to do with the SQL service not starting up?
>>
>> Thanks,
>> Karime
>>
.
- References:
- Re: SQL2005 non-administrator Service Account
- From: Rick Byham, \(MSFT\)
- Re: SQL2005 non-administrator Service Account
- From: SQLDudette
- Re: SQL2005 non-administrator Service Account
- Prev by Date: Re: Alter User for domain user
- Next by Date: Re: Alter User for domain user
- Previous by thread: Re: SQL2005 non-administrator Service Account
- Next by thread: Builtin\Administrator does not have server access
- Index(es):
Relevant Pages
|
|