Browse Source

Changed Comms DNS records to the actual ones

master
Dmitry Nefedov 3 days ago
parent
commit
052396a11b
  1. 2
      src/Sophia_Script_for_Windows_10/Functions.ps1
  2. 2
      src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1
  3. 43
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  4. 4
      src/Sophia_Script_for_Windows_10/Sophia.ps1
  5. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1
  6. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1
  7. 25
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  8. 4
      src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1
  9. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1
  10. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1
  11. 41
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  12. 4
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  13. 2
      src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1
  14. 2
      src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1
  15. 43
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  16. 4
      src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1
  17. 2
      src/Sophia_Script_for_Windows_11/Functions.ps1
  18. 2
      src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1
  19. 42
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  20. 4
      src/Sophia_Script_for_Windows_11/Sophia.ps1
  21. 4
      src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1
  22. 2
      src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1
  23. 40
      src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1
  24. 4
      src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1
  25. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1
  26. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1
  27. 42
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
  28. 4
      src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

2
src/Sophia_Script_for_Windows_10/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.19.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1

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

43
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -2,27 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 5.19.3
Date: 28.11.2024
.VERSION
5.19.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 10 versions
Version: 22H2
Editions: Home/Pro/Enterprise
Architecture: x64
Supports Windows 10 22H2 x64 Home/Pro/Enterprise
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -31,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3
@ -14076,27 +14081,27 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16
}
else
{
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
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
}
foreach ($InterfaceGuid in $InterfaceGuids)
{
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\83.220.169.155"))
{
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\83.220.169.155" -Force
}
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99"))
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16"))
{
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -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\195.133.25.16" -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\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
}
}
"Disable"

4
src/Sophia_Script_for_Windows_10/Sophia.ps1

@ -5,7 +5,7 @@
Version: 5.19.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.9.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1

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

25
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -2,25 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 5.9.3
Date: 28.11.2024
.VERSION
5.9.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 10 Enterprise LTSC 2019
Architecture: x64
Supported Windows 10 x64 Enterprise LTSC 2019
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -29,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

4
src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1

@ -5,7 +5,7 @@
Version: 5.9.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -48,7 +48,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.19.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1

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

41
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -2,25 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 5.19.3
Date: 28.11.2024
.VERSION
5.9.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 10 Enterprise LTSC 2021
Architecture: x64
Supports Windows 10 x64 Enterprise LTSC 2021
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -29,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3
@ -11951,27 +11958,27 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16
}
else
{
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
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
}
foreach ($InterfaceGuid in $InterfaceGuids)
{
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\83.220.169.155"))
{
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\83.220.169.155" -Force
}
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99"))
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16"))
{
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -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\195.133.25.16" -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\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
}
}
"Disable"

4
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -5,7 +5,7 @@
Version: 5.19.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -48,7 +48,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

2
src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1

@ -5,7 +5,7 @@
Version: 5.19.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1

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

43
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -2,27 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 5.19.3
Date: 28.11.2024
.VERSION
5.19.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 10 versions
Version: 22H2
Editions: Home/Pro/Enterprise
Architecture: x64
Supports Windows 10 22H2 x64 Home/Pro/Enterprise
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -31,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3
@ -14096,27 +14101,27 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16
}
else
{
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
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
}
foreach ($InterfaceGuid in $InterfaceGuids)
{
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\83.220.169.155"))
{
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\83.220.169.155" -Force
}
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99"))
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16"))
{
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -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\195.133.25.16" -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\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
}
}
"Disable"

4
src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1

@ -5,7 +5,7 @@
Version: 5.19.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -50,7 +50,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

2
src/Sophia_Script_for_Windows_11/Functions.ps1

@ -5,7 +5,7 @@
Version: 6.7.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1

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

42
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -2,26 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 6.7.3
Date: 28.11.2024
.VERSION
6.7.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 11 versions
Version: 23H2+
Editions: Home/Pro/Enterprise
Supports Windows 11 23H2+ Home/Pro/Enterprise
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -30,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3
@ -13103,27 +13109,27 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16
}
else
{
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
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
}
foreach ($InterfaceGuid in $InterfaceGuids)
{
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\83.220.169.155"))
{
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\83.220.169.155" -Force
}
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99"))
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16"))
{
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -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\195.133.25.16" -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\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
}
}
"Disable"

