windows xp logon problem

Posted on 2004-11-10
Last Modified: 2008-01-09

I have a problem with 1 of the computer in the network.
This user recieved in the previous logon a message to change his password because it has expired , but he didn't change it. Then, when he tried to logon into the computer the later he recieved a msg that "The system couldn't log you on, either the domain name or user name is incorrect.

I have reseted the user password but this didn't solve the problem.
Then, i loged in as an administrator and  i tried to add another user in the network to this computer but i recieved an error"The trust relationship between this workstation and the primary domain failed."

Any Suggestion,
Question by:ilaf
    LVL 10

    Expert Comment

    Use the netdom reset command from any computer to reset the trust relationship between the faulty machine and the domain controller.  The netdom reset command is available from a command prompt after you install the support tools from the support folder on any Windows 2000 XP 2003 CD-ROM.

    FYI - I recommend you install the support tools on your machine and use them for managing any machine on the network.  You will then be able to join machines remotely and much more.
    LVL 3

    Expert Comment

    look for KB article  162797 on
    LVL 3

    Accepted Solution


    Author Comment

    I didin't know how to use the command TRUST syntax.

    If the user name :john , domain: car, password:123

    How can i reset the trust relationship ?
    LVL 10

    Assisted Solution

    Once you have installed the support tools on a machine, the netdom command becomes available at the command prompt.  Here is how mine looks:

    C:\Documents and Settings\user>netdom /?
    The syntax of this command is:

    NETDOM HELP command
    NETDOM command /help

       Commands available are:

       NETDOM HELP             NETDOM REMOVE           NETDOM VERIFY

       NETDOM HELP SYNTAX explains how to read NET HELP syntax lines.
       NETDOM HELP command | MORE displays Help one screen at a time.

       Note that verbose output can be specified by including /VERBOSE with
       any of the above netdom commands.

    The command completed successfully.

    C:\Documents and Settings\user>netdom reset /?
    The syntax of this command is:

    NETDOM RESET machine /Domain:domain [/Server:server]
                 [UserO:user] [/PasswordO:[password | *]]

    NETDOM RESET Resets the secure connection between a workstation and a domain

    machine is the name of the computer to be have the secure connection reset

    /Domain         Specifies the domain with which to establish the secure

    /Server         Name of a specific domain controller that should be used to
                    establish the secure connection.

    /UserO          User account used to make the connection with the machine to
                    be reset

    /PasswordO      Password of the user account specified By /UserO.  A * means
                    to prompt for the password

    So, to reset a trust:
    netdom reset /domain:car /usero:john /passwordo:123

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    Title # Comments Views Activity
    what do you use to image computers in your Org 13 64
    Redirect mail server from IP to IP 2 44
    Slow Network 51 56
    pfSense IP Helper 4 27
    What’s a web proxy server? A proxy server is a server that goes between clients and web servers, used in corporate to enforce corporate browsing policy and ensure security. Proxy servers are commonly used in three modes. A)    Forward proxy …
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 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