473,800 Members | 2,367 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Find localized name of a the LocalSystem account (NT AUTHORITY\SYSTE M)

This message is posted in the WMI group, but since the last answer in that
group is one month old I post it in C# group too.

We need to find the localized name of the LocalSystem account. Onenglish
windows it is 'NT AUTHORITY\SYSTE M', but on other OSs it is something else.
(e.g. In German it is 'NT AUTHORITÄT\SYST EM )

The SID of the LocalSystem account is S-1-5-18', so we tried using
Win32_Group class/table with SID='S-1-5-18' (On an english Windows). The
Name property is 'SYSTEM', but 'NT AUTHORITY' is not found in any member of
the Win32_Group.

How do we get the full name of an account?

TIA

Boaz Ben-Porat
Milestone systems
Jun 27 '08 #1
1 4046
"Boaz Ben-Porat" <be******@tdcad sl.dkwrote in message
news:e%******** ********@TK2MSF TNGP03.phx.gbl. ..
This message is posted in the WMI group, but since the last answer in that
group is one month old I post it in C# group too.

We need to find the localized name of the LocalSystem account. Onenglish
windows it is 'NT AUTHORITY\SYSTE M', but on other OSs it is something
else.
(e.g. In German it is 'NT AUTHORITÄT\SYST EM )

The SID of the LocalSystem account is S-1-5-18', so we tried using
Win32_Group class/table with SID='S-1-5-18' (On an english Windows). The
Name property is 'SYSTEM', but 'NT AUTHORITY' is not found in any member
of
the Win32_Group.

How do we get the full name of an account?

TIA

Boaz Ben-Porat
Milestone systems


Don't know what you mean here, SYSTEM\NT_AUTHO RITY is THE SYSTEM built-in
account (one of the many) , you can get at it's properties using
Win32_Account.
Willy.

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3515
by: Stan | last post by:
My webserver calls a component on another server through DCOM, the component goes to SQL, SQL raises the exception and here is what the client gets: "Cannot find member name System.Data.SqlClient.SqlError" I believe the issue is related to the fact that webserver runs the framework 1.1 and the component server has the framework 1.0 There are a number of posting in the different ng on this topic, but I cannot find a resolution.
16
3101
by: Java script Dude | last post by:
Creating a method of object (Object.prototype.classOf ...) is not the correct way because of a (as expected) flaw in IE where DOM Elements does not inherit from Object. As a result it is best to create a stand alone method passing the object as an argument: ~~~~ CODE ~~~~ <div id=divTest></div>
9
2556
by: veracon | last post by:
I'm pretty new at Python, so I have no idea how to do this: How do I find the name of the directory that contains the application currently being executed (e.g. if the file is /home/user/file.py, I want to get the /home/user part)? Thanks!
0
3687
by: kustavo | last post by:
Good day. I would like to know if there is an API i can use to change windows service to run under LocalSystem account from a user account. Currently I am using the API below to change the service from using a LocalSystem account to a user account. public static int ChangeService(string Name, string Password, string serviceName) { ManagementBaseObject inParams = null; ManagementObject srvc...
3
26125
usafshah
by: usafshah | last post by:
C:\Documents and Settings\Link>nslookup *** Can't find server name for address 192.168.0.100: Non-existent domain Default Server: UnKnown Address: 192.168.0.100 > mypc *** UnKnown can't find mypc: Non-existent domain ------------------------------------------------------------------
1
2343
by: ranadhirnag | last post by:
Is there any difference in the privileges of the 'localsystem' account under XP,2000 and 2003 server? We are launching a browser from an INTERACTIVE windows service (running under 'localsystem' account),and make it navigate to a url. The url in turns redirects to another page. This navigation/redirection is allowed in 2000 and XP ;but fails in 2003. Is this a result of difference in network privileges for localsystem account?
9
2106
by: kj7ny | last post by:
Is there a way that I can programmatically find the name of a method I have created from within that method? I would like to be able to log a message from within that method (def) and I would like to include the name of the method from which it was written without having to hard-code that value in every message string. While we're at it, is there a way to programmatically get the name of the class and the module while I'm at it? ...
1
1217
by: =?Utf-8?B?QWxleCBG?= | last post by:
I have EventWaitHandle created in the service running in the LocalSystem account. In the client application running under user account, I try to create event with the same name - actually to attach to existing event. I have error "Access to the path <event namedenied". How can I create event in the client project initializing properly EventWaitHandleSecurity parameter, to get access to this event?
0
2211
by: selvamariappan | last post by:
Hi all, How to find login name and password for sqlserver 2005 in sql server authentication mode, In my sys i have installed .net and then i have installed sqlserver express, i want to find the sqlserver authentication username and password, Thanks and Regards, Selvamariappan.c
0
9691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9090
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.