Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to change domain passwords 1

Status
Not open for further replies.

dan

MIS
Oct 7, 1998
298
0
16
US
Our student owned computers are not members of our domains. As such, students cannot change their domain passwords from their own computer as they are not logged into the domain.

Does anyone know of a command line script that could be run from a web page on our intranet server so students could change their domain password from the web page rather than going to the computer lab to do it.?

Dan
 
Look into the IISADMPWD virtual website solution. We've implemented this to allow users who are connecting via VPN to change their passwords. We also use it in an office with a non-domain environment to allow users to personalize their passwords after being assigned the default when they start. the site also allows users to change passwords for their accounts even after they expire.

We've found it to be very useful. I think it would address you issue.

Check out
But know that when I implemented using the same document I found that you need tofollow the steps below:

Enable your server to allow ASP scripting - which is disabled by default on
W2K3 servers.

In the article when configuring the IIS metabase it specifies to use the
command:
"adsutil.vbs set w3svc/1/PasswordChangeFlags [value].w3svc/1" -- note the
period
when actually configuring the metabase and issuing this command you will
need to use the proper form:
"adsutil.vbs set w3svc/1/PasswordChangeFlags [value] w3svc/1" -- note the
space instead of the period.

Also the path it gives to the site for non-domain accounts is:
" http://[server address]/iisadmpwd/aexp2.asp " -- note the s for SSL is
optional based on your server's configuration. If you are NOT using SSL
(which I do not suggest) the proper URL becomes...
" http://[server address]/iisadmpwd/aexp4.asp " (adding b to the filename
eg: aexp#b.asp changes the password support from local security to domain
security).

Hope this helps,
Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top