4
src/Sophia_Script_for_Windows_11/Sophia.ps1

@ -5,7 +5,7 @@
Version: 6.7.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

4
src/Sophia_Script_for_Windows_11_LTSC_2024/Functions.ps1

@ -3,9 +3,9 @@
The TAB completion for functions and their arguments
Version: 6.7.3
Date: 04.10.2024
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_11_LTSC_2024/Manifest/Sophia.psd1

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

40
src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1

@ -2,24 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 6.7.3
Date: 28.11.2024
.VERSION
6.7.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 11 Enterprise LTSC 2024
Supports Windows 11 Enterprise LTSC 2024
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -28,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3
@ -12383,27 +12391,27 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16
}
else
{
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
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
}
foreach ($InterfaceGuid in $InterfaceGuids)
{
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\83.220.169.155"))
{
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\83.220.169.155" -Force
}
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99"))
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16"))
{
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -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\195.133.25.16" -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\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
}
}
"Disable"

4
src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1

@ -5,7 +5,7 @@
Version: 6.7.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -47,7 +47,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1

@ -5,7 +5,7 @@
Version: 6.7.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1

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

42
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -2,26 +2,32 @@
.SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: 6.7.3
Date: 28.11.2024
.VERSION
6.7.3
Copyright (c) 20142024 farag, Inestic & lowl1f3
.DATE
28.11.2024
.AUTHOR
farag, Inestic & lowl1f3
.COPYRIGHT
(c) 20142025
.THANKS
Thanks to all https://forum.ru-board.com members involved
.NOTES
Supported Windows 11 versions
Version: 23H2+
Editions: Home/Pro/Enterprise
Supports Windows 11 23H2+ Home/Pro/Enterprise
.LINK GitHub
.LINK
https://github.com/farag2/Sophia-Script-for-Windows
.LINK Telegram
.LINK
https://t.me/sophianews
https://t.me/sophia_chat
.LINK Discord
.LINK
https://discord.gg/sSryhaEv79
.NOTES
@ -30,7 +36,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3
@ -13120,27 +13126,27 @@ function DNSoverHTTPS
# https://www.comss.ru/page.php?id=7315
if (-not (Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent)
{
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
Get-NetAdapter -Physical | Get-NetIPInterface -AddressFamily IPv4 | Set-DnsClientServerAddress -ServerAddresses 83.220.169.155, 195.133.25.16
}
else
{
Get-NetRoute | Where-Object -FilterScript {$_.DestinationPrefix -eq "0.0.0.0/0"} | Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 195.133.25.16, 195.133.25.99
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
}
foreach ($InterfaceGuid in $InterfaceGuids)
{
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\83.220.169.155"))
{
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\83.220.169.155" -Force
}
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99"))
if (-not (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16"))
{
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Force
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.16" -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\195.133.25.16" -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\195.133.25.99" -Name DohFlags -PropertyType QWord -Value 2 -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\InterfaceSpecificParameters\$InterfaceGuid\DohInterfaceSettings\Doh\195.133.25.99" -Name DohTemplate -PropertyType String -Value https://dns.comss.one/dns-query -Force
}
}
"Disable"

4
src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

@ -5,7 +5,7 @@
Version: 6.7.3
Date: 28.11.2024
Copyright (c) 20142024 farag, Inestic & lowl1f3
Copyright (c) 20142025 farag, Inestic & lowl1f3
Thanks to all https://forum.ru-board.com members involved
@ -49,7 +49,7 @@
https://forums.mydigitallife.net/threads/powershell-sophia-script-for-windows-10-windows-11-5-17-8-6-5-8-x64-2023.81675/
https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/
.LINK Authors
.LINK
https://github.com/farag2
https://github.com/Inestic
https://github.com/lowl1f3

Loading…
Cancel
Save