?
Solved

c# remote machine - password

Posted on 2014-04-23
8
Medium Priority
?
335 Views
Last Modified: 2014-06-16
Hi,

Is it possible to change password of user on remote machine. For example: The remote machine "0.0.0.0"  has user "test" and I want to change its password from another machine using c#. I need help in accessing server remotely. I know, it is easy to change password locally.

Thanks
0
Comment
Question by:josephm67
[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
  • 2
8 Comments
 
LVL 83

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 1000 total points
ID: 40019083
net user \\computername username newpassword
0
 

Author Comment

by:josephm67
ID: 40019479
I need help with c# and it should be from remote server!!!!!
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 1000 total points
ID: 40023095
Just plug ve3ofa's code command into the Process.Start method's arguments.

e.g.

using System.Diagnostics;

...

Process.Start("net", @"user \\computername username newpassword");

Open in new window

0
 

Author Comment

by:josephm67
ID: 40098517
I've requested that this question be deleted for the following reason:

Did not get answer for question
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40098518
I'd prefer an explanation as to how my supplement to ve3ofa's comment was not an "answer"? If it didn't work, then it would be helpful to know.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

649 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