netdom for windows 7 embedded

joel.wx 1 Reputation point
2021-09-06T04:22:47.93+00:00

A full disk backup image of win7 embedded was created by ghost after the machine joined AD 5 month ago
last week,the hard drive is broken,we restore the machine after replace the HD.
booting up is ok,but we can not login with the ad account.
error msg: lost trust relationship with domain controller.
after same research ,we believe its a machine password issue.
netdom is the right tool for reseting the machine password,but we can not find such command for win7 embedded.
where can i get this?

Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
383 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,094 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 39,471 Reputation points
    2021-09-06T10:09:20.647+00:00

    Hello

    Windows Embedded has a write lock/filter that might prevent this changes, check about it and how to diable here: https://learn.microsoft.com/en-us/previous-versions/windows/embedded/ff769914(v=winembedded.60)?redirectedfrom=MSDN

    In the case of this version, I would strongly recommend to commit a manual rejoin to the domain

    Best regards!

    1 person found this answer helpful.

  2. joel.wx 1 Reputation point
    2021-09-07T02:56:10.723+00:00

    thanks guys for replying
    a manual rejoin is rejected by manager.
    so, that leave me no choice.
    I'm a little confused.
    will win7 em rebuild the trust relationship automaticly if EWF/FBWF is disable?
    or I still need something like netdom to repair the true relationship?
    thanks again.


  3. cthivierge 4,056 Reputation points
    2021-09-09T15:41:57.77+00:00

    If you are admin of the Windows 7, you could try to reset the computer password using the nltest command:

    Open a Command prompt using Admin rights

    nltest /sc_reset:Domain\DC_Name

    ex: for a domain called lab.net and a DC called DC01, the command will be:

    nltest /sc_reset:lab\DC01

    hth