Rejoin A Computer To Domain Without Restart
Maybe your like
We have been in the situation where we find that the Windows Server has its security relationship with the domain failed. In the past we had to remove the computer from the domain and then join it back again to reestablish the relationship.
This involved two reboots (one to leave, one to join). If it was a server that took a while to boot, the process could take so long.
However, I recently came across an article today which mention a PowerShell command to rejoin a computer to the domain without restarting it
Test-ComputerSecureChannel is one of those cool little PowerShell cmdlets that doesn’t get the recognition it deserves. Running the cmdlet by itself checks whether the relationship with the domain controller is still good. If it comes back True then everything is okay. If it comes back False then the relationship needs to be fixed.
Using Test-ComputerSecureChannel with the –credential –Repair options allows you to repair the relationship with the domain without any restarts. You run the command, sign out and then can sign in with your domain credentials. For example, to repair the relationship with the WINDOWSITPRO domain, issue the command:
Test-ComputerSecureChannel –credential domain\Administrator –Repair
When signed on as a local administrator.
Test-ComputerSecureChannel has been around since Windows Server 2008 R2.
Facebook Comments
Share this on WhatsApp Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Notify me of follow-up comments by email.
Notify me of new posts by email.

Follow us
- Friend me on Facebook
- Follow Me on Twitter
Online Now
- 4 Visitors online
powered by WassUp
Subscribe2
Your email:
Top Articles
- Log In
- WintelAdmin.com in Top Microsoft Windows Blogs list!
- microsoft_windows_blogs
- Track User and Computer Sessions on Windows Server.
- How to remove the unwanted Tunnel Adapters in Windows?
powered by WassUp
Categories
- Exchange
- Exchange/O365
- HP (Servers/products)
- McAfee (Antivrus/ePO)
- Network (LAN/WAN)
- Powershell (Tutorial)
- SCCM (Image/Deployment)
- Scripting (Automation)
- Security Vulnerabilities
- Storage (EMC/NetApp)
- Uncategorized
- Unix/Linux
- VMware (ESX / vSphere)
- Windows(2003/2008/2012/2016)
- x Updates (Wintel Admin)
BookMarks
- Wintel Guide
- WordPress Blog
- Wu's Blog
Tags
0365 2008 2012 admin Block size Citrix cluster command DNS EMC EMC Powerpath exchange HP hp ilo ilo McAfee Microsoft Network O365 Password reset Powerlink Powershell RDP regsvr32 remote server SCCM script server session Unable to ping vmtools VMWARE windows Windows 2003 Windows 2008 windows 2012 windows 2016 windows admin blog windows blog windows cluster windows server wintel wintel admin Winteladmin winteladmin.comArchives
- May 2025
- March 2025
- December 2024
- July 2024
- August 2023
- July 2023
- June 2023
- May 2022
- April 2022
- March 2022
- January 2022
- November 2021
- May 2021
- March 2021
- December 2020
- November 2020
- October 2020
- September 2020
- July 2020
- June 2020
- May 2020
- April 2020
- February 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- May 2019
- February 2019
- December 2018
- November 2018
- August 2018
- July 2018
- May 2018
- January 2018
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- June 2012
- May 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- July 2010
- June 2010
Recent Posts
- Windows Administrators Blog Named One of FeedSpot’s Top 25 Microsoft Windows Blogs
- Cannot Delete Emails from Deleted Items Folder in Office 365 Mailbox
- Unable to remove orphan mailbox from Outlook
- List All Folders in Mailbox – Exchange/O365/PowerShell
- O365 Send Email blocked
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tag » Add Computer To Domain Powershell Without Restart
-
Add-Computer (Microsoft.PowerShell.Management)
-
Add New Computer Name To A Domain Without Rebooting? Possible?
-
Powershell Rocks, Rejoin Computers In Domain Without Restart - VGeek
-
Leaving And Rejoining The Domain Without Rebooting (now)
-
Rejoin To Domain After Re-imaging (without Rebooting Twice)?
-
Trust Relationship Rejoin Computers In Domain Without Restart | VGeek
-
Rejoin Computers In Domain Without Restart - RayLin ICT
-
How To Add A Computer To A Domain (GUI And PowerShell)
-
Rejoin A Computer From A Domain In One Easy Step!
-
Refresh Membership In AD Security Groups Without Reboot Or Logoff
-
Powershell Rename PC And Join Domain - Stack Overflow
-
Rename Computer And Join To Domain In One Step With PowerShell
-
How To Add Computers To A Domain Using PowerShell
-
Fix Trust Relationship Failed Issue Without Domain Rejoining