localsystem

Determine the LocalSystem account name using C#

We have an application that installs SQL Server Express from the command line and specifies the service account as the LocalSystem account via the parameter SQLACCOUNT="NT AUTHORITY\SYSTEM". This doesn't work with different languages because the account name for LocalSystem is different. There's a table listing the differences here: ht...

Why are my custom performance counters not appearing for my service?

I've got a windows service that has a part I'm very paranoid about, so I've instrumented it with custom performance counters (I'm moving calls from mta threads to sta threads--don't ask). The counters and the configuration section have been tested and are known to work... on my machine, but they aren't appearing on the server I instal...

Secure Database Backend for Windows Application that users can't hack into easily.

I'm writing a database driven windows application and both the executable and database need to be installed on the customers machine. Is there a database that I can use as a backend to my application that the user can't get into even though the user is using the same machine that the database is stored on. As far as I can tell, Postgre...

confused over LocalSytem and LocalService Accounts.

i am new to windows services programming. I have confusion about what to set the Account type while writing a windows services. how to choose or how to determine to which account type we need to set while writing a service. ...

(yet another) problem with mapped drive via the command line

I know, I know. There are a million threads everywhere talking about problems with mapped drives. I've ready many of them but I still can's seem to wrap my head around this problem or come to a solution. I have a build server/continuous integration server (Win 2003 running CruiseControl.NET) that listens to our source control server. Wh...

How to access internet location with domain username/password from windows service running in local system account if system is not in domain.

How to access internet location with domain username/password from windows service running in local system account if system is not in domain. I hava a windows service running in local system account and there is a filesystem watcher which is watching a internet location which is accessible using domain username/password. Now i want th...

Can a Windows service running under Local System create new files on the computer it is running on?

I have created a Windows Service that has a function that creates a new file. It is running under "Local System account" with "Allow service to interact with desktop" set to true. When running under this account can files be created locally? I can't debug this to get the exact error as it is running in a Lab Manager environment that h...