Reference for Win32_SystemAccount
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Accounts and Domains

Description (Beschreibung):

The Win32_SystemAccount WMI class represents a system account. The system account is used by the operating system and by services that run under Windows NT. There are many services and processes within NT that need the capability to logon internally (for example, during a Windows NT installation). The system account was designed for that purpose; it is an internal account, does not show up in User Manager, cannot be added to any groups, and cannot have user rights assigned to it. On the other hand, the system account does show up on an NTFS volume in File Manager in the Permissions portion of the Security menu. By default, the system account is granted full control to all files on an NTFS volume. Here the system account has the same functional privileges as the administrator account.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_SystemAccount")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption


Link zur Original-Microsoft-Dokumentation