Creating Windows PWD using PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vram
Forum Newbie
Posts: 9
Joined: Tue Apr 08, 2003 3:58 am

Creating Windows PWD using PHP

Post by vram »

Hi all
Can anybody pls tell me how to update registry to create a
windows userid and password at runtime using the PHP script.Also Try to delete this userid from the system using the script.Thanx in advance
Bye
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Are there any command line utilities in Windows that allow you to add pwd entries to the registry? If so, just use one of the php system execution functions.

http://www.php.net/manual/en/ref.exec.php

Cheers,
BDKR
vram
Forum Newbie
Posts: 9
Joined: Tue Apr 08, 2003 3:58 am

Command to change PWD inWINNT

Post by vram »

Hi
Thanks for ur reply.Im thankful to u if u send me the command to change windows NT password and username.Thanx in advance.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

maybe net help user will help you.
otherwise you can install cusrmgr from the ressource kit.
User avatar
bznutz
Forum Commoner
Posts: 58
Joined: Mon Dec 09, 2002 9:52 pm
Location: Here
Contact:

Post by bznutz »

Almost any Windows information can be found on the microsoft web site.
Try searching the knowledgebase or TechNet.
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

I don't know those commands. If you (vram) can find them, then we can use them no problem.

Cheers,
BDKR
Post Reply