Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

'NT AUTHORITY\SYSTEM' get converted to 'NT AUTHORITY\NETWORK SERVICE'

Posted on 2010-09-10
6
Medium Priority
?
273 Views
Last Modified: 2012-05-10
even if the job is at System, it gets converted to NS; why is this? what setting causes this?

thanks
0
Comment
Question by:anushahanna
  • 3
  • 3
6 Comments
 
LVL 11

Expert Comment

by:dodge20
ID: 33650306
I'm not quite sure what you are asking, but what account is your agent started as?
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33661674
the job owner is NT AUTHORITY\SYSTEM; the service account is NETWORK SERVICE.

in the audit info of who created the data record through the job, it shows NETWORK SERVICE and not SYSTEM.
0
 
LVL 11

Expert Comment

by:dodge20
ID: 33661972
SQL Jobs run under whichever account the Agent runs. This is why you see Network Service. Is the job not working correctly? You may need to choose an account with the appropriate permissions to run the sql agent.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Author Comment

by:anushahanna
ID: 33664339
dodge20, the job is working fine, but the question is regarding the ownership of the job. if it is going to override the owner with the service account, why does it even give us the option to change owners?
thanks
0
 
LVL 11

Accepted Solution

by:
dodge20 earned 2000 total points
ID: 33664920
If the job owner is an account that is in the sysadmin fixed server role, then your step will be executed under the account used by the Sql Server Agent service.
Otherwise will be executed by the account set as the job owner, no matter who is starting the job.

You can read more about that here.
http://weblogs.sqlteam.com/dmauri/articles/6914.aspx
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33694355
>>Otherwise will be executed by the account set as the job owner, no matter who is starting the job.

is it possible to force it to run under the one who is 'starting' the job instead of the job owner?

thanks

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

963 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