Re: SQL2005 non-administrator Service Account



I run an SQL Server 2005 with a service account that is not a member of the
Administrators group.
It stopped working recently.

I audited file access failures for everyone in the documents and settings
and Program Files\Micorosft SQL Server directories and found that there were
indeed failures.

There are files that the service account needs to access in the CRYPTO area
and in the SQL area that were no longer accessable to that service account.
Once I found them and gave the account permissions, my server started to
work again

Perhaps this could be your problem?

Walter Horowitz
Mardovar Networking LLC

"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




.



Relevant Pages

  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Memory issues with 64-bit SQL Server 2005 on 64-bit Win 2003 C
    ... I also checked the individual patch levels for the .NET drivers, SQL Server ... The SQL Server is fully patched, however Windows Update reported that the OS ... Lock pages in memory -- I guess you might have taken care of it as well. ...
    (microsoft.public.sqlserver.clustering)
  • RE: migrating from wmsde to sql server
    ... Click Start, point to All Programs\Microsoft SQL Server, and then click ... then click New SQL Server Registration. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Linked Servers - setspn - domain account
    ... First of all I wouldn't use setspn, I tend to use ADSI Edit ... This is for a server called SQLNLB02 in the domain DOMSQL.COM ... I'm editing as it's SQL Service account). ... Jasper Smith (SQL Server MVP) ...
    (microsoft.public.sqlserver.security)