Trust Relationship Server 2008 R2 and Win 7 Pro

Discussion in 'Software' started by HangoverSpecialist, Oct 19, 2010.

  1. HangoverSpecialist

    HangoverSpecialist Bit Poster

    45
    1
    20
    Hello,

    On several machines we have rolled out, we are getting the following error when trying to log on to the machine:

    "The trust relationship between this workstation and the primary domain failed."

    I have logged on locally to the machines, and removed them from the domain (changed to workgroup) and also removed them from the Active Directory, restarted machines, and rejoined to the domain - this fixes them temporarily.

    These same machines then get the above error intermittently, and the above process needs to be done to resolve the error.

    Any ideas?

    HS.
     
    Certifications: AS Computing
    WIP: A+, N+
  2. onoski

    onoski Terabyte Poster

    3,120
    51
    154
    Are all the client PC's Windows 7? Also how are they connected to the network i.e. attached to a domain or workgroup.

    With more information we should be able to point you in the right direction.
     
    Certifications: MCSE: 2003, MCSA: 2003 Messaging, MCP, HNC BIT, ITIL Fdn V3, SDI Fdn, VCP 4 & VCP 5
    WIP: MCTS:70-236, PowerShell
  3. HangoverSpecialist

    HangoverSpecialist Bit Poster

    45
    1
    20
    Hi onoski, thanks for your reply.

    Yes all the client PC's are Windows 7 Professional, and are connected to the Domain Controller which is running Windows Server 2008 R2.

    HS.
     
    Certifications: AS Computing
    WIP: A+, N+
  4. LukeP

    LukeP Gigabyte Poster

    1,194
    41
    90
    Sounds odd. Is the time server and time sync between DC and workstations working fine?
     
    WIP: Uhmm... not sure
  5. HangoverSpecialist

    HangoverSpecialist Bit Poster

    45
    1
    20
    Hi LukeP, thanks for your reply.

    As far as I am aware, I will double check this tomorrow however. Thank you for the advice.

    HS.
     
    Certifications: AS Computing
    WIP: A+, N+
  6. Shinigami

    Shinigami Megabyte Poster

    896
    40
    84
    Yeah, time sync is something one should verify. Here's another few things that come to mind (plus elaboration on the time sync issue):

    - Do you have more than one machine with the same name on the network?
    - Did you "ghost" images of Windows 7, and if so, did you sysprep them properly before joining to the domain?
    - Time skews can cause funny issues. Check the time provider for your DC's, and that all non-PDCe's receive the correct time from the PDCe FSMO holder. Verify that the appropriate ports are open and use several of the following commands to verify time source such as:

    A synchronized enterprise time is critical to the Active Directory environment. See http://technet.microsoft.com/en-us/library/cc786897.aspx for more information.
    To configure the Windows Time service on CONTOSODC1 which is the DC holding the default PDC (FSMO) role, perform the following:
    Code:
    1) Open UDP port 123 for outgoing traffic if needed.
    2) Open UDP port 123 (or a different port you have selected) for incoming NTP traffic.
    3) Open a Command Prompt and type the following command to configure the PDC emulator and then press ENTER:
    W32tm /config /manualpeerlist:"ntp1.contoso.com, ntp2.contoso.com" /syncfromflags:manual /reliable:yes /update
    4) Verify the settings using the following command:
    C:\Users\administrator>w32tm /query /source
    C:\Users\administrator>w32tm /query /peers /verbose
    C:\Users\administrator>w32tm /query /configuration /verbose
    5) These settings will provide information on the source of the time service, the status of the configured
    peers, as well as a full verbose dump of the time service configuration on the server on which the check
    was run. We can also configure GPOs to set a different NTP server for specific clients. This is done by
    creating a new GPO that applies only to the specific computers, using the setting under:
    Computer Configuration \ Policies \ Administrative Templates \ System \ Windows Time Service \ Time Providers.
    - You did not mention how many DCs you have, but if you do have several, you may have a directory mismatch/corruption, and occasionally a client machine will try to authenticate with a mal-functioning DC resulting in these errors. Use the following to do general DC troubleshooting:

    1) Use DCDIAG /v on each domain controller and check for any errors
    2) Use NETDIAG /v on each domain controller and check for any errors
    3) Use REPADMIN /showreps on each domain controller to verify replication partners

    - Considering it seems to be the client machines which are not working, I'm suspecting there's a DC conifguration error, or worse, a driver or NIC hardware error. This is not unheard of and poor network drivers are known to cause errors like this (typically on client machines). But more importantly, it might mean you need to verify several network related issues (I've seen this happen due to the following):

    1) Verify duplexing/speed capabilities of your network and adjust the client machines accordingly
    2) download the latest NIC drivers and apply accordingly
    3) verify integrity of network cables
    4) verify integrity of switches/routers

    Maybe that will get you off to a start... just a few things that popped into my head. I've personally seen this issue in situations where some Cisco switches were 1gbit capable and configured as such, but the drivers on the client side were poor and did not fully support the 1gbit capabilities of the network card. It caused strange issues... Another problem has been a broken switch, but this can usually be tested by moving the machine around so that it has a succesful connection to a DC while bypassing the faulty switch.

    ah well, back to work now :blink
     
    Last edited: Oct 19, 2010
    Certifications: MCSE, MCITP, MCDST, MOS, CIW, Comptia
    WIP: Win7/Lync2010/MCM
  7. onoski

    onoski Terabyte Poster

    3,120
    51
    154

    Okay, might want to check Windows firewall is switched off on the client PC's as well as the svr 2008 DC. This however, needs to be verified to make sure you have a firewall on your network i.e. Cisco pix or Nokia etc.

    The reason being Windows firewall, inbuilt software is notorious for locking down lots of network and RDP related connections. Lets know how you get on:)
     
    Certifications: MCSE: 2003, MCSA: 2003 Messaging, MCP, HNC BIT, ITIL Fdn V3, SDI Fdn, VCP 4 & VCP 5
    WIP: MCTS:70-236, PowerShell
  8. Shinigami

    Shinigami Megabyte Poster

    896
    40
    84
    onoski: a default installation of Windows 2008 R2 or Windows 7 will not produce issues via Windows Firewall in a domain environment. The firewall can be enabled just fine and it will work. In fact, it would not be a recommended action to disable the firewall in the first place.

    We're not talking here about XP or 2003 so please don't confuse them with R2/7. XP had some issues, but even that would work in a default installation.

    (of course, if someone went and fiddled around with the Firewall, then that's another issue)
     
    Last edited: Oct 19, 2010
    Certifications: MCSE, MCITP, MCDST, MOS, CIW, Comptia
    WIP: Win7/Lync2010/MCM
  9. Theprof

    Theprof Petabyte Poster

    4,607
    83
    211
    Another thing to keep in mind regarding time issue, if you're using ESX, make sure your ESX hosts are correctly configured with the NTP server and check the times on the host as well... We had issues with that in the past.
     
    Certifications: A+ | CCA | CCAA | Network+ | MCDST | MCSA | MCP (270, 271, 272, 290, 291) | MCTS (70-662, 70-663) | MCITP:EMA | VCA-DCV/Cloud/WM | VTSP | VCP5-DT | VCP5-DCV
    WIP: VCAP5-DCA/DCD | EMCCA
  10. HangoverSpecialist

    HangoverSpecialist Bit Poster

    45
    1
    20
    Hi Shinigami, thanks for your reply.

    To answer some of your questions:

    There is only one DC, and 30 Clients. There were two seperate ghost installations, we used Acronis. I am not sure whether SYSPREP was used properly, will double check with colleague tomorrow as he dealt with the OS rollout. The installations were slightly different, but fundamently the same (teacher machine and computer suite machine) - just differing software, active whiteboards, and SIMS etc. All machines are named differently, should be no conflicts there.

    Will check everything you suggested tomorrow, thank you for the response!

    HS.
     
    Last edited: Oct 19, 2010
    Certifications: AS Computing
    WIP: A+, N+
  11. Sparky
    Highly Decorated Member Award 500 Likes Award

    Sparky Zettabyte Poster Moderator

    10,718
    543
    364
    I think that’s your problem there mate. If the PCs are not prepped properly then you get ‘duplicates’ so to speak.
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) MS-900 AZ-900 Security+ Network+ A+
    WIP: Microsoft Certs
  12. Acronis Support

    Acronis Support New Member

    1
    0
    1
    Hello HangoverSpecialist,

    Thank you for using Acronis products. Please accept my apologies for the inconvenience and I will do my best to assist you.

    The situation that you describe is caused by a known issue in our software when you use the option to Change SID during deployment template creation. We have been assured by our Development team that this problem will be fixed in the upcoming update for Acronis Snap Deploy.

    As a workaround, please do not use this option. I am very sorry for all the trouble.

    If you need additional assistance or have any other issues, please let me know.

    Thank you.

    Anton.
     

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.