Questions tagged [local-system-account]

60 questions
8
votes
1 answer

Where is the nuget cache located for the LOCAL SYSTEM account?

The nuget cache for a user account is normally located under C:\Users\\AppData\Local\NuGet\Cache. But where is it to be found for the LOCAL SYSTEM account? This special user has no ordinary profile. This combination is a quite common scenario…
MEMark
  • 1,493
  • 2
  • 22
  • 32
7
votes
1 answer

selenium issue with chrome when run as local system user

3I am using the selenium-server-standalone-2.33.0.jar to launch selenium test suites. I have a test suite that runs perfectly fine in firefox and also Internet Explorer. When I try and run it in Google Chrome, it runs fine for the current user. …
user972276
  • 2,973
  • 9
  • 33
  • 46
6
votes
3 answers

NPE in Win32ShellFolder2.access when creating new JFileChooser as Local System Account in Windows 7

I have written unit tests for a Swing GUI that creates JFileChooser. Since the unit tests are run on a build server as a service, the unit tests need to run as the local system account. However, when the unit tests try to create a new JFileChooser,…
5
votes
2 answers

SslStream Authentication fails under LOCAL SYSTEM account

I have this code: string certificateFilePath = @"C:\Users\Administrator\Documents\Certificate.pfx"; string certificateFilePassword = "Some Password Here"; X509Certificate clientCertificate = new X509Certificate(certificateFilePath,…
Rojan Gh.
  • 1,062
  • 1
  • 9
  • 32
4
votes
3 answers

Run command as System User in Powershell

I found several answers on the web, but not really what I was searching for. The issue is as follows: When restoring a file with "Networker", the ACLs of the file are the same ones as when the file was backed up, regardles of inheritance in the…
Asharon
  • 353
  • 1
  • 9
  • 24
3
votes
0 answers

Windows service calling msiexec does not update the service

Context: We're developing a windows service that runs as Local System Account. One of its features is to detect a new version and perform a self-update by launching msiexec.exe /i file.msi /qn. We expected the service would be updated and restart…
3
votes
2 answers

Powershell: Send a toast notification to logged user when running as Local System

I have a script running as Local System which does some stuff, including checking if it's a user logged on, and if yes, it runs a PowerShell snippet to show a toast notification, such as below. If the PS runs as current user, it works ok. If it…
Mache
  • 33
  • 1
  • 1
  • 4
3
votes
1 answer

From a service started as Local System Account, run a program as a logged in user

tl/dr: I'm looking for a way to run a program as the user who is currently logged in from a service that is started as Local System Account. Long Version: Follow up from: Get current username from a program started as Local System Account My…
xsl
  • 17,116
  • 18
  • 71
  • 112
2
votes
1 answer

Inno Setup is unable to install to LocalSystem's %LOCALAPPDATA%

I have a Windows service that runs as the local system account. It stores some data in its %LOCALAPPDATA% folder. For LocalSystem, this is the following location: C:\Windows\system32\config\systemprofile\AppData\Local This works without a hitch;…
Petter Hesselberg
  • 5,062
  • 2
  • 24
  • 42
2
votes
1 answer

GetAccessControl Method failed with unexpected error code 3, when run with Local System account

I had created the windows service and running it with Local System account. This service is reading the user files and finding it's owner. While getting the access of the file to find the owner it is throwing below exception : Method failed with…
nil
  • 145
  • 1
  • 11
2
votes
0 answers

How to start a BITS download as System Account? current error: "user has not logged on to the network" 0x800704DD

I'm trying to launch a BITS service download in a GPO Startup Script. Startup Scripts are started as the local SYSTEM account, which works well for background downloads as per Microsoft's documentation…
2
votes
2 answers

Allow LocalSystem to access PostgreSQL database

I'm trying to configure my PostgreSql database ("mydb") in order to give login rights to the windows "LocalSystem" account. I've created a user in my database named LocalSystem SQL> CREATE USER LocalSystem; Then, I've tried using SSPI config in…
2
votes
0 answers

Network Access As Local System Running Exe From Network Share

I am running a Dotnet 3.5 executable in Windows 7 Ent, as a GPO computer startup script in a domain. The script resides on a network share. The exe is run as Local System. The exe runs correctly. I would like to access a web Service in this exe,…
2
votes
0 answers

CreateProcessAsUser from Local System Admin does not apply Windows style

i have a problem in an application using Windows API CreateProcessAsUser from local system admin in order to run an application as a different user. Everything works fine so far, but the Windows window and frame style are not applied somehow. The…
2
votes
0 answers

pyhook user keyboard

Using Windows 7, Python 2.7 I wrote and compiled the code below (with pyinstaller2-0) and it works fine if I start it by right clicking and choose run as admin, but when I start it through the task scheduler as the system user, it does not log any…
1
2 3 4