Guest fiversen Posted July 11, 2007 Posted July 11, 2007 Hello, in my installation process of my programm, sometimes I need a new user. A user which is member of 'Power User'. In the script, I create the user > net user Tester Password /add and add the user to 'Power User' >net localgroup "Power User" Tester /add This is OK. But I need this on a lot of different Windows Languages, and the groups have different names - in Germany: Hauptbenutzer, ..... With the API function - NetLocalGroupAddMembers(..., ...) I have the same problem. I saw, in a ADs example - they also work the name 'Administrators'. But I need language independent localgroup-names. So long Frank Iversen
Recommended Posts