Page 1 of 1
Creating Windows PWD using PHP
Posted: Tue Apr 08, 2003 7:54 am
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
Posted: Tue Apr 08, 2003 8:38 am
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
Command to change PWD inWINNT
Posted: Tue Apr 08, 2003 8:48 am
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.
Posted: Tue Apr 08, 2003 9:25 am
by volka
maybe net help user will help you.
otherwise you can install cusrmgr from the ressource kit.
Posted: Tue Apr 08, 2003 11:37 am
by bznutz
Almost any Windows information can be found on the microsoft web site.
Try searching the knowledgebase or TechNet.
Posted: Tue Apr 08, 2003 2:01 pm
by BDKR
I don't know those commands. If you (vram) can find them, then we can use them no problem.
Cheers,
BDKR