none
enable UAC

Answers

  • Be aware that a reboot is in order after UAC is toggled.  Therefore you can't simply toggle the registry and enable/disable the feature.  That also means that the existence (or lack therefore) is not sufficient to detect whether UAC is enabled since a pending reboot might be in order.

    Michael Taylor - 9/11/09
    http://p3net.mvps.org
    Friday, September 11, 2009 2:12 PM
  • As was mentioned earlier in the thread a registry entry can be set to disable UAC.  However, it does not take effect until a reboot.  Once you reboot UAC will be enabled or disabled and remain so until it is changed again.

    Michael Taylor - 9/14/09
    http://p3net.mvps.org
    • Marked as answer by eryang Friday, October 09, 2009 3:24 AM
    Monday, September 14, 2009 8:16 PM

All replies

  • Hi,
    I hope it will help you

    http://social.msdn.microsoft.com/Forums/en-US/windowssecurity/thread/dd400cb9-d5fc-41b2-ad9d-6b91ce88c766
    Best Regards, C.Gnanadurai ----------------------- Please mark the post as answer if it is helpfull to you
    Friday, September 11, 2009 12:07 PM
  • Hi,

    you can set the EnableLUA Value in the Registry(HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System) to 0 to disable and to 1 to enable.

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Friday, September 11, 2009 12:16 PM
  • Be aware that a reboot is in order after UAC is toggled.  Therefore you can't simply toggle the registry and enable/disable the feature.  That also means that the existence (or lack therefore) is not sufficient to detect whether UAC is enabled since a pending reboot might be in order.

    Michael Taylor - 9/11/09
    http://p3net.mvps.org
    Friday, September 11, 2009 2:12 PM
  • So does that mean that he cannot enable and disable UAC of vista at runtime by programmatically?


    Monday, September 14, 2009 6:35 PM
  • You can change it programmatically although the approach is undocumented.  However it does not take effect until a reboot occurs.  Furthermore if UAC is enabled then you won't be able to change it without a UAC prompt.

    Michael Taylor - 9/14/09
    http://p3net.mvps.org
    Monday, September 14, 2009 6:45 PM
  • Thanks TaylorMichaelL. I found a tool that let me disable UAC and will let it stay disabled even after a reboot . They call it "bye bye uac". Do you have an idea how they manage to do this?
    Monday, September 14, 2009 8:13 PM
  • As was mentioned earlier in the thread a registry entry can be set to disable UAC.  However, it does not take effect until a reboot.  Once you reboot UAC will be enabled or disabled and remain so until it is changed again.

    Michael Taylor - 9/14/09
    http://p3net.mvps.org
    • Marked as answer by eryang Friday, October 09, 2009 3:24 AM
    Monday, September 14, 2009 8:16 PM