Browse Source

Update Win 10.ps1

pull/3/head
farag2 6 years ago
committed by GitHub
parent
commit
e29f9d5939
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Win 10.ps1

4
Win 10.ps1

@ -1,4 +1,4 @@
# Службы диагностического отслеживания # Службы диагностического отслеживания
$services = @( $services = @(
"CDPSvc", "CDPSvc",
"DiagTrack", "DiagTrack",
@ -284,7 +284,7 @@ cmd.exe /c assoc jpegfile\DefaultIcon=%SystemRoot%\System32\imageres.dll,-72
cmd.exe /c assoc pngfile\DefaultIcon=%SystemRoot%\System32\imageres.dll,-71 cmd.exe /c assoc pngfile\DefaultIcon=%SystemRoot%\System32\imageres.dll,-71
cmd.exe /c assoc TIFImage.Document\DefaultIcon=%SystemRoot%\System32\imageres.dll,-122 cmd.exe /c assoc TIFImage.Document\DefaultIcon=%SystemRoot%\System32\imageres.dll,-122
# Удалить OneDrive # Удалить OneDrive
Stop-Process -Name OneDrive -ErrorAction SilentlyContinue Stop-Process -Name OneDrive -Force -ErrorAction SilentlyContinue
Start-Sleep -s 3 Start-Sleep -s 3
Start-Process "$env:SystemRoot\SysWOW64\OneDriveSetup.exe" /uninstall -NoNewWindow -Wait Start-Process "$env:SystemRoot\SysWOW64\OneDriveSetup.exe" /uninstall -NoNewWindow -Wait
Start-Sleep -s 3 Start-Sleep -s 3

Loading…
Cancel
Save