Giter Site home page Giter Site logo

Comments (19)

skyguy94 avatar skyguy94 commented on August 20, 2024

I have a coworker who has this issue at the moment. We're launching via a gist and then installing from a private feed. He's fairly non-technical and we're trying to sort through the issue remotely. He hasn't been able to kill the window. Its a well tested package, so I'm a bit perplexed. I wish we could grab some logs.

from boxstarter.

skyguy94 avatar skyguy94 commented on August 20, 2024

Ok, he didn't understand what safe mode was. We finally got past that and got a shared screen going.
The log is here: https://gist.github.com/anonymous/374028e9dcd49e59e4c5

DeveloperWorkstation is our boxstarter package.

Apparently this is a Windows 7 SP1 Machine. Its new, but I'm not sure if we ordered it with Win7 or one of my peers modified it.

from boxstarter.

skyguy94 avatar skyguy94 commented on August 20, 2024

After getting into safe mode and disabling boxstarter, I checked the three keys used to determine if a reboot is pending and they were all clear, so I'm not sure where the reboot was coming from, or why it wouldn't clear. I did not see a pending file rename key.

from boxstarter.

mwrock avatar mwrock commented on August 20, 2024

In the log just before the restart it will have an entry indicating what prompted the reboot. Looks like this is froom peding rename.

This happened to me once a while back from a Intel driver update gone bad and I had to manually delete the file.

from boxstarter.

mwrock avatar mwrock commented on August 20, 2024

Look in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager

from boxstarter.

skyguy94 avatar skyguy94 commented on August 20, 2024

Ok, here's a screenshot:

troubleshooting

Running a de-ceremonied version of the script: https://gist.github.com/skyguy94/ae12f1c08f552712b959 yielded the results in the console window.

$PSVersionTable shows 2 0 -1 -1

from boxstarter.

skyguy94 avatar skyguy94 commented on August 20, 2024

Running the registry code by hand yields this:
capture

I'm updating him to Powershell 4 and will try it from that version.

from boxstarter.

skyguy94 avatar skyguy94 commented on August 20, 2024

Ok, rebooting after installing ps4 shows the "WPRO_41_2001_woem.tmp" file as still pending. Apparently its for "Intel Smart Connect Software". I left it as is for now, but I imagine that uninstalling the software would fix the issue. I found a very old technet article about it here: https://social.technet.microsoft.com/Forums/exchange/en-US/0b9efb57-5adb-4399-a968-c2ee1a321baf/how-to-cancel-pending-system-reboot?forum=exchangesvrgenerallegacy

from boxstarter.

mwrock avatar mwrock commented on August 20, 2024

Sounds really familiar to my experience and I believe I ended up uninstalling the app from intel. It was about a year ago so details are a bit foggy.

from boxstarter.

nbarnwell avatar nbarnwell commented on August 20, 2024

I'm having a similar issue now with Google Chrome. After a reboot there's something in that registry entry for pending renames about Chrome.

from boxstarter.

skyguy94 avatar skyguy94 commented on August 20, 2024

What's the pending file rename look like?

from boxstarter.

nbarnwell avatar nbarnwell commented on August 20, 2024

PS C:> get-itemproperty "hklm:\system\currentcontrolset\control\session manager" -Name PendingFileRenameOperations | s
elect -exp PendingFileRenameOperations
??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\IGT.exe
??\C:\Program Files (x86)\Google\Update\1.3.24.15

I just found this that I'll try in a second for the IGT.exe: https://forum.parallels.com/threads/a-igt-exe-coming-up-as-malicous-object.287791/

On 12 Mar 2015 23:28, "Ritch Melton" [email protected] wrote:

What's the pending file rename look like?


Reply to this email directly or view it on GitHub.

from boxstarter.

dragon788 avatar dragon788 commented on August 20, 2024

I'm getting this from a spool process that has a PRTPROCS\x64 dll open. Really annoying since it's a managed server and I can't do much about it, removing the item manually still doesn't get rid of the pending rename. Going to try another reboot manually, but definitely bad to have a server looping from a setup attempt. Would be great to have some detection mechanism in place "unable to run Boxstarter main process after 3 reboots, please check recent updates or run commands in this troubleshooting thread to see what process is causing the failure".

UPDATE: After removing the offending item and rebooting Boxstarter simply failed to start, but this may have been due to how I killed it by terminating the batch in the prior run. Kicking off from the URL again was able to succeed after I verified there were no pending file renames.

from boxstarter.

pauby avatar pauby commented on August 20, 2024

@romaklimenko That is incredibly helpful. Thanks for that.

See #357 and #356

from boxstarter.

Eternal21 avatar Eternal21 commented on August 20, 2024

I don't even remember why I had it installed, but just restarted my win 10 laptop for the first time in many weeks, and it started rebooting like crazy. Didn't know what was causing it, but luckily the cmd window takes a while to execute all its instructions and was able to close it in time on 5 restart. I then removed Boxstarter from the start menu, so hopefully that'll take care of the issue for now.

from boxstarter.

lukebal avatar lukebal commented on August 20, 2024

I've noticed this Reboot loop behavior with Windows Updates. My Boxstarter package will contain nothing but the function 'Install-WindowsUpdate', and the test machines will get stuck in a reboot loop. There are no pending file rename operations either in the registry. When looking at the Test-Pendingreboot reason, the value points to OneDriveSetup (which I believe is a red herring).
Some Windows Updates will install and Boxstarter will receive the pending reboot notification and reboot the machines. But it gets hung up on one update in particular (in my case its KB4507469). Boxstarter is never able to fully install that update as it keeps thinking a reboot is needed and the machine reboots continuously.
In this case, I am manually installing the KB before the 'Install-WindowsUpdate' function is invoked. By doing this the reboot loop is avoided.
It would be nice to find the root cause of why Boxstarter keeps thinking a reboot is needed before installing this particular KB, when indeed a reboot has already been performed (over 400+ times).

from boxstarter.

mwallner avatar mwallner commented on August 20, 2024

I've been just checking the issues marked as 'bug' and stumbled over this. To be honest I've got no idea what to do with this, - I am not aware of any recent "infinite reboot loops", also the only scenario where a reboot loop really would be infinite if the Boxstarter package itself would trigger a reboot each and every time...

In theory we could create something like a "maximum reboot count" parameter, set it to 100 by default and give the user an option to overwrite it. (Boxstarter would need to ensure to store it somewhere to in $Boxstarter.dir, but we'd already have everything in place we'd need for that)

what do you think @pauby @flcdrg ?

from boxstarter.

flcdrg avatar flcdrg commented on August 20, 2024

There was #490 which was due to a dodgy audio driver install.

Having some kind of watchdog counter does sound like a good idea though

from boxstarter.

pauby avatar pauby commented on August 20, 2024

Agreed.

However, if the reboot loop isn't of Boxstarters making, then the counter is not going to be updated and the loops around going to continue.

from boxstarter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.