Solved

Changing Windows Password in asp.net

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to adjust sheet 1 86
Runtime error 76: path not found error VB6 program on Windows 7 3 332
dialer.exe 4 58
ClickOnce Install - Shortcut Question 3 73
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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

895 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

14 Experts available now in Live!

Get 1:1 Help Now