Long Delay for UAC Prompt to Appear?


  1. Posts : 7,904
    Windows 11 Pro 64 bit
       #1

    Long Delay for UAC Prompt to Appear?


    Since the last update to 1607 Build 14393.576 on two PCs, it now takes about 30s for the UAC prompt or cmd.exe window to first appear on both PCs. Subsequent UAC prompts appear after a normal delay. Both PCs have Kaspersky Internet Security (KIS) 2017.

    I discovered turning the UAC settings down one notch (see below) to avoid the screen dimming solves the problem.
    Attachment 113716

    Has anyone else noticed this weird bug/issue issue and is there a fix?
    Last edited by Steve C; 16 Dec 2016 at 02:54.
      My Computers


  2. Posts : 5,452
    Windows 11 Home
       #2

    I use various policies, which cause UAC to appear a few secs later but 30 sec, that is a bit too much, though I have seen it. Try a general cleanup (I use WC), maybe even removing all policies, Windows will reset them upon restart.

    reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKCU\Software\Policies" /f
    reg delete "HKLM\Software\Policies" /f
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Policies" /f
    Long Delay for UAC Prompt to Appear? Attached Files
    • File Type: bat WC.bat (499 Bytes, 115 views)
      My Computer


  3. Posts : 7,904
    Windows 11 Pro 64 bit
    Thread Starter
       #3

    TairikuOkami said:
    I use various policies, which cause UAC to appear a few secs later but 30 sec, that is a bit too much, though I have seen it. Try a general cleanup (I use WC), maybe even removing all policies, Windows will reset them upon restart.

    reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKCU\Software\Policies" /f
    reg delete "HKLM\Software\Policies" /f
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Policies" /f
    Thanks - A quick summary of the batch file commands in bold I'm unfamiliar with would be useful before I run it.

    fsutil usn deletejournal /d /n c:
    chkdsk /scan
    compact /CompactOs:never
    winmgmt /salvagerepository
    del "%temp%\*" /s /f /q
    del "C:\$Recycle.bin\*" /s /f /q
    del "D:\$Recycle.bin\*" /s /f /q
    del "%systemroot%\temp\*" /s /f /q
    vssadmin delete shadows /for=c: /all /quiet
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
    cleanmgr /sageset:65535 & cleanmgr /sagerun:65535
      My Computers


  4. Posts : 5,452
    Windows 11 Home
       #4

    Well, you do not really need to run all of those, I just have them included in the bat.
    It would be vague, to try to explain some of it just with just one word, so some links:

    fsutil usn deletejournal /d /n c:
    Fsutil usn

    compact /CompactOs:never
    Compact OS - Compress or Uncompress Windows 10 - Windows 10 Tutorials

    winmgmt /salvagerepository
    WMI: Rebuilding the WMI Repository | Ask the Performance Team Blog

    vssadmin delete shadows /for=c: /all /quiet
    It removes all system restore points, file history, file backups.

    The biggest delay for me is caused by this entry, which shows, what triggered UAC prompt.

    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Audit" /v "ProcessCreationIncludeCmdLine_Enabled" /t REG_DWORD /d "1" /f
      My Computer


  5. Posts : 1
    Windows 10 / ubuntu
       #5

    Long Delay for UAC Prompt to Appear? Fix your certificates


    I am responding to this ancient thread because it was a key stepping stone in my search for an answer.
    I tried all that was here, and still no joy.
    It turned out that my problem was with consent.exe.

    Using Process Monitor from the sysinternal tool Suite, I monitored the system during the delay. From some posting (maybe this one) I got the hint to look and see what consent was doing.
    After discovering the file and URL accesses going on while I was waiting, I identified consent's accessing the network was the problem.

    I wondered 1) if consent.exe is a legitimate program, 2) if its use of the network is legit (why does it attempt to connect to an external server), and 3) if there is any reason to allow it.
    Some commentary follows; the short answer is that it is OK, and no, you don't want to block it:

    1. Assuming that the copy of consent.exe on your system is good, then what is it doing anyway?
    2. Consent is part of the user access control (UAC) system. Among many other things, before it allows anything to run based on signatures & certificates, it wants to check to see if any certificates have been revoked.
      To check the revocation information consent has to 'phone a friend'. Consent does this for allof your certificates each time that it does not have current, trusted information.
    3. Can you block it from network access? Well there are 2 reasons that you may not want to do this:


    • Going back to a really trusted root gives you a bit more safety. It is of course your choice, but as for me and my machines, we will check the root.
    • For me, when I did not provide access to all of the Trusted Roots the UAC prompt took almost 30 seconds to come up.

    This delay was a mystery to me, and might be to you. I was using self-signed machine-specific code-signing certificates rooted from my machines at work. These certificates were being checked via a ROOT that was not accessible. Unfortunately, the internal work network is usually behind a firewall. This means that the revocation check has to timeout.
    So in summary:
    1. Yes
    2. Yes
    3. Yes
    Happy hunting.
    Ah, so what did I do? I removed all of the offending certificates -- my UAC prompt now comes up faster than I can blink.

    (I used mmc certlm.msc and certmgr)
    Last edited by ElderDelp; 03 Feb 2018 at 13:54. Reason: reformated
      My Computer


  6. Posts : 116
    Windows 10
       #6

    I'm even later in the game on this thread, which seems like an important one for anyone who has the UAC delay problem.

    ElderDelp, if you are still out there--or anyone who understands the previous post,...it sounds to me like this would only apply to someone who uses Windows within a fairly sophisticated network (such as at work), and then takes the computer out of the network and uses it elsewhere. Am I correct that this would not apply unless those conditions are met?
      My Computer


  7. Posts : 1
    Server 2016
       #7

    If you are in a government environment these issues are likely related to Axway tumbleweed validator. Run tumbleweed as an administrator default validator option and change options to best suite your environment working environment
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:14.
Find Us




Windows 10 Forums