Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
windows10 [2019/08/09 10:14]
admin
windows10 [2019/08/09 10:48] (current)
admin
Line 1: Line 1:
 ====== Windows 10 ====== ====== Windows 10 ======
-Notes and junk for windows 10.+Notes and junk for windows 10. And windows server.
 ===== Remove Apps With Powershell ===== ===== Remove Apps With Powershell =====
 <​code>​ <​code>​
Line 18: Line 18:
 New-ItemProperty -Path HKLM:​Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKLM:​Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force
 </​code>​ </​code>​
 +===== Disable IE ESC and UAC ===== 
 +<​code>​ 
 +function Disable-InternetExplorerESC { 
 +    $AdminKey = "​HKLM:​\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"​ 
 +    $UserKey = "​HKLM:​\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"​ 
 +    Set-ItemProperty -Path $AdminKey -Name "​IsInstalled"​ -Value 0 
 +    Set-ItemProperty -Path $UserKey -Name "​IsInstalled"​ -Value 0 
 +    Stop-Process -Name Explorer 
 +    Write-Host "IE Enhanced Security Configuration (ESC) has been disabled."​ -ForegroundColor Green 
 +
 +function Enable-InternetExplorerESC { 
 +    $AdminKey = "​HKLM:​\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"​ 
 +    $UserKey = "​HKLM:​\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"​ 
 +    Set-ItemProperty -Path $AdminKey -Name "​IsInstalled"​ -Value 1 
 +    Set-ItemProperty -Path $UserKey -Name "​IsInstalled"​ -Value 1 
 +    Stop-Process -Name Explorer 
 +    Write-Host "IE Enhanced Security Configuration (ESC) has been enabled."​ -ForegroundColor Green 
 +
 +function Disable-UserAccessControl { 
 +    Set-ItemProperty "​HKLM:​\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"​ -Name "​ConsentPromptBehaviorAdmin"​ -Value 00000000 
 +    Write-Host "User Access Control (UAC) has been disabled."​ -ForegroundColor Green     
 +
 +</​code>​
windows10.txt · Last modified: 2019/08/09 10:48 by admin
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0