Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Changing Win95 and WinNT Passwords

Keywords:    change password

Question:

Do you have an example of how to change a Win95 password?

Answer:

Changing the Password in Windows 95:

The bad news is that we cannot change the passwords from a Windows 95 Client. The required API's simply are not available to us. If we could do it we would...

Or try running the DOS NET.EXE command directly, as in:

	run("command.com", "/c net.exe password | /domain:domainname usename oldpswd newpswd")
One of our users reported that this works.

Changing Passwords in NT:

To change the password in NT, it would look something like:
; Change NT Server password.
BoxesUp("170,400,850,600", @normal) 
BoxColor(1, "192,192,192",0)
BoxDrawRect(1, "0,0,1000,1000", 2)
BoxDrawText(1, "100,300,910,300", ChgNT, @FALSE, 1)
BoxCaption(1, LongTitle)
TweakNT=wntChgPswd(NTServer,User,OldPwd,NewPwd)
BoxDestroy(1)
For changing passwords in Netware, see Article ID: W13588.
Article ID:   W13304
Filename:   Changing Password in 95 - NT.txt