Browse Source

Minor changes

master
Dmitry Nefedov 5 months ago
parent
commit
c7c3efea91
  1. 5
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  2. 5
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

5
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -11584,11 +11584,6 @@ function TeamsAutostart
if (Get-AppxPackage -Name MSTeams)
{
if (-not (Test-Path -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\TeamsTfwStartupTask"))
{
New-Item -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\TeamsTfwStartupTask" -Force
}
switch ($PSCmdlet.ParameterSetName)
{
"Disable"

5
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -11610,11 +11610,6 @@ function TeamsAutostart
if (Get-AppxPackage -Name MSTeams)
{
if (-not (Test-Path -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\TeamsTfwStartupTask"))
{
New-Item -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\TeamsTfwStartupTask" -Force
}
switch ($PSCmdlet.ParameterSetName)
{
"Disable"

Loading…
Cancel
Save