+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 47
Windows 7 Thread, trust relationship in Technical; Originally Posted by witch I disabled Startup Repair in both my schools and I get very few trust relationship issues ...
  1. #31


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,798
    Thank Post
    231
    Thanked 883 Times in 759 Posts
    Rep Power
    300
    Quote Originally Posted by witch View Post
    I disabled Startup Repair in both my schools and I get very few trust relationship issues anymore. It is definitely related to the netbooks not being shut down properly - at the junior school the teachers stand over the children till the netbook has shut down but at the middle school the children take the netbooks back to the trolley, often in another block, by themselves and I reckon they just shut them in order to get away quickly. @CBlunt I think you might find that people have already said taking things off the domain and putting them back on again solves it.
    even simpler than that just remove the word .local (assuming your domain is school.local) from the domain in the same place and rejoin it in 1 reboot

  2. #32

    Join Date
    Oct 2011
    Posts
    24
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi all

    I am getting this issue lot recently

    i have run the cmd script with as shown in post 2 and i am still getting trust relationship issues!

    any ideas what else i can do?

  3. #33


    Join Date
    Jan 2012
    Posts
    2,960
    Thank Post
    1,104
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    Is System Restore disabled?
    This whole thing comes about because Startup Repair (which the bcdedit script disables) seems to perform - in some manner - a system restore or rollback (which in turn causes the trust relationship issue)

  4. #34

    Join Date
    Oct 2011
    Posts
    24
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    i have gon through all machines and run a bat script in which below is present

    bcdedit /set {default} recoveryenabled No
    bcdedit /set {default} bootstatuspolicy ignoreallfailures

    i will need to look at the affected machines to see if it has disabled it or not but as far as i know it did

  5. #35


    Join Date
    Jan 2012
    Posts
    2,960
    Thank Post
    1,104
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    More accurately, the BCDEdit script doesn't disable Startup Repair.

    What it does do, is stops the 'Launch Startup Repair or Start Windows Normally' screen you're prompted with when booting after an incorrect shutdown (such as holding down the power button, as our kids are so prone to doing) so the laptop can't accidentally boot into Startup Repair (by idling for 30s) or by having that option selected.

    The underlying issue won't actually be solved if the machine has already 'lost' its trust relationship. You'll need to drop it off and re-join it to the domain to fix that (or just delete the .local if your domain contains it) and it shouldn't happen again if you've already ran the BCDEdit script.

  6. #36

    Join Date
    Jan 2012
    Posts
    117
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by chekmate1984 View Post
    i have gon through all machines and run a bat script in which below is present

    bcdedit /set {default} recoveryenabled No
    bcdedit /set {default} bootstatuspolicy ignoreallfailures

    i will need to look at the affected machines to see if it has disabled it or not but as far as i know it did
    We've just done the same for all our Student machines. Time will tell I guess, but from all the comments about doing this, it's likely it will solve this issue for us.

  7. #37
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    818
    Thank Post
    84
    Thanked 136 Times in 116 Posts
    Blog Entries
    8
    Rep Power
    32
    Quote Originally Posted by witch View Post
    I disabled Startup Repair in both my schools and I get very few trust relationship issues anymore. It is definitely related to the netbooks not being shut down properly - at the junior school the teachers stand over the children till the netbook has shut down but at the middle school the children take the netbooks back to the trolley, often in another block, by themselves and I reckon they just shut them in order to get away quickly. @CBlunt I think you might find that people have already said taking things off the domain and putting them back on again solves it.
    @witch: You ever try setting a power profile through GPO and have it so the netbooks shutdown when the lid is closed? I had the exact same issue of students leaving these things on and stuffing them back into the carts. Since students can't lock the machine it would never go to sleep either. Staff seem to like it since it makes cleanup that much faster.

  8. Thanks to Duke5A from:

    witch (11th March 2014)

  9. #38

    Join Date
    Feb 2011
    Posts
    67
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by sted View Post
    batch file as a startup (not logn) script

    Code:
    if exist c:\suroff.txt goto end
    bcdedit /set {default} recoveryenabled No
    bcdedit /set {default} bootstatuspolicy ignoreallfailures
    copy \\server\share$\suroff.txt c:\suroff.txt
    
    :end
    Can I assume that the surfoff.txt doesn't need to contain anything?

    Will the following just work?

    bcdedit /set {default} recoveryenabled No
    bcdedit /set {default} bootstatuspolicy ignoreallfailures

    Regards

    Rob

  10. #39


    Join Date
    Jan 2012
    Posts
    2,960
    Thank Post
    1,104
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    Yes, @rpettit
    'if exist' is rather literal. It doesn't care about file size, content, MD5, or anything else. All it cares about is location and name.
    If C:\ contains a file called suroff.txt, the condition is met.

    (pet hate, and not sure if I mentioned this previously @sted, but instead of 'goto end' and then having :end at the bottom, 'goto eof' immediately ends the script)

  11. #40


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,798
    Thank Post
    231
    Thanked 883 Times in 759 Posts
    Rep Power
    300
    Quote Originally Posted by Garacesh View Post
    Yes, @rpettit
    'if exist' is rather literal. It doesn't care about file size, content, MD5, or anything else. All it cares about is location and name.
    If C:\ contains a file called suroff.txt, the condition is met.

    (pet hate, and not sure if I mentioned this previously @sted, but instead of 'goto end' and then having :end at the bottom, 'goto eof' immediately ends the script)
    fair enough it works and on some of my scripts i put common stuff after :end so eof dosent work in those cases so to keep my script consistent i just shove :end at the end

  12. #41


    Join Date
    Jan 2012
    Posts
    2,960
    Thank Post
    1,104
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    Makes sense. 'goto eof' is an immediate termination, so sometimes it isn't appropriate.

  13. #42

    Join Date
    Feb 2014
    Location
    Salisbury, uk
    Posts
    12
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The ignore real failures bit worries me a little?

  14. #43


    Join Date
    Jan 2012
    Posts
    2,960
    Thank Post
    1,104
    Thanked 438 Times in 321 Posts
    Rep Power
    227
    I'm honestly not sure what else IgnoreAllFailures will ignore, as the only thing I've encountered that launches Startup Repair is an improper shutdown (be that via the power button or a BSOD)
    BSOD's usually get reported to us and we investigate/fix/replace bits as necessary, so it hasn't caused issue for us so far as we can tell.
    We now have this script rolled into our base image, so once it's imaged this (amongst other scrips like wireless deployment) run

  15. #44

    Join Date
    Nov 2010
    Location
    Wainwright, Alberta
    Posts
    8
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Login in as local Admin and run the "Join a Domain or Workgroup" wizard under System Properties/Network ID.
    Has never failed to fix this issue and only take a minute.

  16. #45

    Join Date
    Feb 2014
    Location
    Salisbury, uk
    Posts
    12
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by julyan1 View Post
    Login in as local Admin and run the "Join a Domain or Workgroup" wizard under System Properties/Network ID.
    Has never failed to fix this issue and only take a minute.
    Im a technician in training and That's exactly what i do and it's the common protocol for the issue. Happens quite regularly though and often more than one machine in the class with the issue so an overall fix is much coveted

SHARE:
+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Windows 7 Trust relationship
    By Sunderwood in forum Windows 7
    Replies: 35
    Last Post: 14th March 2012, 01:56 PM
  2. Trust relationship error on Windows 7
    By techie08 in forum Windows 7
    Replies: 41
    Last Post: 22nd September 2011, 01:40 PM
  3. Rebuilt server - now lacking trust relationships!!!
    By InspireICT in forum Wireless Networks
    Replies: 13
    Last Post: 3rd May 2011, 01:41 PM
  4. Trust Relationship for web traffic
    By ahunter in forum Wireless Networks
    Replies: 4
    Last Post: 11th November 2008, 05:34 PM
  5. Trust Relationships and DeepFreeze
    By AdamWilden in forum How do you do....it?
    Replies: 6
    Last Post: 4th February 2008, 11:16 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •