Solved

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

Posted on 2010-09-10
6
259 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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 500 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

Technology Partners: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL server performance baseline 19 45
SQL QUERY 3 33
Pivot Table in SQL Server 8 28
Return Rows as per Quantity of Columns Value In SQL 6 26
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…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

685 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