Announcement

Collapse
No announcement yet.

Vista turn on/off UAC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vista turn on/off UAC

    Anyone willing to test whether these turn UAC on and off using Vista?
    Documentation states computer must be restarted after running these to take effect.


    Code:
    @REM UACOFF.BAT   Turn off UAC in Vista
    @REM [URL]http://www.mydigitallife.info/2007/04/23/how-to-disable-or-enable-vista-user-access-control-in-command-prompt[/URL]
    C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
    EXIT
    Code:
    @REM UACON.BAT   Turn on UAC in Vista
    @REM [URL]http://www.mydigitallife.info/2007/04/23/how-to-disable-or-enable-vista-user-access-control-in-command-prompt[/URL]
    C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
    EXIT
    Last edited by Mike Doty; 30 Jul 2008, 08:56 PM.
    The world is full of apathy, but who cares?

  • #2
    HKLM?
    I think you need admin rights anyway.
    hellobasic

    Comment


    • #3
      Yup. To modify a key under HKEY_LOCAL_MACHINE you need to have elevated privleges, so it would require that you run the shell as an administrator. Personally I'd just use secpol.msc and adjust things as needed.
      Mike Stefanik
      sockettools.com

      Comment


      • #4
        Would this work for an admin that doesn't want or need Vista?
        I'm getting calls from people that want to go back to XP and thought this might help.
        The world is full of apathy, but who cares?

        Comment


        • #5
          >I'm getting calls from people that want to go back to XP and thought this might help.

          I wonder if those who want to go back to Windows/XP specifically because of the UAC default settings on Vista are the same people who curse Microsoft for leaving gaping security holes in their systems.
          Michael Mattias
          Tal Systems (retired)
          Port Washington WI USA
          [email protected]
          http://www.talsystems.com

          Comment


          • #6
            No, they are small business people trying to run a business and were forced into Vista.
            The world is full of apathy, but who cares?

            Comment


            • #7
              Vista Home Basic and Home Premium don't have secpol.msc.

              Instead of turning UAC off completely, you can use TweakUAC's "quiet mode".

              Personally, I have gotten used to UAC, so I leave it on most of the time. If I need to, I'll use "quiet mode".

              Comment


              • #8
                Once I turned off UAC, Vista became much more enjoyable for me. With it on, it was an incredible annoyance.
                Paul Squires
                FireFly Visual Designer (for PowerBASIC Windows 10+)
                Version 3 now available.
                http://www.planetsquires.com

                Comment


                • #9
                  How I Deal with UAC

                  For developers, always off (unless you have a test machine, then keep it on)

                  For Joe User, always on. If your app is not compatible, fix it, or announce you do not support Vista, because if it's not ready for Vista UAC, then it's not Vista compatible.
                  kgpsoftware.com | Slam DBMS | PrpT Control | Other Downloads | Contact Me

                  Comment

                  Working...
                  X