Issues with 24H2 and UAC prompts and screen lock?

Anonymous
2024-11-05T17:03:14+00:00

-Edit: Adding what I have found to be the fix below my original post content

-Edit 2: It seems that my fix did not work for someone else reporting the same problem. My issues seemed to go away after updating my lock screen settings, but this does not seem to be a guaranteed fix.

Hello,

Shortly after updating to 24H2 on Windows 11 Pro, I've had extremely detrimental issues where the only fix I can find is to force a reboot of my device. I am on a domain joined Dell XPS 15 9500. Hoping someone might have an idea on what I might be able to try to fix these issues

  1. After an hour or two from signing in, I will run into an issue where a UAC dialogue tries to pop up on my screen but never shows up. I am logged in as a standard user and have to elevate with my admin credentials. I tried waited minutes for it, and it never comes up on my screen. The only way I've been able to try and get out of this situation is by hitting Ctrl+Alt+Del. And when I do this, my input is all completely frozen. My screen will render with new items such as a new Teams message, but I can not click on anything and there is no input accepted from my keyboard. The only way I seem to be able to get out of this situation is to force a reboot.
  2. After locking my computer and walking away for even a few minutes, I come back to a black screen. I'm able to see my mouse pointer, but that is it. No login screen, no background, nothing. Again the only way to fix this is to reboot my computer.

Things I've tried:

  1. dism /online /cleanup-image /restorehealth
  2. sfc /scannow
  3. Installing all available windows updates and driver updates
  4. I've looked through the event viewer but I have not found anything helpful so far

I have one other person on our domain who experienced the issue with the UAC prompt locking up Windows 11 Pro, which leads me to believe that this may not be a problem with my device. The laptops are of different makes as well.

Screenshot of my sysinfo:

***moved from Windows / Windows 11 / Performance and system failures***

My Answer: From what we can tell from testing, I believe the issue was somehow caused by windows spotlight being selected for the lock screen. I'm not quite sure why. But me and the other person experiencing this both had the issue go away after changing our lock screen to a static image. This looks to have resolved both the UAC freezing issue and the black-screen lock screen issue.

I'm not sure if he also used to have a static image before the update changed it windows spotlight, or if the windows spotlight is running into issues for other reasons. Everything seems normal now though so I'm going to leave my lock screen as a static image and monitor other users to see if they have similar problems

Windows for business | Windows Client for IT Pros | Directory services | User logon and profiles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

27 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-27T04:40:47+00:00

    I have experienced and verified all stated errant behaviors on two devices. Given this was initially narrowed down to something to do with UAC, SecureDesktop, Elevated apps, etc., and the primary app seeming to be involved most often in relation to the inability to hibernate or lock the screen was Windows Terminal, that's where the gaze was directed, which uncovered this hidden nugget which caught my eye:

    Windows Terminal v1.21.2701.0 - GitHub

    "We have encountered a pretty annoying hanging issue on Windows 11 23H2, for which we have***paused the rollout of Terminal 1.21 Stable.***If you encounter a hang when resuming from sleep mode or unlocking your display, sorry! Relief is coming in the form of a Windows Update."

    • I further suspect this may also be impacting only devices which have both discrete and onboard GPUs.... for the rest of you, is this the case for you?
    • This was first encountered on a domain-joined device, which has undergone multiple Windows "re-install-in-place" events using various MS-provided images or generated via uupdump.
    • For the initial and subsequent devices, Spotlight has never been enabled.
    • Attempted:
      • power settings resets,
      • All available MS troubleshooters
      • reinstallation of all pnp devices
      • disablement of audio devices
      • adjustment of power plan to set hdd to never turn off
      • multiple sfc /scannow or dism repairs
      • laptop manufacturer-provided drivers only
      • component manufacturer-provided drivers
      • disablement of discrete gpu
      • bios-set hybrid graphics
      • bios-set os auto graphics\
      • manually and completely uninstalling windows terminal
      • installing alternate and preview builds of windows terminal
      • New user profiles
      • Redeploying system using 100% laptop manufacturer provided image
      • Deploying system using 100% microsoft provided image
      • No AV - stock Win11 24H2
      • Latest cumulative preview update(s) that hit today.
      • completely disabling uac
      • Likely a lot more stuff that was a waste of time over the past month (or two?)

    The ONLY thing that has worked: grant user account local admin rights... HOWEVER! The problem still technically persists, and is seemingly directly related to:

    Elevated applications which utilize credentials OTHER than the logged on user. Period... I can have WT launched and elevated using the logged in user account with local admin rights, and hibernate or lock the screen. I can then launch another WT, elevated, using credentials other than the logged in user, and hibernation or locking fails.

    One more odd quirk to add to this fantastic-fun-time-annoying-as-expletive-list: If the user does not have admin rights, and attempts to launch an application such as say, VirtualBox, which will demand elevation, the SecureDesktop loads (screen is dimmed,) however NO login prompt appears... After the typical timeout period, the system then behaves as all have previously described, identical to the hibernate/lock failure... The curious bit is that other applications which may otherwise demand admin rights, like say, Windows-X+A, dims the screen and presents the login prompt fine. Of course, don't dare hibernate with THAT subsequent window open! ;)

    I suppose one final bit to mention that I haven't seen referenced: For the hibernation failure, specifically, if I simply let the system sit, after about 30 minutes it will rather reliably bluescreen with an internal_power_error, with a very sparse and largely unhelpful dump.

    I further suspect this issue seems to be under-reported simply due to the userbase it is impacting: higher-end hardware, and based on the responses, those with either IT administrative functions, or those in environments with very specific security restrictions imposed, all likely leading to a somewhat marginal group of users whose probability of encountering these particular problems is lowered still by the specific workflows required to forcibly self-impose a rage quit for the day when you lose all your work after issuing a command designed to save your work - hibernate!

    I still love you to pieces, Microsoft, but please, please, for my sanity, and the benefit of everyone else suffering this silly glitch, fix this.

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-06T09:31:54+00:00

    Hello Andrew J. Clark,

    Thank you for posting in Microsoft Community forum.

    Based on the description "I have one other person on our domain who experienced the issue with the UAC prompt locking up Windows 11 Pro", is the OS of the other person on our domain the same as you?

    Did you install any KB recently? If so, you can try to uninstall it/them, then check if it helps.

    Please check if you have the same issue if you remove your machine from domain to workgroup.

    I hope the information above is helpful.

    If you have any question or concern, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    0 comments No comments
  3. Anonymous
    2024-11-07T17:46:00+00:00

    Hey Daisy,

    Thanks for your reply! I believe this may be an issue caused by TrendMicro antivirus. I unloaded it and ever since then I have not had any problems at all. I'm going to continue monitoring and throw another update on here once I more confident in what the problem is and if I find a solution.

    Thanks!

    Drew

    0 comments No comments
  4. Anonymous
    2024-11-07T19:27:56+00:00

    One thing worth mentioning since this is also something I changed before things seemed to start working again for my lock screen.

    Before I updated, my lock screen was a static image. After updating, my lock screen changed to Windows Spotlight. I reverted it back to a static image as well as unloading my antivirus. So I'm not sure yet which one of these things may have resolved the problem. It's possible that the lock screen is an issue with windows spotlight, and the antivirus is causing issues with the UAC prompt. I'll update again when I've determined what is 100% fixing it for me

    0 comments No comments
  5. Anonymous
    2024-11-08T09:05:08+00:00

    Hello

    Greetings!

    Thank you for your time and effort.

    I am looking forward to your update and reply again.

    Best Regards,
    Daisy Zhou

    0 comments No comments