Solved

c# remote machine - password

Posted on 2014-04-23
8
312 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 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points
Comment Utility
net user \\computername username newpassword
0
 

Author Comment

by:josephm67
Comment Utility
I need help with c# and it should be from remote server!!!!!
0
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 250 total points
Comment Utility
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
Comment Utility
I've requested that this question be deleted for the following reason:

Did not get answer for question
0
 
LVL 74

Expert Comment

by:käµfm³d 👽
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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