Browse Source

Removed AntizapretProxy function

main
Dmitry Nefedov 3 weeks ago
parent
commit
6d098abc01
  1. 16
      Wrapper/Config/config_Windows_10.json
  2. 18
      Wrapper/Config/config_Windows_10_LTSC.json
  3. 16
      Wrapper/Config/config_Windows_11.json
  4. 16
      Wrapper/Config/config_Windows_11_ARM.json
  5. 17
      Wrapper/Config/config_Windows_11_LTSC.json
  6. 14
      Wrapper/Localizations/de-DE/tooltip_Windows_10.json
  7. 14
      Wrapper/Localizations/de-DE/tooltip_Windows_11.json
  8. 14
      Wrapper/Localizations/de-DE/tooltip_Windows_11_ARM.json
  9. 14
      Wrapper/Localizations/en-US/tooltip_Windows_10.json
  10. 14
      Wrapper/Localizations/en-US/tooltip_Windows_11.json
  11. 14
      Wrapper/Localizations/en-US/tooltip_Windows_11_ARM.json
  12. 14
      Wrapper/Localizations/ru-RU/tooltip_Windows_10.json
  13. 14
      Wrapper/Localizations/ru-RU/tooltip_Windows_11.json
  14. 14
      Wrapper/Localizations/ru-RU/tooltip_Windows_11_ARM.json
  15. 86
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  16. 10
      src/Sophia_Script_for_Windows_10/Sophia.ps1
  17. 86
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  18. 10
      src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1
  19. 86
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  20. 10
      src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1
  21. 86
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  22. 10
      src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1
  23. 87
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  24. 10
      src/Sophia_Script_for_Windows_11/Sophia.ps1
  25. 86
      src/Sophia_Script_for_Windows_11_ARM/Module/Sophia.psm1
  26. 10
      src/Sophia_Script_for_Windows_11_ARM/Sophia.ps1
  27. 86
      src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Module/Sophia.psm1
  28. 10
      src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Sophia.ps1
  29. 86
      src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1
  30. 10
      src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1
  31. 86
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
  32. 10
      src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

16
Wrapper/Config/config_Windows_10.json

@ -1713,22 +1713,6 @@
"Preset": "",
"WindowsDefault": ""
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmbchk",

18
Wrapper/Config/config_Windows_10_LTSC.json

@ -1751,24 +1751,6 @@
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmbchk",

16
Wrapper/Config/config_Windows_11.json

@ -1581,22 +1581,6 @@
"Preset": "",
"WindowsDefault": ""
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmbchk",

16
Wrapper/Config/config_Windows_11_ARM.json

@ -1565,22 +1565,6 @@
"Preset": "",
"WindowsDefault": ""
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmbchk",

17
Wrapper/Config/config_Windows_11_LTSC.json

@ -1607,23 +1607,6 @@
"WindowsDefault": "",
"LTSC2024": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2024": "true"
},
{
"Region": "System",
"Control": "cmbchk",

14
Wrapper/Localizations/de-DE/tooltip_Windows_10.json

@ -1418,20 +1418,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Aktivieren Sie das Proxying nur für gesperrte Websites aus der einheitlichen Registrierung von Roskomnadzor. Die Funktion ist nur für Russland anwendbar."
},
"One": {
"Tag": "Disable",
"ToolTip": "Deaktivieren Sie das Proxying nur für gesperrte Websites aus dem einheitlichen Register von Roskomnadzor (Standardwert)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

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

@ -1377,20 +1377,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Aktivieren Sie das Proxying nur für gesperrte Websites aus der einheitlichen Registrierung von Roskomnadzor. Die Funktion ist nur für Russland anwendbar."
},
"One": {
"Tag": "Disable",
"ToolTip": "Deaktivieren Sie das Proxying nur für gesperrte Websites aus dem einheitlichen Register von Roskomnadzor (Standardwert)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

14
Wrapper/Localizations/de-DE/tooltip_Windows_11_ARM.json

@ -1358,20 +1358,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Aktivieren Sie das Proxying nur für gesperrte Websites aus der einheitlichen Registrierung von Roskomnadzor. Die Funktion ist nur für Russland anwendbar."
},
"One": {
"Tag": "Disable",
"ToolTip": "Deaktivieren Sie das Proxying nur für gesperrte Websites aus dem einheitlichen Register von Roskomnadzor (Standardwert)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

14
Wrapper/Localizations/en-US/tooltip_Windows_10.json

@ -1418,20 +1418,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only."
},
"One": {
"Tag": "Disable",
"ToolTip": "Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

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

@ -1377,20 +1377,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only."
},
"One": {
"Tag": "Disable",
"ToolTip": "Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

14
Wrapper/Localizations/en-US/tooltip_Windows_11_ARM.json

@ -1358,20 +1358,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only."
},
"One": {
"Tag": "Disable",
"ToolTip": "Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

14
Wrapper/Localizations/ru-RU/tooltip_Windows_10.json

@ -1418,20 +1418,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России."
},
"One": {
"Tag": "Disable",
"ToolTip": "Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

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

@ -1377,20 +1377,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России."
},
"One": {
"Tag": "Disable",
"ToolTip": "Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

14
Wrapper/Localizations/ru-RU/tooltip_Windows_11_ARM.json

@ -1358,20 +1358,6 @@
}
}
},
{
"Region": "System",
"Function": "AntizapretProxy",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России."
},
"One": {
"Tag": "Disable",
"ToolTip": "Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)."
}
}
},
{
"Region": "System",
"Function": "PreventEdgeShortcutCreation",

86
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -8102,92 +8102,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerParameters = $CompilerParameters
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_10/Sophia.ps1

@ -918,16 +918,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

86
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -6265,92 +6265,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerParameters = $CompilerParameters
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Back up the system registry to %SystemRoot%\System32\config\RegBack folder when PC restarts and create a RegIdleBackup in the Task Scheduler task to manage subsequent backups

10
src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1

@ -697,16 +697,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# Back up the system registry to %SystemRoot%\System32\config\RegBack folder when PC restarts and create a RegIdleBackup in the Task Scheduler task to manage subsequent backups
# Создавать копии реестра при перезагрузке ПК и задание RegIdleBackup в Планировщике для управления последующими резервными копиями
RegistryBackup -Enable

86
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -7245,92 +7245,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerParameters = $CompilerParameters
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1

@ -828,16 +828,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

86
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -8104,92 +8104,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerOptions = $CompilerOptions
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1

@ -918,16 +918,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

87
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -211,6 +211,7 @@ function DiagnosticDataLevel
{
# Send required diagnostic data
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force ###
Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1
}
@ -7560,92 +7561,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerParameters = $CompilerParameters
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_11/Sophia.ps1

@ -889,16 +889,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

86
src/Sophia_Script_for_Windows_11_ARM/Module/Sophia.psm1

@ -7486,92 +7486,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerParameters = $CompilerParameters
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_11_ARM/Sophia.ps1

@ -885,16 +885,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 (ARM64). Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

86
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Module/Sophia.psm1

@ -7488,92 +7488,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerOptions = $CompilerOptions
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_11_ARM_PowerShell_7/Sophia.ps1

@ -885,16 +885,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 (ARM64). Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

86
src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1

@ -7071,92 +7071,6 @@ function Install-DotNetRuntimes
}
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerParameters = $CompilerParameters
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_11_LTSC_2024/Sophia.ps1

