Solved

c# remote machine - password

Posted on 2014-04-23
8
328 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 81

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

729 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