Solved

c# remote machine - password

Posted on 2014-04-23
8
323 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
  • 2
  • 2
8 Comments
 
LVL 80

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 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 250 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

790 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