Solved

Windows 7 workstation unable to rejoin domain after switching to workgroup

Posted on 2014-03-24
16
760 Views
Last Modified: 2014-04-30
Over the weekend we were going to migrate to a new domain controller (both the old and the new are Server 2008 r2). We had completely replicated all of the settings from the old server onto the new server and everything seemed to be setup and ready to go. When we tried to log the first Windows 7 workstation into the new domain we were getting the message "The trust relationship between this workstation and the primary domain has failed." From what we read about this, the way to fix it is to logon to the workstation with the local administrator account and then disconnect from the domain by switching to a Workgroup, then reboot and try and rejoin.

We followed all of the steps; we switched to a workgroup and then rebooted and logged back in as the local adminstrator. We then tried using the Network ID wizard to rejoin the domain but we kept getting the same error saying "The network path was not found."

We struggled with this for some time but eventually had to give up and put our old server back into production. As soon as we connected the old server all of our other workstations were able to connect to the old domain perfectly fine except the one Windows 7 workstation that we had switched to Workgroup when we were trying to connect to the new domain controller.

Now no matter what I try on this workstation I cannot reconnect it back to the old domain. Every time it comes back saying "The network path was not found." We even tried deleting the Computer account on the server hoping that would allow it to rejoin but no dice.

If I go into C:\Users I do see the original user account folder (knolan.CEPP) listed but the odd thing is that if I go Control Panel>User Accounts>Configure advanced user profile properties I see a user account listed as "Account Unknown" with a size of 2.46GB. I'm not sure if it is related to this issue or not but I have never seen an Account Unknown listed before, especially one with that kind of size.

Any suggestions on what I can try to get this workstation to rejoin the original domain? I am out of ideas and this is our only user having any issues at all.
0
Comment
Question by:DrGangles
  • 7
  • 4
  • 3
  • +1
16 Comments
 
LVL 17

Expert Comment

by:WORKS2011
Comment Utility
for testing purposes change the computer name and rejoin.

delete the original computer name from ADUC then rejoin.
0
 
LVL 17

Expert Comment

by:WORKS2011
Comment Utility
verify there isn't a manual DNS entry in the NIC setting on the workstation.

Do ipconfig /flushdns on the workstation and server before adding to the domain.
0
 

Author Comment

by:DrGangles
Comment Utility
I changed the computer name, rebooted the workstation and then I made sure the original computer name was deleted from the computer list in Active Directory. I then checked the network settings and made sure they were all set on Automatic. Then I went into CMD (ran as administrator) and did an ipconfig /flushdns. After that I tried joining the domain again but it still came back with the same "The network path was not found."
0
 
LVL 17

Expert Comment

by:WORKS2011
Comment Utility
from the workstation can you ping the server?

does nslookup resolve?

you may want to uninstall the NIC completely, restart the workstation then reinstall sounds like it may have bad info still binding to it.
0
 

Author Comment

by:DrGangles
Comment Utility
I can ping the server successfully however nslookup does not seem to be resolving correctly.

I'm not very familiar with using nslookup so maybe I am missing something but I just opened CMD as administrator and then typed "nslookup" and hit enter and this is what it returns:

DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: 192.168.50.84

That is the correct address for our DNS but I'm not sure why it would be timing out, nor why it would be showing that the default server is unknown.

I will try to uninstall the NIC on the workstation and see if re installing that changes anything.
0
 
LVL 10

Expert Comment

by:0xSaPx0
Comment Utility
1- Uninstall TCP/IP
2- Reinstall TCP/IP
3- Reboot
4- Make sure Computer Account has been removed from domain
5- Verify Computers IP Settings are correct including DNS Servers
6- Ping server IP, if OK ping server hostname, if OK rejoin domain

I've seen this when TCP/IP stack is broken.
0
 

Author Comment

by:DrGangles
Comment Utility
Sorry to sound stupid but I'm not sure of the proper way to uninstall and reinstall TCP/IP.

I found this Repair TCP/IP Stackfor repairing the TCP/IP stack but repairing is clearly different from uninstalling and reinstalling so I didn't want to proceed until I could clarify if this would be the same procedure.

