Autor Beitrag
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Fr 20.04.07 19:53 
Wie kann man eigentlich User in Win 2k und XP anlegen? Gibts dafür ne API-Funktion?

lg el


Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Fr 20.04.2007 um 19:54

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Sa 21.04.07 11:19 
würds denn eigentlich nicht reichen einfach die ordner und die rgistry eintrage für den benutzer zu erstellen??
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 21.04.07 11:25 
aber wie ist das dann mit den Passwörtern??

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Sa 21.04.07 13:03 
Mit net user add gehts über die Kommandozeile. Gib mal net /? ein.


user profile iconandras hat folgendes geschrieben:
würds denn eigentlich nicht reichen einfach die ordner und die rgistry eintrage für den benutzer zu erstellen??

Du glaubst doch nicht im Ernst, dass es genügt, X:\Dokumente und Einstellungen\XYZ zu erstellen und dadrin eine Datei namens ntuser.pol und schwups gibts nen neuen User?

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Sa 21.04.07 13:09 
user profile iconTimosch hat folgendes geschrieben:

Du glaubst doch nicht im Ernst, dass es genügt, X:\Dokumente und Einstellungen\XYZ zu erstellen und dadrin eine Datei namens ntuser.pol und schwups gibts nen neuen User?

nein glaub ich nicht, weil...
user profile iconandras hat folgendes geschrieben:
würds denn eigentlich nicht reichen einfach die ordner und die rgistry eintrage für den benutzer zu erstellen??

ich würd auch noch einen haufen registry einträge erstellen, wie ich eig schon geschriebn hab :roll:
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: So 22.04.07 11:38 
user profile iconandras hat folgendes geschrieben:
user profile iconTimosch hat folgendes geschrieben:

Du glaubst doch nicht im Ernst, dass es genügt, X:\Dokumente und Einstellungen\XYZ zu erstellen und dadrin eine Datei namens ntuser.pol und schwups gibts nen neuen User?

nein glaub ich nicht, weil...
user profile iconandras hat folgendes geschrieben:
würds denn eigentlich nicht reichen einfach die ordner und die rgistry eintrage für den benutzer zu erstellen??

ich würd auch noch einen haufen registry einträge erstellen, wie ich eig schon geschriebn hab :roll:

Die Frage ist halt nur, welche...
HKEY_USERS für den jeweiligen Benutzer liegt in der ntuser.pol.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: So 22.04.07 13:02 
*push*
weiß keiner wie das geht?

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: So 22.04.07 15:25 
Wie ich schon sagte: führe "net user name kennwort /ADD" aus. Geht aber wahrscheinlich nur auf NT, 2k, XP und vllt. Vista, musst du ausprobieren...

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 22.04.07 15:29 
Bitte nicht mir irgendwelchen Halbwissen hier durch die gegend schmeissen. Dafür gibt es dokumentierte API-Funktionen. Und wer eine Delphikapselung suct, kann sie auf meiner Seite finden: www.michael-puff.de/...er/Delphi/Sonstiges/ -> MpuNTUser.pas.
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: So 22.04.07 17:07 
cool danke!

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.