Browse Source

Edited Comss DNS records

master
Dmitry Nefedov 3 weeks ago
parent
commit
d94a2f6f86
  1. 4
      Wrapper/Localizations/de-DE/tooltip_Windows_11.json
  2. 4
      Wrapper/Localizations/en-US/tooltip_Windows_11.json
  3. 4
      Wrapper/Localizations/ru-RU/tooltip_Windows_11.json
  4. 4
      src/Sophia_Script_for_Windows_10/Functions.ps1
  5. 4
      src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1
  6. 18
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  7. 4
      src/Sophia_Script_for_Windows_10/Sophia.ps1
  8. 4
      src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1
  9. 4
      src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1
  10. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  11. 4
      src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1
  12. 4
      src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1
  13. 4
      src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1
  14. 18
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  15. 4
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  16. 4
      src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1
  17. 4
      src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1
  18. 18
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  19. 4
      src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1
  20. 4
      src/Sophia_Script_for_Windows_11/Functions.ps1
  21. 4
      src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1
  22. 18
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  23. 12
      src/Sophia_Script_for_Windows_11/Sophia.ps1
  24. 4
      src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1
  25. 4
      src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1
  26. 18
      src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1
  27. 12
      src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1
  28. 4
      src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1
  29. 4
      src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1
  30. 18
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
  31. 12
      src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

4
Wrapper/Localizations/de-DE/tooltip_Windows_11.json

@ -778,11 +778,11 @@
"Arg": { "Arg": {
"Zero": { "Zero": {
"Tag": "Hide", "Tag": "Hide",
"ToolTip": "Entfernen Sie den Abschnitt Empfohlen im Startmenü. Gilt nur für die Editionen Enterprise und Education, aber nicht für IoT Enterprise." "ToolTip": "Entfernen Sie den Abschnitt Empfohlen im Startmenü. Gilt nicht für die Home-Edition."
}, },
"One": { "One": {
"Tag": "Show", "Tag": "Show",
"ToolTip": "Abschnitt Empfohlen im Startmenü anzeigen (Standardwert). Gilt nur für die Editionen Enterprise und Education, aber nicht für IoT Enterprise." "ToolTip": "Abschnitt Empfohlen im Startmenü anzeigen (Standardwert). Gilt nicht für die Home-Edition."
} }
} }
}, },

4
Wrapper/Localizations/en-US/tooltip_Windows_11.json

@ -778,11 +778,11 @@
"Arg": { "Arg": {
"Zero": { "Zero": {
"Tag": "Hide", "Tag": "Hide",
"ToolTip": "Remove Recommended section in Start Menu. Applicable only to Enterprise and Education editions, but not to IoT Enterprise." "ToolTip": "Remove Recommended section in Start Menu. Not applicable to Home edition."
}, },
"One": { "One": {
"Tag": "Show", "Tag": "Show",
"ToolTip": "Show Recommended section in Start Menu (default value). Applicable only to Enterprise and Education editions, but not to IoT Enterprise." "ToolTip": "Show Recommended section in Start Menu (default value). Not applicable to Home edition."
} }
} }
}, },

4
Wrapper/Localizations/ru-RU/tooltip_Windows_11.json

@ -778,11 +778,11 @@
"Arg": { "Arg": {
"Zero": { "Zero": {
"Tag": "Hide", "Tag": "Hide",
"ToolTip": "Удалить раздел \"Рекомендуем\" в меню \"Пуск\". Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise." "ToolTip": "Удалить раздел \"Рекомендуем\" в меню \"Пуск\". Неприменимо к редакции Home."
}, },
"One": { "One": {
"Tag": "Show", "Tag": "Show",
"ToolTip": "Показывать раздел \"Рекомендуем\" в меню \"Пуск\". Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise." "ToolTip": "Показывать раздел \"Рекомендуем\" в меню \"Пуск\". Неприменимо к редакции Home."
} }
} }
}, },

4
src/Sophia_Script_for_Windows_10/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.20.2 Version: 5.20.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.20.2' ModuleVersion = '5.20.2'
GUID = '109cc881-c42b-45af-a74a-550781989d6a' GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1' PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

18
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/
@ -14088,11 +14092,11 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315 # https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{ {
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
else else
{ {
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
foreach ($InterfaceGuid in $InterfaceGuids) foreach ($InterfaceGuid in $InterfaceGuids)
@ -14101,14 +14105,14 @@ function DNSoverHTTPS
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force
} }
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93"))
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Force
} }
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
} }
} }
"Disable" "Disable"

