Win10 - Safe mode - LogonUI.exe, stack based buffer in this application

modi123

Supreme [H]ardness
Joined
Sep 6, 2006
Messages
7,580
My dad's PC took a dive this morning. It was getting the black screen with moveable cursor and intermittent blue circle screen right after the windows10 log in.

Fair enough, I am figuring it's a borked driver, so I go to boot it into safe mode and I am greeted with this right after the logo screen.

I try to click ok a hundred times or the 'x' to close it and the popup persists. Online help all seemed to point to fixing the 'logonui' issue in safe mode.. which I can't get into.

I booted into windows recovery to do a chkdsk with no errors. I tried the various safe modes (with/without network, low display, etc) with no avail.

Any ideas on this popup during safe mode?

Does a win10 boot DVD do anything more than the on-drive recovery I have been getting into?

If I pull the drive and pop it into a good windows 10 machine is there any fixers I can run that way?

Preferably I would like to keep the data/apps from being nuked.

thanks!

As background this is an old ASUS tower that, a few years back, I put in an SSD and fresh install of win10. I also tried putting in an older video card thinking it may be a display issue I can work around.

1655843984137.png
 
My dad's PC took a dive this morning. It was getting the black screen with moveable cursor and intermittent blue circle screen right after the windows10 log in.

Fair enough, I am figuring it's a borked driver, so I go to boot it into safe mode and I am greeted with this right after the logo screen.

I try to click ok a hundred times or the 'x' to close it and the popup persists. Online help all seemed to point to fixing the 'logonui' issue in safe mode.. which I can't get into.

I booted into windows recovery to do a chkdsk with no errors. I tried the various safe modes (with/without network, low display, etc) with no avail.

Any ideas on this popup during safe mode?

Does a win10 boot DVD do anything more than the on-drive recovery I have been getting into?

If I pull the drive and pop it into a good windows 10 machine is there any fixers I can run that way?

Preferably I would like to keep the data/apps from being nuked.

thanks!

As background this is an old ASUS tower that, a few years back, I put in an SSD and fresh install of win10. I also tried putting in an older video card thinking it may be a display issue I can work around.

View attachment 485119
could be corruption/bad drive. could try some of whats suggested here: FIX: LogonUI.exe Error on BOOT/Start-up - Appuals.com
or pull it and scan it on another system, make sure its clean.
 
Here's what I tried and here's what worked.
Pulled the boot drive, plugged it in as an external, ran check disk and all that with no issues. (The SSD is only a few years old).
Plopped the drive back in, and both issues persisted.

I interrupted the windows booth three times to get to windows recovery.
from there I jumped into the command prompt, used 'bcedit' to get the partition of the boot drive (not the same as recovery partition)

In this case it was 'f'. I plugged that into SFC.
sfc /scannow /offbootdir=f:\ /offwindir=f:\windows

It chugged and eventually said it found some corruption, fixed some corruption, and some corruption remained.

I tried running DISM, but that only sort of worked and complained about space.
Dism /image:f: /Cleanup-Image /CheckHealth
Dism /image:f: /Cleanup-Image /ScanHealth
Dism /image:f: /Cleanup-Image /RestoreHealth

I exited out of the command prompt and had windows recovery reboot in safe mode. Low and behold it worked.

Rebooting in normal also worked.

There's some wonky behavior still, but so far - after a few updates - it is booting.

Regardless I'll be shopping for a new desktop for dad in the near future.

Info I was using was found here:
https://www.wintips.org/how-to-run-sfc-offline-system-file-checker-tool/
https://www.tenforums.com/performance-maintenance/94173-how-use-dism-window-pe-environment.html
https://www.tenforums.com/performan...ow-run-dism-commands-win-pe-boot-failure.html
https://www.tenforums.com/performan...y-use-sfc-dism-fix-no-boot-3.html#post2042963
https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image
 
Here's what I tried and here's what worked.
Pulled the boot drive, plugged it in as an external, ran check disk and all that with no issues. (The SSD is only a few years old).
Plopped the drive back in, and both issues persisted.

I interrupted the windows booth three times to get to windows recovery.
from there I jumped into the command prompt, used 'bcedit' to get the partition of the boot drive (not the same as recovery partition)

In this case it was 'f'. I plugged that into SFC.
sfc /scannow /offbootdir=f:\ /offwindir=f:\windows

It chugged and eventually said it found some corruption, fixed some corruption, and some corruption remained.

I tried running DISM, but that only sort of worked and complained about space.
Dism /image:f: /Cleanup-Image /CheckHealth
Dism /image:f: /Cleanup-Image /ScanHealth
Dism /image:f: /Cleanup-Image /RestoreHealth

I exited out of the command prompt and had windows recovery reboot in safe mode. Low and behold it worked.

Rebooting in normal also worked.

There's some wonky behavior still, but so far - after a few updates - it is booting.

Regardless I'll be shopping for a new desktop for dad in the near future.

Info I was using was found here:
https://www.wintips.org/how-to-run-sfc-offline-system-file-checker-tool/
https://www.tenforums.com/performance-maintenance/94173-how-use-dism-window-pe-environment.html
https://www.tenforums.com/performan...ow-run-dism-commands-win-pe-boot-failure.html
https://www.tenforums.com/performan...y-use-sfc-dism-fix-no-boot-3.html#post2042963
https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image
Man, I just created an account to come and thank you from the bottom of my heart since I had the same issue this morning and my Windows RE wasn't working and still isn't, I had to borrow an USB Drive and a Laptop so I could make a bootable drive and from there fixed the Logon using the SFC commands from your post.
Really really thank you so much, and this forum. :')
Good bless you and if you don't believe in god, I wish you good luck and fortune and if you don't believe in luck have a great life!
 
Back
Top