Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. How to change the password from command prompt

How to change the password from command prompt

Scheduled Pinned Locked Moved System Admin
sysadminhelptutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ankur Bakliwal
    wrote on last edited by
    #1

    Hi, Can anybody please help me to find out the way to change the password from command prompt. I have mapped a folder of some other server (lets say a) on my pc (lets say b) with different userid (pqr\myUser ) and password. Now i want to change the password of this user (pqr\myUser ) from command prompt. This user belongs from different domain (lets say pqr) and computer b (my pc) is in defferent domain (lets say zzz). i tried NET USER ( c:\>NET USER myUser mynewPWD ) but its not working. Please can anybody suggest me some command like net user.

    Thanks, Ankur Bakliwal

    D V 2 Replies Last reply
    0
    • A Ankur Bakliwal

      Hi, Can anybody please help me to find out the way to change the password from command prompt. I have mapped a folder of some other server (lets say a) on my pc (lets say b) with different userid (pqr\myUser ) and password. Now i want to change the password of this user (pqr\myUser ) from command prompt. This user belongs from different domain (lets say pqr) and computer b (my pc) is in defferent domain (lets say zzz). i tried NET USER ( c:\>NET USER myUser mynewPWD ) but its not working. Please can anybody suggest me some command like net user.

      Thanks, Ankur Bakliwal

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The command does work, but you can only change passwords in the current domain (the one the admin is logged in as). It doesn't work on foreign domains, and only an admin can use this command to change passwords.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        The command does work, but you can only change passwords in the current domain (the one the admin is logged in as). It doesn't work on foreign domains, and only an admin can use this command to change passwords.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        A Offline
        A Offline
        Ankur Bakliwal
        wrote on last edited by
        #3

        Yes Dave, i logged into the server with domain (pqr), like pqr\myUser, but the pc b (my pc) is not in same domain. It is in different domain. Can it be possible?

        Thanks, Ankur Bakliwal

        D 1 Reply Last reply
        0
        • A Ankur Bakliwal

          Yes Dave, i logged into the server with domain (pqr), like pqr\myUser, but the pc b (my pc) is not in same domain. It is in different domain. Can it be possible?

          Thanks, Ankur Bakliwal

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          I already told you the circumstance under which NET USER won't work.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          1 Reply Last reply
          0
          • A Ankur Bakliwal

            Hi, Can anybody please help me to find out the way to change the password from command prompt. I have mapped a folder of some other server (lets say a) on my pc (lets say b) with different userid (pqr\myUser ) and password. Now i want to change the password of this user (pqr\myUser ) from command prompt. This user belongs from different domain (lets say pqr) and computer b (my pc) is in defferent domain (lets say zzz). i tried NET USER ( c:\>NET USER myUser mynewPWD ) but its not working. Please can anybody suggest me some command like net user.

            Thanks, Ankur Bakliwal

            V Offline
            V Offline
            Vasudevan Deepak Kumar
            wrote on last edited by
            #5

            Check this out http://support.microsoft.com/kb/149427[^]

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William Shakespeare

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups