Replies: 3 comments 4 replies
-
Что, реально от TI надо создать ключ? :) |
Beta Was this translation helpful? Give feedback.
2 replies
-
В чем проблема просто скрыть значок, наплевав на то, что он триггерит скачивание? Нет значка — нет проблемы. Просто там только получение прав 250 строк C#-кода. |
Beta Was this translation helpful? Give feedback.
2 replies
-
$Task = @"
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications -Name ConfigureChatAutoInstall -Value 0 -Type Dword -Force
"@
$Parameters = @{
TaskName = "RunAsTI"
Action = New-ScheduledTaskAction -Execute powershell.exe -Argument "-WindowStyle Hidden -Command $Task"
}
Register-ScheduledTask @Parameters -Force
$ScheduleService = New-Object -ComObject Schedule.Service
$ScheduleService.Connect()
$ScheduleService.GetFolder("\").GetTask("RunAsTI").RunEx($null, 0, 0, "NT SERVICE\TrustedInstaller') Проще, чем это, не найти. Полотна на 700 строк я не сомг осилить. Элегантно, однако. Ты убедила: я добавлю эту балалайку в 6.5.1 :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prerequisites
Steps to reproduce
It would be nice if sophiscript had option to prevent teams installation https://woshub.com/remove-teams-chat-windows/ https://www.outsidethebox.ms/21375/
The problem is "ConfigureChatAutoInstall" registry key needs to be added with TrustedInstaller rights.
Windows Version
Windows 11 Pro
Sophia Script version
6.5.0
Beta Was this translation helpful? Give feedback.
All reactions