4
src/Sophia_Script_for_Windows_10/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -77,7 +77,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(

4
src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.10.2 Version: 5.10.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.10.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.10.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.10.2' ModuleVersion = '5.10.2'
GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01' GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1' PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/

4
src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -75,7 +75,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.10.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.10.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(

4
src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.20.2 Version: 5.20.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.20.2' ModuleVersion = '5.20.2'
GUID = '109cc881-c42b-45af-a74a-550781989d6a' GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1' PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

18
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/
@ -11981,11 +11985,11 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315 # https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{ {
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
else else
{ {
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
foreach ($InterfaceGuid in $InterfaceGuids) foreach ($InterfaceGuid in $InterfaceGuids)
@ -11994,14 +11998,14 @@ function DNSoverHTTPS
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force
} }
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93"))
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Force
} }
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
} }
} }
"Disable" "Disable"

4
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -75,7 +75,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.20.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(

4
src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.20.2 Version: 5.20.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.20.2' ModuleVersion = '5.20.2'
GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a' GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '7.4' PowerShellVersion = '7.4'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

18
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/
@ -14118,11 +14122,11 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315 # https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{ {
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
else else
{ {
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
foreach ($InterfaceGuid in $InterfaceGuids) foreach ($InterfaceGuid in $InterfaceGuids)
@ -14131,14 +14135,14 @@ function DNSoverHTTPS
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force
} }
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93"))
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Force
} }
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
} }
} }
"Disable" "Disable"

4
src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -77,7 +77,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.20.2 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(

4
src/Sophia_Script_for_Windows_11/Functions.ps1

@ -5,7 +5,7 @@
Version: 6.8.2 Version: 6.8.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '6.8.2' ModuleVersion = '6.8.2'
GUID = '109cc881-c42b-45af-a74a-550781989d6a' GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1' PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

18
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/
@ -13136,11 +13140,11 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315 # https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{ {
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
else else
{ {
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
foreach ($InterfaceGuid in $InterfaceGuids) foreach ($InterfaceGuid in $InterfaceGuids)
@ -13149,14 +13153,14 @@ function DNSoverHTTPS
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force
} }
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93"))
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Force
} }
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
} }
} }
"Disable" "Disable"

12
src/Sophia_Script_for_Windows_11/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -73,7 +73,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(
@ -609,12 +609,12 @@ NavigationPaneExpand -Disable
# Развернуть до открытой папки область навигации # Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable # NavigationPaneExpand -Enable
# Remove Recommended section in Start Menu. Applicable only to Enterprise and Education editions, but not to IoT Enterprise # Remove Recommended section in Start Menu. Not applicable to Home edition
# Удалить раздел "Рекомендуем" в меню "Пуск". Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise # Удалить раздел "Рекомендуем" в меню "Пуск". Неприменимо к редакции Home
StartRecommendedSection -Hide StartRecommendedSection -Hide
# Show Recommended section in Start Menu (default value). Applicable only to Enterprise and Education editions, but not to IoT Enterprise # Show Recommended section in Start Menu (default value). Not applicable to Home edition
# Показывать раздел "Рекомендуем" в меню "Пуск" (значение по умолчанию). Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise # Показывать раздел "Рекомендуем" в меню "Пуск" (значение по умолчанию). Неприменимо к редакции Home
# StartRecommendedSection -Show # StartRecommendedSection -Show
#endregion UI & Personalization #endregion UI & Personalization

4
src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1

@ -5,7 +5,7 @@
Version: 6.8.2 Version: 6.8.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '6.8.2' ModuleVersion = '6.8.2'
GUID = '109cc881-c42b-45af-a74a-550781989d6a' GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '5.1' PowerShellVersion = '5.1'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

18
src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/
@ -12396,11 +12400,11 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315 # https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{ {
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
else else
{ {
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
foreach ($InterfaceGuid in $InterfaceGuids) foreach ($InterfaceGuid in $InterfaceGuids)
@ -12409,14 +12413,14 @@ function DNSoverHTTPS
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force
} }
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93"))
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Force
} }
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
} }
} }
"Disable" "Disable"

