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:-
- First download WinBubbles.
- Now goto WinBubble Directory]\Tools\
- Now create a duplicate of lawrence.vbs and rename it to any filename which ever you would like to have it.
- 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
- You will get a Command line to switch on/off UAC.
- 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
- 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
- Click the ADD Button, to add on the right click option.
Bookmarks