Solved

c# remote machine - password

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

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

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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