12
src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -74,7 +74,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 LTSC 2024 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 LTSC 2024 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(
@ -598,12 +598,12 @@ NavigationPaneExpand -Disable
# Развернуть до открытой папки область навигации # Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable # NavigationPaneExpand -Enable
# Remove Recommended section in Start Menu. Applicable only to Enterprise and Education editions, but not to IoT Enterprise # Remove Recommended section in Start Menu
# Удалить раздел "Рекомендуем" в меню "Пуск". Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise # Удалить раздел "Рекомендуем" в меню "Пуск"
StartRecommendedSection -Hide StartRecommendedSection -Hide
# Show Recommended section in Start Menu (default value). Applicable only to Enterprise and Education editions, but not to IoT Enterprise # Show Recommended section in Start Menu (default value)
# Показывать раздел "Рекомендуем" в меню "Пуск" (значение по умолчанию). Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise # Показывать раздел "Рекомендуем" в меню "Пуск" (значение по умолчанию)
# StartRecommendedSection -Show # StartRecommendedSection -Show
#endregion UI & Personalization #endregion UI & Personalization

4
src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1

@ -5,7 +5,7 @@
Version: 6.8.2 Version: 6.8.2
Date: 26.01.2025 Date: 26.01.2025
Copyright (c) 20142025 farag, Inestic & lowl1f3 Copyright (c) 20142025 Team Sophia
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

4
src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1

@ -2,8 +2,8 @@
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '6.8.2' ModuleVersion = '6.8.2'
GUID = '109cc881-c42b-45af-a74a-550781989d6a' GUID = '109cc881-c42b-45af-a74a-550781989d6a'
Author = 'Dmitry "farag" Nefedov' Author = 'Team Sophia'
Copyright = '(c) 2014—2025 farag, Inestic & lowl1f3. All rights reserved' Copyright = '(c) 2014—2025 Team Sophia. All rights reserved'
Description = 'Module for Windows fine-tuning and automating the routine tasks' Description = 'Module for Windows fine-tuning and automating the routine tasks'
PowerShellVersion = '7.4' PowerShellVersion = '7.4'
ProcessorArchitecture = 'AMD64' ProcessorArchitecture = 'AMD64'

18
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.AUTHOR .AUTHOR
farag, Inestic & lowl1f3 Team Sophia
.COPYRIGHT .COPYRIGHT
(c) 20142025 (c) 20142025
@ -30,6 +30,10 @@
.LINK .LINK
https://discord.gg/sSryhaEv79 https://discord.gg/sSryhaEv79
.DONATE
https://ko-fi.com/Q5Q51QUJC
https://boosty.to/teamsophia
.NOTES .NOTES
https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15
https://habr.com/companies/skillfactory/articles/553800/ https://habr.com/companies/skillfactory/articles/553800/
@ -13166,11 +13170,11 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315 # https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent) if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{ {
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
else else
{ {
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16 Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 212.109.195.93
} }
foreach ($InterfaceGuid in $InterfaceGuids) foreach ($InterfaceGuid in $InterfaceGuids)
@ -13179,14 +13183,14 @@ function DNSoverHTTPS
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Force
} }
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16")) if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93"))
{ {
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Force New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Force
} }
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\83.220.169.155" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohFlags -PropertyType QWord -Value 2 -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\212.109.195.93" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
} }
} }
"Disable" "Disable"

12
src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

@ -9,7 +9,7 @@
26.01.2025 26.01.2025
.COPYRIGHT .COPYRIGHT
(c) 20142025 farag, Inestic & lowl1f3 (c) 20142025 Team Sophia
.THANKS .THANKS
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
@ -76,7 +76,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) farag, Inestic & lowl1f3, 2014$([System.Char]0x2013)2025" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.8.2 (PowerShell 7) | Made with $([System.Char]::ConvertFromUtf32(0x1F497)) of Windows | $([System.Char]0x00A9) Team Sophia, 2014$([System.Char]0x2013)2025"
# Checking whether all files were expanded before running # Checking whether all files were expanded before running
$ScriptFiles = @( $ScriptFiles = @(
@ -616,12 +616,12 @@ NavigationPaneExpand -Disable
# Развернуть до открытой папки область навигации # Развернуть до открытой папки область навигации
# NavigationPaneExpand -Enable # NavigationPaneExpand -Enable
# Remove Recommended section in Start Menu. Applicable only to Enterprise and Education editions, but not to IoT Enterprise # Remove Recommended section in Start Menu. Not applicable to Home edition
# Удалить раздел "Рекомендуем" в меню "Пуск". Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise # Удалить раздел "Рекомендуем" в меню "Пуск". Неприменимо к редакции Home
StartRecommendedSection -Hide StartRecommendedSection -Hide
# Show Recommended section in Start Menu (default value). Applicable only to Enterprise and Education editions, but not to IoT Enterprise # Show Recommended section in Start Menu (default value). Not applicable to Home edition
# Показывать раздел "Рекомендуем" в меню "Пуск" (значение по умолчанию). Применимо только к редакциям Enterprise и Education, но не к IoT Enterprise # Показывать раздел "Рекомендуем" в меню "Пуск" (значение по умолчанию). Неприменимо к редакции Home
# StartRecommendedSection -Show # StartRecommendedSection -Show
#endregion UI & Personalization #endregion UI & Personalization

Loading…
Cancel
Save