Hi friends,

You would be thinking to have a UAC Disable or Enable at just of your Right Click.Following is the are the steps for doing the same:-
  1. First download WinBubbles.
  2. Now goto WinBubble Directory]\Tools\
  3. Now create a duplicate of lawrence.vbs and rename it to any filename which ever you would like to have it.
  4. Now open the lawrence,vbs file and modify the seventh line of it, by writting this code

    objApp.shellExecute "cmd.exe", " /c %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d " & strArg & " /f", , "runas", 1

  5. You will get a Command line to switch on/off UAC.
  6. If you are not comfortable than directly copy paste the following code:-


    Set ObjArg = WScript.Arguments
    Dim strArg

    If WScript.Arguments.Count > 0 Then

    Set objApp = CreateObject("Shell.Application")

    For Each strArg in objArg
    objApp.shellExecute "cmd.exe", " /c %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d " & strArg & " /f", , "runas", 1
    Next

    Set objArg = Nothing
    Set objApp = Nothing
    End If


  7. Now put the program to your Context Menu.

    • Open Winbubbles >
    • Go to Miscellaneous Tab and decide where do you want to have the Context Menu Item.
    • Right Click on the Menu, Click Explorer/Location of the content to be place Button and Click the browse Button
    • Go to the Location of the Vbscript
    • File and type "*.vbs" and Click the File (DisableEnableUAC) and Open Button
    • Type Any name
    • Now Modify the Command
    • To Turn-Off UAC
    • wscript "[path]" 0
    • To Restore UAC
    • wscript "[path]" 1

  8. Click the ADD Button, to add on the right click option.