Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Changing Windows Password in asp.net

Posted on 2014-03-20
2
Medium Priority
?
210 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 1500 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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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…

609 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