Solved

Changing Windows Password in asp.net

Posted on 2014-03-20
2
200 Views
Last Modified: 2014-09-05
Hello Experts,

We have an asp.net internet site with a couple of hundred users.  The site is secured using Windows security.  Occasionally the user may forget their password and have to rely on us to change it for them which is not immediate.

Do you have any code that would allow a Windows password to be changed and the account unlocked with vb.net code.

Thanks.
0
Comment
Question by:TimGreeley
2 Comments
 
LVL 18

Accepted Solution

by:
Dennis Aries earned 500 total points
ID: 39944704
To unlock the user andchange the password, you can m ake use if the net command
http://gallery.technet.microsoft.com/scriptcenter/Tool-to-Unlock-User-2a2e4342

A simple shell will suffice :)
0
 

Author Comment

by:TimGreeley
ID: 39944940
Thanks for your answer Dennis.

I think very good process has been made, the only trouble now is that I am getting the message:

System error 5 has occurred.

Access is denied.

I guess the user trying to change the password must be a Domain Controller?  If so do you have any code that I could incorporate into my vb.net code to achieve this.

Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
This video teaches users how to migrate an existing Wordpress website to a new domain.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question