Solved

Changing Windows Password in asp.net

Posted on 2014-03-20
2
193 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
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…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now