Solved

Changing Windows Password in asp.net

Posted on 2014-03-20
2
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

705 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