Browse Source
05.08.2019
Removed "Clipboard User Service" from per-user services list
Удалена "Пользовательская служба буфера обмена" из списка отключения пользовательских служб
pull/3/head
farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
Win 10.ps1
@ -1098,9 +1098,6 @@ Remove-Item -Path "$value\Microsoft Edge.lnk" -Force -ErrorAction SilentlyContin
# Turn off per-user services
# Отключить пользовательские службы
$services = @ (
# Clipboard User Service
# Пользовательская служба буфера обмена
" cbdhsvc_* " ,
# Contact Data
# Служба контактных данных
" PimIndexMaintenanceSvc_* " ,
@ -1114,8 +1111,6 @@ foreach ($service in $services)
{
Get-Service -ServiceName $service | Stop-Service -Force
}
New-ItemProperty -Path HKLM : \ System \ CurrentControlSet \ Services \ cbdhsvc -Name Start -Value 4 -Force
New-ItemProperty -Path HKLM : \ System \ CurrentControlSet \ Services \ cbdhsvc -Name UserServiceFlags -Value 0 -Force
New-ItemProperty -Path HKLM : \ System \ CurrentControlSet \ Services \ PimIndexMaintenanceSvc -Name Start -Value 4 -Force
New-ItemProperty -Path HKLM : \ System \ CurrentControlSet \ Services \ PimIndexMaintenanceSvc -Name UserServiceFlags -Value 0 -Force
New-ItemProperty -Path HKLM : \ System \ CurrentControlSet \ Services \ UnistoreSvc -Name Start -Value 4 -Force