Can you please confirm if that is the correct procedure or provide instructions on the proper way to uninstall/reinstall TCP/IP?

Also, I did try uninstalling the NIC but unfortunately that didn't help either.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 10

Expert Comment

by:0xSaPx0
Comment Utility
Control Panel - Network And Sharing Center - Change Adapter Settings (top left) - Right click adapter and choose properties. Just unselect TCP/IP and click OK. This will kill network connectivity so write down ip settings first, then just go back in and select it.

Then reconfigure network addressing if not DHCP.
0
 

Author Comment

by:DrGangles
Comment Utility
I went into the network adapter properties and uninstalled/reinstalled TCP/IP as 0xSaPx0 had outlined. I rebooted and made sure that the computer account was removed from the domain. I then went into the IPv4 settings and left everything at automatic except the DNS which I set to 192.168.50.84.

After that I pinged 192.168.50.84 and it returned successfully. I then pinged cepp.local (the domain I am trying to join) and that returned successfully.

After doing all of that I tried joining the domain again but I still got the, "The network path was not found" message.

I also tried running nslookup again just to see what it said and this time it didn't have anything about a DNS timeout but it did still come back with:
Default Server: UnKnown
Address: 192.168.50.84
0
 
LVL 10

Expert Comment

by:0xSaPx0
Comment Utility
Check to make sure the TCP/IP Netbios helper service is started
0
 

Author Comment

by:DrGangles
Comment Utility
Yes, TCP/IP Netbios Helper Service is started and is set to Automatic.
0
 
LVL 17

Expert Comment

by:WORKS2011
Comment Utility
on the server running DNS run dcdiag: test/dns and post the results
0
 

Author Comment

by:DrGangles
Comment Utility
Directory Server Diagnosis


Performing initial setup:

   Trying to find home server...

   Home Server = ce-fdc

   * Identified AD Forest.
   Done gathering initial info.


Doing initial required tests

   
   Testing server: Default-First-Site-Name\CE-FDC

      Starting test: Connectivity

         ......................... CE-FDC passed test Connectivity



Doing primary tests

   
   Testing server: Default-First-Site-Name\CE-FDC

   
      Starting test: DNS

         

         DNS Tests are running and not hung. Please wait a few minutes...

         ......................... CE-FDC passed test DNS

   
   Running partition tests on : ForestDnsZones

   
   Running partition tests on : DomainDnsZones

   
   Running partition tests on : Schema

   
   Running partition tests on : Configuration

   
   Running partition tests on : cepp

   
   Running enterprise tests on : cepp.local

      Starting test: DNS

         Summary of test results for DNS servers used by the above domain

         controllers:

         

            DNS server: 216.130.105.133 (<name unavailable>)

               1 test failure on this DNS server

               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 216.130.105.133              
         ......................... cepp.local passed test DNS
0
 

Accepted Solution

by:
DrGangles earned 0 total points
Comment Utility
I read in another forum that someone had resolved this issue by adding a new LAN card. I went out and bought one and installed it and then tried rejoining the domain. Magically this worked, I was able to join the domain the first time. So it does seem that some bad settings had somehow gotten locked into the original card.

The only problem is that when I joined the domain, it didn't recognize the old user profile that was still on her machine (knolan.cepp) so it generated a new one from scratch (knolan.cepp.0000). This wasn't a huge issue cause we were able to copy most of her files over from her previous profile except that when we went to recover her Outlook personal folder file we found out that under C:\Users\knolan.cepp\AppData\Local there were no files at all, the folder was completely empty. I also checked to see if she had created a new PST file after upgrading to Office 2010 so I checked in the other PST location C:\Users\knolan.cepp\Documents\Outlook Files but that folder didn't exist either. Even after that we just did a search of her entire drive for "*.pst" but the only file we were able to locate was a previous version she had backed up back in 2011.

I really have no idea what happened but it seems that her original profile completely corrupted somehow just by unjoining and rejoining the same domain. It really sucks because she hadn't kept any more recent backups so in the end she lost about 2 years worth of saved emails.

Unless anyone has any more help they can offer, I guess I will just close out this question since I sort of resolved it on my own...
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

728 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

9 Experts available now in Live!

Get 1:1 Help Now