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.3k
    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
      last edited by

      Needed this today and it is hard to find as older PS examples don't work. On current Windows 10, this PS command seems to do the trick to completely turn off UAC.

      Set-Itemproperty -path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\policies\system' -Name 'EnableLUA' -value 0
      
      1 Reply Last reply Reply Quote 3
      • ObsolesceO
        Obsolesce
        last edited by

        What special case needs UAC completely off?

        EddieJenningsE scottalanmillerS 2 Replies Last reply Reply Quote 1
        • EddieJenningsE
          EddieJennings @Obsolesce
          last edited by

          @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.

          NicN 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Obsolesce
            last edited by

            @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.

            ObsolesceO J PhlipElderP 3 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              And in this particular case that we ran into, something is wrong with the OS and not even the admin user can turn it down.

              Yes, we are doing a clean install later next week, but were trying to get them through the weekend.

              1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @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.

                As in doesn't support UAC?

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • 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