Questions tagged [local-system-account]

60 questions
0
votes
0 answers

how to get Server machine "NT Authority\Network Service" account login name domain\machineName$ from window powershell command

I have 2 machine where IIS exist and another is SQL one, From IIS machine through powershell i want to add Network Service user to SQL Login, How to get "NT Authority\Network Service" account name like Domain\machineName$, is there a direct way or i…
Anil Arora
  • 11
  • 4
0
votes
1 answer

How to determine if account running java application is 'SYSTEM'

How can I check whether my Java application is running as "SYSTEM"/"Local System" (as seen on Windows Service list)? I tried using this: System.out.println("Running with user: " + System.getenv().get("USERDOMAIN") + "\\" +…
Jokkeri
  • 1,001
  • 1
  • 13
  • 35
0
votes
1 answer

Windows Service running with Local System rights, wants to create child processes from windows service which will running with Local User rights

I am working on windows service application where currently it is running on administrator privileges. For that I need to set administrator info in service log on settings. Above windows service is creating child processes with local user…
0
votes
0 answers

Run Windows 10, C# application under system account in order to display the complete subdirectories and files tree

I want to create an application that recursively displays the subdirectories and files starting from a root directory. There are some directories / subdirectories that cannot be accessed by administrator account. When starting the application, I…
squirrel
  • 1
  • 1
  • 1
0
votes
0 answers

NT Authority/System can't see protected OS files

The Question: Why can't the LocalSystem account (NT Authority\System) see files in the Recycle Bins or the Temporary Internet Files directory? Background: I created a scheduled task to run using the System account. The purpose of the task is to…
0
votes
1 answer

DDE print fails on Windows 2008

I have a Windows Service application (developed in C++) running under Local System account. Operating system is Windows Server 2008 Standard - Service Pack 2 - 32-bit - 4Gb RAM. Also running Office 2003 with Service Pack 3. This service takes a RTF…
josuegomes
  • 451
  • 4
  • 15
0
votes
0 answers

Cannot run SonarQube as Service

If I just run the StartSonar.bat everything works and starts fine. If I setup a service to run using NSSM using: Path: ..\blah\wrapper.exe Startup directory: ..\blah Arguments: -c ..\blah\conf\wrapper.conf I get an error in the logs that…
obizues
  • 1,473
  • 5
  • 16
  • 30
0
votes
2 answers

Get current username from a program started as Local System Account

My program is started from a service that runs under the Local System Account (a real user is logged in). One of the tasks of the program is store files on a network path, which should contain the current username e.g. \\server\\storage\\%username%,…
xsl
  • 17,116
  • 18
  • 71
  • 112
0
votes
1 answer

How to get current logged in user (Windows) from Nodejs app

I'm writing a Nodejs application running in client machine (Windows 10), it uses the current logged in user to authenticate on the server. The problem is, if I run this application under the SYSTEM account then I couldn't get the current logged in…
Phuc
  • 479
  • 2
  • 4
  • 15
0
votes
1 answer

Permissions for apps started by services running as Local System

We have a legacy service running which is responsible for monitoring another service, but also starts a console application (written in C) which continues running in the background. If we start the console application from the cmd prompt, it works…
Lou
  • 4,244
  • 3
  • 33
  • 72
0
votes
1 answer

Windows CreateProcess as Local System

I have a service running as local system. I am using CreateProcess function to call an external .exe. What is the default account used when CreateProcess function is called? I could not find anything on default account in MSDN documentation. Also, I…
Red John
  • 167
  • 10
0
votes
0 answers

C# programs communicating by named pipes as service between 2 hosts

How can 2 C# programs communicate with each other by named pipes. If I run the program under a administrator account with elevated rights everything works. I need to run this programs as a service with the account 'Local System' but then I have no…
0
votes
1 answer

how to check if created workflow in sharepoint 2013 as system account

I am new to SharePoint 2013. I just created a survey to which I want to add a workflow, which should send an E-mail confirming the survey response. I created the workflow in SharePoint designer 2013 but it doe not work. I checked "start…
0
votes
0 answers

Error 1326 when WNetAddConnection2 is run by a Local system account

In my environment I have the following machines on the same domain: hostnam1 (Windows 7 enterprise) hostnam2 (Windows 7 enterprise) hostnam3 (Windows Server 2012 R2 domain control) I have a service which runs as Local system account on…
Bemipefe
  • 1,397
  • 4
  • 17
  • 30
0
votes
1 answer

getting accurate GPresult output when executing from a script on a service account

My company has asked me to build some .NET software for them (basically a health check client that sits as a service on each of our computers and reports encrypted data back to the server which then uploads it to SQL which can be used for weekly…