@ -855,16 +855,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

86
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -7783,92 +7783,6 @@ function Install-DotNetRuntimes
Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Force -ErrorAction Ignore
}
<#
.SYNOPSIS
Bypass RKN restrictins using antizapret.prostovpn.org proxy
.PARAMETER Enable
Enable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.PARAMETER Disable
Disable proxying only blocked sites from the unified registry of Roskomnadzor using antizapret.prostovpn.org proxy
.EXAMPLE
AntizapretProxy -Enable
.EXAMPLE
AntizapretProxy -Disable
.LINK
https://antizapret.prostovpn.org
.NOTES
Current user
#>
function AntizapretProxy
{
param
(
[Parameter(
Mandatory = $true,
ParameterSetName = "Enable"
)]
[switch]
$Enable,
[Parameter(
Mandatory = $true,
ParameterSetName = "Disable"
)]
[switch]
$Disable
)
switch ($PSCmdlet.ParameterSetName)
{
"Enable"
{
# If current region is Russia
if ((Get-WinHomeLocation).GeoId -eq "203")
{
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -PropertyType String -Value "https://p.thenewone.lol:8443/proxy.pac" -Force
}
else
{
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -Verbose
Write-Error -Message (($Localization.GeoIdNotSupported -f $MyInvocation.Line.Trim()), ($Localization.Skipped -f $MyInvocation.Line.Trim()) -join " ") -ErrorAction SilentlyContinue
}
}
"Disable"
{
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name AutoConfigURL -Force -ErrorAction Ignore
}
}
$Signature = @{
Namespace = "WinAPI"
Name = "wininet"
Language = "CSharp"
CompilerOptions = $CompilerOptions
MemberDefinition = @"
[DllImport("wininet.dll", SetLastError = true, CharSet=CharSet.Auto)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
"@
}
if (-not ("WinAPI.wininet" -as [type]))
{
Add-Type @Signature
}
# Apply changed proxy settings
# https://learn.microsoft.com/en-us/windows/win32/wininet/option-flags
$INTERNET_OPTION_SETTINGS_CHANGED = 39
$INTERNET_OPTION_REFRESH = 37
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_SETTINGS_CHANGED, 0, 0)
[WinAPI.wininet]::InternetSetOption(0, $INTERNET_OPTION_REFRESH, 0, 0)
}
<#
.SYNOPSIS
Desktop shortcut creation upon Microsoft Edge update

10
src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1

@ -889,16 +889,6 @@ Install-VCRedist
# Установить последнюю версию .NET Desktop Runtime 8, 9, 10 x64. Требуется соединение с интернетом
Install-DotNetRuntimes -Runtimes NET8, NET9, NET10
# Enable proxying only blocked sites from the unified registry of Roskomnadzor. Applicable for Russia only
# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России
# https://antizapret.prostovpn.org
AntizapretProxy -Enable
# Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)
# Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)
# https://antizapret.prostovpn.org
# AntizapretProxy -Disable
# List Microsoft Edge channels to prevent desktop shortcut creation upon its update
# Перечислите каналы Microsoft Edge для предотвращения создания ярлыков на рабочем столе после его обновления
PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary

Loading…
Cancel
Save