Wyoming, NSW 2250


cs@ct.gs

Menu
  • Services
  • Internet Access
  • Support
  • Links

Sync password over VPN on Windows AD Client

21 January 2022
| No Comments

Method 1

Credit to: https://social.technet.microsoft.com/Forums/windows/en-US/f85e761f-8958-4024-b823-30d3df8a1384/active-directory-account-password-sync-over-vpn-possible-?forum=w7itpronetworking

If you have a Windows PC that is joined to an Active Directory but hasn’t been part of the network after a password change the PC may require an old password or you may not know the old password to log in. As you are connecting via a VPN

To force a sync on the client:

  • Login in with another account on the client PC or use an old password if it works
  • Connect via VPN
  • Open Command Prompt
  • Type runas /user:<DOMAIN>\<USERNAME> cmd
  • Enter the new password
  • Close both Command Prompts

This will force a sync with the Active Directory, allowing you to then log in with the new password. If running this process from another account you may be asked to log out and log back in the first time you use the new password as it syncs this new passwords across the local profile.

Method 2

You can manually initiate a secure channel reset using the nltest command, which will also sync the computer’s password with the AD server. Here’s how:

  • On the client machine, open a Command Prompt with administrative privileges. To do this, right-click on the Start button, and then click Command Prompt (Admin), Windows PowerShell (Admin) or Terminal (Admin) from the context menu.
  • Execute the following command, replacing example.local with the appropriate domain name:
    nltest /sc_reset:example.local
  • The command will reset the secure channel with the domain controller and sync the computer’s password with the AD server. If successful, it will return a message like:
    Flags: 0 Connection Status = 0 0x0 NERR_Success The command completed successfully

After executing this command, the Windows client should sync its password with the AD server. However, keep in mind that this method resets the secure channel, which could potentially affect other services or applications that rely on it. Use it with caution and only if necessary.

Categories:Advanced Issues
| Tags: Account, active directory, Password, VPN, Windows

Post navigation

← Cinebench results
Logitech G Keyboard LEDs in Ubuntu →

Recent Posts

  • ESP8266 Programming with VS Code
  • Install and Manage Node.js with NVM
  • ZSH – making shells fun
  • Bulk Converting HEIC to JPG in Linux
  • Sangoma S500 & S505 SIP Phone Factory Reset

Recent Comments

    Archives

    • May 2024
    • August 2023
    • June 2023
    • December 2022
    • November 2022
    • August 2022
    • June 2022
    • April 2022
    • February 2022
    • January 2022
    • September 2021
    • July 2021
    • January 2021
    • May 2020
    • November 2019
    • October 2019
    • June 2018
    • June 2016
    • June 2011

    Categories

    • Advanced Issues
    • Linux Issues
    • Windows Issues

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    About Us

    CT Group Pty Ltd provides services to select customers in Australia, our range of services, including: - Graphic Design - Web Design - Web Hosting and Domain Registration Services - Bookkeeping - We also maintain our support pages with information collected from over twenty years in the computer industry, along with our many resources on our links pages.

    Latest Posts
    • ESP8266 Programming with VS Code

      Summary ESP8266 modules are cheap and flexible…

    • Install and Manage Node.js with NVM

      Node.js is a popular tool for Javascript…

    Contact Info

    0407781204

    cs@ct.gs

    Server Status
    Copyright © 2021. All rights reserved
    Design by CT Group Pty Ltd