Use PowerShell to Disable UAC on Windows 10
-
What special case needs UAC completely off?
-
@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.
-
@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.
-
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.
-
@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?
-
@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.)
-
@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.
-
@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.
-
@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.
-
Yeah, I've run into this once or twice before as well. Definitely a PITA.
-
@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.
-
@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.
-
@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
-
@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.
-
@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