Go Back   TechArena Community > Software > Customize Desktop
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to add disable uac or enable uac on right click

Customize Desktop


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-02-2009
Member
 
Join Date: Apr 2008
Posts: 598
How to add disable uac or enable uac on right click
  

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.

Reply With Quote
Reply

  TechArena Community > Software > Customize Desktop
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to add disable uac or enable uac on right click"
Thread Thread Starter Forum Replies Last Post
I want to re-enable the right click button of my mouse. Dhulipala Hardware Peripherals 3 02-03-2012 09:36 AM
Enable or disable Aero with a simple double-click TheGreatOne Tips & Tweaks 2 05-02-2010 07:07 PM
How to enable or disable Windows Firewall in Vista in just one click Computer_Freak Tips & Tweaks 5 04-02-2009 09:37 PM
Disable "Click Here to enable Instant Search" Hemal Das Windows Software 1 06-01-2009 08:35 PM
Disable Right Click Landry Tips & Tweaks 1 27-10-2008 06:40 PM


All times are GMT +5.5. The time now is 11:28 AM.