五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

禁用edge瀏覽器更新

2022-12-25 18:30 作者:極客無極  | 我要投稿

除了卸載edge的升級(jí)組件之外,通過篡改注冊(cè)表等方法依舊無法徹底解決,在此提出解決方法。

方法一:打開 Windows PowerShell 直接復(fù)制以下腳本運(yùn)行:

if ([Environment]::Is64BitOperatingSystem -eq "True") { ? ?#Write-Host "64-bit OS" ? ?$PF=${env:ProgramFiles(x86)}}else { ? ?#Write-Host "32-bit OS" ? ?$PF=$env:ProgramFiles}if ($(Test-Path "$PF\Microsoft\Edge\Application\msedge.exe") -eq "True") { ? ?# 結(jié)束進(jìn)程 ? ?taskkill /im MicrosoftEdgeUpdate.exe /f ? ?taskkill /im msedge.exe /f ? ?# Microsoft Edge 更新服務(wù) (sysin) ? ?#這里也可以使用 sc.exe stop "service name" ? ?Stop-Service -Name "edgeupdate" ? ?Stop-Service -Name "edgeupdatem" ? ?Stop-Service -Name "MicrosoftEdgeElevationService" ? ?# Windows 10 默認(rèn) PS 版本 5.1 沒有 Remove-Service 命令 ? ?# This cmdlet was added in PS v6. See https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-core-60?view=powershell-6#cmdlet-updates. ? ?#Remove-Service -Name "edgeupdate" ? ?#Remove-Service -Name "edgeupdatem" ? ?#Remove-Service -Name "MicrosoftEdgeElevationService" ? ?# sc 在 PowerShell 中是 Set-Content 別名,所以要使用 sc.exe 否則執(zhí)行后無任何效果 ? ?sc.exe delete "edgeupdate" ? ?sc.exe delete "edgeupdatem" ? ?sc.exe delete "MicrosoftEdgeElevationService" ? ?# 任務(wù)計(jì)劃企業(yè)版 ? ?#schtasks.exe /Delete /TN \MicrosoftEdgeUpdateBrowserReplacementTask /F ? ?#schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskMachineCore /F ? ?#schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskMachineUA /F ? ?Get-ScheduledTask -taskname MicrosoftEdgeUpdate* | Unregister-ScheduledTask -Confirm: $false ? ?# 移除更新程序 ? ?Remove-Item "$PF\Microsoft\EdgeUpdate" -Recurse -Force ? ?Write-Output "Disable Microsoft Edge Enterprise Auto Update Successful!"}elseif ($(Test-Path "$env:USERPROFILE\AppData\Local\Microsoft\Edge\Application\msedge.exe") -eq "True") { ? ?# 結(jié)束進(jìn)程 ? ?taskkill /im MicrosoftEdgeUpdate.exe /f ? ?taskkill /im msedge.exe /f ? ?# 用戶版沒有創(chuàng)建服務(wù) ? ?# 獲取SID方法 ? ?function Get-CurrentUserSID { ? ? ? ?[CmdletBinding()] ? ? ? ?param( ? ? ? ?) ? ? ? ?Add-Type -AssemblyName System.DirectoryServices.AccountManagement ? ? ? ?return ([System.DirectoryServices.AccountManagement.UserPrincipal]::Current).SID.Value ? ?} ? ?# 用戶版任務(wù)計(jì)劃 ? ?schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskUser$(Get-CurrentUserSID)Core /F ? ?schtasks.exe /Delete /TN \MicrosoftEdgeUpdateTaskUser$(Get-CurrentUserSID)UA /F ? ?#Get-ScheduledTask -taskname MicrosoftEdgeUpdate* | Unregister-ScheduledTask -Confirm: $false ? ?# 移除更新程序 ? ?Remove-Item "$env:USERPROFILE\AppData\Local\Microsoft\EdgeUpdate" -Recurse -Force ? ?Write-Output "Disable Microsoft Edge Users Setup Auto Update Successful!"}else { ? ?Write-Output "No Microsoft Edge Installation Detected!"}


方法二:使用綠色版本的edge


方法三:使用組策略配置禁用 Edge 更新

恢復(fù)更新方法,若要恢復(fù)自動(dòng)更新,重新安裝官方原版即可。

禁用edge瀏覽器更新的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
友谊县| 柞水县| 宕昌县| 桐庐县| 关岭| 遵义县| 天气| 达尔| 新丰县| 威海市| 吉林省| 禄劝| 金川县| 龙门县| 瓦房店市| 上蔡县| 安庆市| 丰宁| 博兴县| 东乌| 天气| 大宁县| 西畴县| 兴化市| 井研县| 河东区| 兖州市| 九龙城区| 洛宁县| 扶风县| 达拉特旗| 谷城县| 呈贡县| 涿鹿县| 福清市| 巴塘县| 莎车县| 逊克县| 固阳县| 珲春市| 滁州市|