ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Use PowerShell to Disable UAC on Windows 10

    IT Discussion
    uac windows windows 10 powershell
    9
    16
    5.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @Obsolesce
      last edited by

      @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

      @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

      @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

      What special case needs UAC completely off?

      Company purchases an application that requires it.

      As in doesn't support UAC?

      Correct. Not something we control. Normally, though, you just turn it down a level for the user and all is well. But Windows won't let you in this case (or a bunch of other things, we are replacing the hardware.)

      1 Reply Last reply Reply Quote 0
      • jmooreJ
        jmoore
        last edited by

        @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

        Set-Itemproperty -path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\policies\system' -Name 'EnableLUA' -value 0

        Never had a reason to do that but I am saving that line and adding it to my own personal powershell documentation in case it ever comes up. Thanks.

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @jmoore
          last edited by

          @jmoore said in Use PowerShell to Disable UAC on Windows 10:

          @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

          Set-Itemproperty -path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\policies\system' -Name 'EnableLUA' -value 0

          Never had a reason to do that but I am saving that line and adding it to my own personal powershell documentation in case it ever comes up. Thanks.

          Handy, just in case.

          1 Reply Last reply Reply Quote 0
          • J
            JasGot @scottalanmiller
            last edited by

            @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

            Company purchases an application that requires it.

            Yep. We have several customers with apps that will not run unless UAC is off.

            I've been able to make some work with the Application Compatibility Toolkit, but not all of them.

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              Yeah, I've run into this once or twice before as well. Definitely a PITA.

              1 Reply Last reply Reply Quote 0
              • PhlipElderP
                PhlipElder @scottalanmiller
                last edited by

                @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

                @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

                What special case needs UAC completely off?

                Company purchases an application that requires it.

                For those kinds of apps we use ProcessExplorer and ProcessMonitor to find where it needs MOD access and tweak accordingly.

                Shimming also works.

                PhlipElderP F 2 Replies Last reply Reply Quote 1
                • PhlipElderP
                  PhlipElder @PhlipElder
                  last edited by PhlipElder

                  @PhlipElder said in Use PowerShell to Disable UAC on Windows 10:

                  @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

                  @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

                  What special case needs UAC completely off?

                  Company purchases an application that requires it.

                  For those kinds of apps we use ProcessExplorer and ProcessMonitor to find where it needs MOD access and tweak accordingly.

                  Shimming also works.

                  For those that are absolutely poor in their coding another option would be to post it as a RemoteApp in Remote Desktop Services with the appropriate routing in place to only allow the app to select client machines. No Internet access without specific rule sets in place for the vendor's update/activation servers if required.

                  EDIT: RemoteApp in 2008 RTM or R2.

                  1 Reply Last reply Reply Quote 0
                  • F
                    flaxking @PhlipElder
                    last edited by

                    @PhlipElder said in Use PowerShell to Disable UAC on Windows 10:

                    @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

                    @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

                    What special case needs UAC completely off?

                    Company purchases an application that requires it.

                    For those kinds of apps we use ProcessExplorer and ProcessMonitor to find where it needs MOD access and tweak accordingly.

                    Shimming also works.

                    The most common culprit is it writing to its Program Files folder

                    PhlipElderP 1 Reply Last reply Reply Quote 0
                    • PhlipElderP
                      PhlipElder @flaxking
                      last edited by

                      @flaxking said in Use PowerShell to Disable UAC on Windows 10:

                      @PhlipElder said in Use PowerShell to Disable UAC on Windows 10:

                      @scottalanmiller said in Use PowerShell to Disable UAC on Windows 10:

                      @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

                      What special case needs UAC completely off?

                      Company purchases an application that requires it.

                      For those kinds of apps we use ProcessExplorer and ProcessMonitor to find where it needs MOD access and tweak accordingly.

                      Shimming also works.

                      The most common culprit is it writing to its Program Files folder

                      Yup.

                      There are a number of impolite words for that kind of coding that's so QuickBooks 2009. 😛

                      1 Reply Last reply Reply Quote 1
                      • NicN
                        Nic @EddieJennings
                        last edited by

                        @EddieJennings said in Use PowerShell to Disable UAC on Windows 10:

                        @Obsolesce said in Use PowerShell to Disable UAC on Windows 10:

                        What special case needs UAC completely off?

                        I'm curious about this as well.

                        Installing malware 🙂

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post