diff --git a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 index 3cfdbd46..3d7d8c4c 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nDas kumulative Windows 10-Update w UnsupportedLanguageMode = \nDie PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = \nDer angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = \nSie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen -UnsupportedISE = \nDas Skript unterstützt nicht die Ausführung über Windows PowerShell ISE +UnsupportedHost = \nDas Skript unterstützt nicht die Ausführung über {0} Win10TweakerWarning = \nWahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -SycnexWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. -Fs00Warning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +TweakerWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des {0} beeinträchtigt worden sein. Installieren Sie Windows vorsichtshalber neu bin = \nIm Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = \nDer PC wartet darauf, neu gestartet zu werden UnsupportedRelease = \nNeue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 index ffeecc1f..72abadee 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nThe PowerShell session in running in a limited language mode LoggedInUserNotAdmin = \nThe logged-on user doesn't have admin rights UnsupportedPowerShell = \nYou're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version -UnsupportedISE = \nThe script doesn't support running via Windows PowerShell ISE +UnsupportedHost = \nThe script doesn't support running via {0} Win10TweakerWarning = \nProbably your OS was infected via the Win 10 Tweaker backdoor -SycnexWarning = \nThe Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows -Fs00Warning = \nThe Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nThe Windows stability may have been compromised by using {0}. Just in case, reinstall Windows bin = \nThere are no files in the bin folder. Please, re-download the archive RebootPending = \nThe PC is waiting to be restarted UnsupportedRelease = \nA new version found diff --git a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 index 7b1095f1..b922137c 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nActualización acumulativa de Wind UnsupportedLanguageMode = \nSesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = \nEl usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = \nEstás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell -UnsupportedISE = \nEl script no es compatible con la ejecución a través de Windows PowerShell ISE +UnsupportedHost = \nEl script no es compatible con la ejecución a través de {0} Win10TweakerWarning = \nProbablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -SycnexWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows -Fs00Warning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows +TweakerWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el {0}. Por si acaso, reinstala Windows bin = \nNo hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = \nEl PC está esperando a ser reiniciado UnsupportedRelease = \nUna nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 index 6aecbbc7..54c62607 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nLa mise à jour cumulative de Wind UnsupportedLanguageMode = \nLa session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = \nL'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = \nVous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell -UnsupportedISE = \nLe script ne supporte pas l'exécution via Windows PowerShell ISE +UnsupportedHost = \nLe script ne supporte pas l'exécution via {0} Win10TweakerWarning = \nVotre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -SycnexWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows -Fs00Warning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows +TweakerWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du {0}. Au cas où, réinstallez Windows bin = \nIl n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = \nLe PC attend d'être redémarré UnsupportedRelease = \nNouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 index 8e8a88c6..3a293684 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nA Windows 10 összesített frissí UnsupportedLanguageMode = \nA PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = \nA bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = \nA PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban -UnsupportedISE = \nA szkript nem támogatja a Windows PowerShell ISE futtatását +UnsupportedHost = \nA szkript nem támogatja a {0} futtatását Win10TweakerWarning = \nValószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -SycnexWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows -Fs00Warning = \nA Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a {0}. A biztonság kedvéért telepítse újra a Windowst bin = \nA bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = \nA számítógép újraindításra vár UnsupportedRelease = \nÚj verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 index b03371b7..d2fb2261 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nLa sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = \nL'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = \nStai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata -UnsupportedISE = \nLo script non supporta l'esecuzione tramite Windows PowerShell ISE +UnsupportedHost = \nLo script non supporta l'esecuzione tramite {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -SycnexWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows -Fs00Warning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows +TweakerWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello {0}. Per sicurezza, reinstallare Windows bin = \nNon ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = \nIl PC è in attesa di essere riavviato UnsupportedRelease = \nNuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 index 19c1598d..817a3597 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nZainstalowano zbiorczą aktualizac UnsupportedLanguageMode = \nSesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = \nZalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = \nPróbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell -UnsupportedISE = \nSkrypt nie może być uruchamiany w Windows PowerShell ISE +UnsupportedHost = \nSkrypt nie może być uruchamiany w {0} Win10TweakerWarning = \nPrawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -SycnexWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows -Fs00Warning = \nStabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows +TweakerWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie {0}. Na wszelki wypadek przeinstaluj system Windows bin = \nW folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = \nKomputer oczekuje na ponowne uruchomienie UnsupportedRelease = \nZnaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 index 7ec927ee..a29d916e 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nAtualização cumulativa do Window UnsupportedLanguageMode = \nA sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = \nO usuário logado não tem direitos de administrador UnsupportedPowerShell = \nVocê está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell -UnsupportedISE = \nO guião não suporta a execução através do Windows PowerShell ISE +UnsupportedHost = \nO guião não suporta a execução através do {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -SycnexWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows -Fs00Warning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows +TweakerWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do {0}. Só por precaução, reinstale o Windows bin = \nNão existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = \nO PC está esperando para ser reiniciado UnsupportedRelease = \nNova versão encontrada diff --git a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 index eb46aa8c..55fefe16 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 @@ -5,11 +5,10 @@ UpdateWarning = \nУстановленный нак UnsupportedLanguageMode = \nСессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = \nТекущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = \nВы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell -UnsupportedISE = \nСкрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС -Fs00Warning = \nСтабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС -bin = \nВ папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив +UnsupportedHost = \nСкрипт не поддерживает работу через {0} +Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном +TweakerWarning = \nСтабильность Windows могла быть нарушена использованием {0}. На всякий случай переустановите Windows +bin = \nВ папке bin отсутствуют файлы. Пожалуйста, перекачайте архив RebootPending = \nКомпьютер ожидает перезагрузки UnsupportedRelease = \nОбнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле {0} перед запуском Sophia Script? diff --git a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 index 35e0c1db..0fdad82d 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 toplu güncelleştirmes UnsupportedLanguageMode = \nSınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = \nOturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = \nKomut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın -UnsupportedISE = \nKomut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor +UnsupportedHost = \nKomut dosyası, {0} üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = \nMuhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -SycnexWarning = \nWindows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin -Fs00Warning = \nWindows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +TweakerWarning = \nWindows işletim sistemi kararlılığı, {0} betiği kullanılarak tehlikeye atılmış olabilir. Her ihtimale karşı, Windows'u yeniden yükleyin bin = \nbin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = \nPC yeniden başlatılmayı bekliyor UnsupportedRelease = \nYeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 index a1a67644..166a3c90 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nВстановлений нако UnsupportedLanguageMode = \nСесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = \nПоточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = \nВи намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell -UnsupportedISE = \nСкрипт не підтримує роботу через Windows PowerShell ISE +UnsupportedHost = \nСкрипт не підтримує роботу через {0} Win10TweakerWarning = \nВаша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows -Fs00Warning = \nСтабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows +TweakerWarning = \nСтабільність вашої ОС могла бути порушена використанням {0}. Про всяк випадок перевстановіть Windows bin = \nУ папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = \nКомп'ютер очікує на перезавантаження UnsupportedRelease = \nВиявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 index f650369a..daa1ae60 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \n安装了Windows 10累积更新: UnsupportedLanguageMode = \nPowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = \n登录的用户没有管理员的权利 UnsupportedPowerShell = \n你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 -UnsupportedISE = \n该脚本不支持通过Windows PowerShell ISE运行 +UnsupportedHost = \n该脚本不支持通过{0}运行 Win10TweakerWarning = \n可能你的操作系统是通过"Win 10 Tweaker"后门感染的 -SycnexWarning = \n使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 -Fs00Warning = \n使用"Windows 10 Bloat Remover and Tweaker"可能会影响 Windows 稳定性。 预防性地,重新安装 Windows +TweakerWarning = \nWindows的稳定性可能已被{0}所破坏。预防性地,重新安装整个操作系统 bin = \nbin文件夹中没有文件。请重新下载该档案 RebootPending = \n计算机正在等待重新启动 UnsupportedRelease = \n找到新版本 diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 62be5082..b55c29a2 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -145,45 +145,53 @@ function Checks exit } - # Check whether the script was run via PowerShell ISE - if ($Host.Name -match "ISE") + # Check whether the script was run in PowerShell ISE or VS Code + if (($Host.Name -match "ISE") -or ($env:TERM_PROGRAM -eq "vscode")) { - Write-Warning -Message $Localization.UnsupportedISE + Write-Warning -Message ($Localization.UnsupportedHost -f $Host.Name.replace("Host", "")) Start-Process -FilePath "https://t.me/sophia_chat" Start-Process -FilePath "https://discord.gg/sSryhaEv79" exit } - # Check whether the OS was infected by the Win 10 Tweaker's trojan - # https://win10tweaker.ru - if ((Test-Path -Path "HKCU:\Software\Win 10 Tweaker") -or (Test-Path -Path "${env:ProgramFiles(x86)}\Win 10 Tweakеr")) - { - Write-Warning -Message $Localization.Win10TweakerWarning - Start-Process -FilePath "https://youtu.be/na93MS-1EkM" - Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } - - # Check whether Windows was destroyed by Windows10Debloater - # https://github.com/Sycnex/Windows10Debloater - if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) - { - Write-Warning -Message $Localization.SycnexWarning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } + # Check whether Windows was broken by 3rd party tweakers and trojans + $Tweakers = @{ + # https://github.com/Sycnex/Windows10Debloater + Windows10Debloater = "$env:SystemDrive\Temp\Windows10Debloater" + # https://github.com/Fs00/Win10BloatRemover + Win10BloatRemover = "$env:TEMP\.net\Win10BloatRemover" + # https://github.com/arcadesdude/BRU + "Bloatware Removal" = "$env:SystemDrive\BRU\Bloatware-Removal*.log" + # https://www.youtube.com/GHOSTSPECTRE + "Ghost Toolbox" = "$env:SystemRoot\System32\migwiz\dlmanifests\run.ghost.cmd" + # https://github.com/hellzerg/optimizer + Optimizer = "$(Get-ItemPropertyValue -Path `"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`" -Name `"{374DE290-123F-4565-9164-39C4925E467B}`")\OptimizerDownloads" + # https://win10tweaker.ru + "Win 10 Tweaker" = "HKCU:\Software\Win 10 Tweaker" + # https://forum.ru-board.com/topic.cgi?forum=5&topic=50519 + "Modern Tweaker" = "Registry::HKEY_CLASSES_ROOT\.exts\shell\open\command" + # https://boosterx.ru + BoosterX = "$env:ProgramFiles\GameModeX\GameModeX.exe" + } + foreach ($Tweaker in $Tweakers.Keys) + { + if (Test-Path -Path $Tweakers[$Tweaker]) + { + if ($Tweakers[$Tweaker] -eq "HKCU:\Software\Win 10 Tweaker") + { + Write-Warning -Message $Localization.Win10TweakerWarning + Start-Process -FilePath "https://youtu.be/na93MS-1EkM" + Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } - # Check whether Windows was destroyed by Win10BloatRemover - # https://github.com/Fs00/Win10BloatRemover - if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) - { - Write-Warning -Message $Localization.Fs00Warning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit + Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker) + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } } # Check whether LGPO.exe exists in the bin folder diff --git a/src/Sophia_Script_for_Windows_10/Sophia.ps1 b/src/Sophia_Script_for_Windows_10/Sophia.ps1 index a90bc1b1..7d3c7f23 100644 --- a/src/Sophia_Script_for_Windows_10/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10/Sophia.ps1 @@ -32,7 +32,7 @@ Architecture: x64 .NOTES - To use the TAB completion for functions and their arguments dot source the Function.ps1 script first: + To use the TAB completion for functions and their arguments dot source the Functions.ps1 script first: . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 index 3b0ae61e..f8108090 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nDas kumulative Windows 10-Update w UnsupportedLanguageMode = \nDie PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = \nDer angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = \nSie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen -UnsupportedISE = \nDas Skript unterstützt nicht die Ausführung über Windows PowerShell ISE +UnsupportedHost = \nDas Skript unterstützt nicht die Ausführung über {0} Win10TweakerWarning = \nWahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -SycnexWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. -Fs00Warning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +TweakerWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des {0} beeinträchtigt worden sein. Installieren Sie Windows vorsichtshalber neu bin = \nIm Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = \nDer PC wartet darauf, neu gestartet zu werden UnsupportedRelease = \nNeue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 index e0dcdc40..20120843 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nThe PowerShell session in running in a limited language mode LoggedInUserNotAdmin = \nThe logged-on user doesn't have admin rights UnsupportedPowerShell = \nYou're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version -UnsupportedISE = \nThe script doesn't support running via Windows PowerShell ISE +UnsupportedHost = \nThe script doesn't support running via {0} Win10TweakerWarning = \nProbably your OS was infected via the Win 10 Tweaker backdoor -SycnexWarning = \nThe Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows -Fs00Warning = \nThe Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nThe Windows stability may have been compromised by using {0}. Just in case, reinstall Windows bin = \nThere are no files in the bin folder. Please, re-download the archive RebootPending = \nThe PC is waiting to be restarted UnsupportedRelease = \nA new version found diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 index 5898ee23..8a45b0b2 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nActualización acumulativa de Wind UnsupportedLanguageMode = \nSesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = \nEl usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = \nEstás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell -UnsupportedISE = \nEl script no es compatible con la ejecución a través de Windows PowerShell ISE +UnsupportedHost = \nEl script no es compatible con la ejecución a través de {0} Win10TweakerWarning = \nProbablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -SycnexWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows -Fs00Warning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows +TweakerWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el {0}. Por si acaso, reinstala Windows bin = \nNo hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = \nEl PC está esperando a ser reiniciado UnsupportedRelease = \nUna nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 index 669b21ef..673f5211 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nLa mise à jour cumulative de Wind UnsupportedLanguageMode = \nLa session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = \nL'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = \nVous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell -UnsupportedISE = \nLe script ne supporte pas l'exécution via Windows PowerShell ISE +UnsupportedHost = \nLe script ne supporte pas l'exécution via {0} Win10TweakerWarning = \nVotre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -SycnexWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows -Fs00Warning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows +TweakerWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du {0}. Au cas où, réinstallez Windows bin = \nIl n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = \nLe PC attend d'être redémarré UnsupportedRelease = \nNouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 index 7e3c5b4a..3b1d1edd 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nA Windows 10 összesített frissí UnsupportedLanguageMode = \nA PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = \nA bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = \nA PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban -UnsupportedISE = \nA szkript nem támogatja a Windows PowerShell ISE futtatását +UnsupportedHost = \nA szkript nem támogatja a {0} futtatását Win10TweakerWarning = \nValószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -SycnexWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows -Fs00Warning = \nA Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a {0}. A biztonság kedvéért telepítse újra a Windowst bin = \nA bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = \nA számítógép újraindításra vár UnsupportedRelease = \nÚj verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 index a1bf1709..684fa393 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nLa sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = \nL'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = \nStai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata -UnsupportedISE = \nLo script non supporta l'esecuzione tramite Windows PowerShell ISE +UnsupportedHost = \nLo script non supporta l'esecuzione tramite {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -SycnexWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows -Fs00Warning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows +TweakerWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello {0}. Per sicurezza, reinstallare Windows bin = \nNon ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = \nIl PC è in attesa di essere riavviato UnsupportedRelease = \nNuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 index 25b227b9..27d4a1aa 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nZainstalowano zbiorczą aktualizac UnsupportedLanguageMode = \nSesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = \nZalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = \nPróbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell -UnsupportedISE = \nSkrypt nie może być uruchamiany w Windows PowerShell ISE +UnsupportedHost = \nSkrypt nie może być uruchamiany w {0} Win10TweakerWarning = \nPrawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -SycnexWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows -Fs00Warning = \nStabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows +TweakerWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie {0}. Na wszelki wypadek przeinstaluj system Windows bin = \nW folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = \nKomputer oczekuje na ponowne uruchomienie UnsupportedRelease = \nZnaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 index e8800c83..4b02aac5 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nAtualização cumulativa do Window UnsupportedLanguageMode = \nA sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = \nO usuário logado não tem direitos de administrador UnsupportedPowerShell = \nVocê está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell -UnsupportedISE = \nO guião não suporta a execução através do Windows PowerShell ISE +UnsupportedHost = \nO guião não suporta a execução através do {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -SycnexWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows -Fs00Warning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows +TweakerWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do {0}. Só por precaução, reinstale o Windows bin = \nNão existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = \nO PC está esperando para ser reiniciado UnsupportedRelease = \nNova versão encontrada diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 index 63483cf2..c86a1229 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 @@ -5,11 +5,10 @@ UpdateWarning = \nУстановленный нак UnsupportedLanguageMode = \nСессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = \nТекущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = \nВы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell -UnsupportedISE = \nСкрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС -Fs00Warning = \nСтабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС -bin = \nВ папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив +UnsupportedHost = \nСкрипт не поддерживает работу через {0} +Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном +TweakerWarning = \nСтабильность Windows могла быть нарушена использованием {0}. В целях профилактики переустановите ОС +bin = \nВ папке bin отсутствуют файлы. Пожалуйста, перекачайте архив RebootPending = \nКомпьютер ожидает перезагрузки UnsupportedRelease = \nОбнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле {0} перед запуском Sophia Script? diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 index 9ebfe54b..422e26b8 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 toplu güncelleştirmes UnsupportedLanguageMode = \nSınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = \nOturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = \nKomut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın -UnsupportedISE = \nKomut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor +UnsupportedHost = \nKomut dosyası, {0} üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = \nMuhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -SycnexWarning = \nWindows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin -Fs00Warning = \nWindows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +TweakerWarning = \nWindows işletim sistemi kararlılığı, {0} betiği kullanılarak tehlikeye atılmış olabilir. Her ihtimale karşı, Windows'u yeniden yükleyin bin = \nbin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = \nPC yeniden başlatılmayı bekliyor UnsupportedRelease = \nYeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 index 497729f6..9314010d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nВстановлений нако UnsupportedLanguageMode = \nСесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = \nПоточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = \nВи намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell -UnsupportedISE = \nСкрипт не підтримує роботу через Windows PowerShell ISE +UnsupportedHost = \nСкрипт не підтримує роботу через {0} Win10TweakerWarning = \nВаша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows -Fs00Warning = \nСтабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows +TweakerWarning = \nСтабільність вашої ОС могла бути порушена використанням {0}. Про всяк випадок перевстановіть Windows bin = \nУ папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = \nКомп'ютер очікує на перезавантаження UnsupportedRelease = \nВиявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 index 3a1e9aa8..df3518dc 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \n安装了Windows 10累积更新: UnsupportedLanguageMode = \nPowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = \n登录的用户没有管理员的权利 UnsupportedPowerShell = \n你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 -UnsupportedISE = \n该脚本不支持通过Windows PowerShell ISE运行 +UnsupportedHost = \n该脚本不支持通过{0}运行 Win10TweakerWarning = \n可能你的操作系统是通过"Win 10 Tweaker"后门感染的 -SycnexWarning = \n使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 -Fs00Warning = \n使用"Windows 10 Bloat Remover and Tweaker"可能会影响 Windows 稳定性。 预防性地,重新安装 Windows +TweakerWarning = \nWindows的稳定性可能已被{0}所破坏。预防性地,重新安装整个操作系统 bin = \nbin文件夹中没有文件。请重新下载该档案 RebootPending = \n计算机正在等待重新启动 UnsupportedRelease = \n找到新版本 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 index f2f88c48..9dddec51 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 @@ -139,45 +139,53 @@ function Checks exit } - # Check whether the script was run via PowerShell ISE - if ($Host.Name -match "ISE") + # Check whether the script was run in PowerShell ISE or VS Code + if (($Host.Name -match "ISE") -or ($env:TERM_PROGRAM -eq "vscode")) { - Write-Warning -Message $Localization.UnsupportedISE + Write-Warning -Message ($Localization.UnsupportedHost -f $Host.Name.replace("Host", "")) Start-Process -FilePath "https://t.me/sophia_chat" Start-Process -FilePath "https://discord.gg/sSryhaEv79" exit } - # Check whether the OS was infected by the Win 10 Tweaker's trojan - # https://win10tweaker.ru - if ((Test-Path -Path "HKCU:\Software\Win 10 Tweaker") -or (Test-Path -Path "${env:ProgramFiles(x86)}\Win 10 Tweakеr")) - { - Write-Warning -Message $Localization.Win10TweakerWarning - Start-Process -FilePath "https://youtu.be/na93MS-1EkM" - Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } - - # Check whether Windows was destroyed by Windows10Debloater - # https://github.com/Sycnex/Windows10Debloater - if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) - { - Write-Warning -Message $Localization.SycnexWarning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } + # Check whether Windows was broken by 3rd party tweakers and trojans + $Tweakers = @{ + # https://github.com/Sycnex/Windows10Debloater + Windows10Debloater = "$env:SystemDrive\Temp\Windows10Debloater" + # https://github.com/Fs00/Win10BloatRemover + Win10BloatRemover = "$env:TEMP\.net\Win10BloatRemover" + # https://github.com/arcadesdude/BRU + "Bloatware Removal" = "$env:SystemDrive\BRU\Bloatware-Removal*.log" + # https://www.youtube.com/GHOSTSPECTRE + "Ghost Toolbox" = "$env:SystemRoot\System32\migwiz\dlmanifests\run.ghost.cmd" + # https://github.com/hellzerg/optimizer + Optimizer = "$(Get-ItemPropertyValue -Path `"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`" -Name `"{374DE290-123F-4565-9164-39C4925E467B}`")\OptimizerDownloads" + # https://win10tweaker.ru + "Win 10 Tweaker" = "HKCU:\Software\Win 10 Tweaker" + # https://forum.ru-board.com/topic.cgi?forum=5&topic=50519 + "Modern Tweaker" = "Registry::HKEY_CLASSES_ROOT\.exts\shell\open\command" + # https://boosterx.ru + BoosterX = "$env:ProgramFiles\GameModeX\GameModeX.exe" + } + foreach ($Tweaker in $Tweakers.Keys) + { + if (Test-Path -Path $Tweakers[$Tweaker]) + { + if ($Tweakers[$Tweaker] -eq "HKCU:\Software\Win 10 Tweaker") + { + Write-Warning -Message $Localization.Win10TweakerWarning + Start-Process -FilePath "https://youtu.be/na93MS-1EkM" + Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } - # Check whether Windows was destroyed by Win10BloatRemover - # https://github.com/Fs00/Win10BloatRemover - if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) - { - Write-Warning -Message $Localization.Fs00Warning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit + Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker) + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } } # Check whether LGPO.exe exists in the bin folder diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 index 08ee7647..c940489d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 @@ -32,7 +32,7 @@ Architecture: x64 .NOTES - To use the TAB completion for functions and their arguments dot source the Function.ps1 script first: + To use the TAB completion for functions and their arguments dot source the Functions.ps1 script first: . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 index 6e69b47e..bdfad950 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nDas kumulative Windows 10-Update w UnsupportedLanguageMode = \nDie PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = \nDer angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = \nSie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen -UnsupportedISE = \nDas Skript unterstützt nicht die Ausführung über Windows PowerShell ISE +UnsupportedHost = \nDas Skript unterstützt nicht die Ausführung über {0} Win10TweakerWarning = \nWahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -SycnexWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. -Fs00Warning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +TweakerWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des {0} beeinträchtigt worden sein. Installieren Sie Windows vorsichtshalber neu bin = \nIm Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = \nDer PC wartet darauf, neu gestartet zu werden UnsupportedRelease = \nNeue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 index 483b5bd7..56f9f8ef 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nThe PowerShell session in running in a limited language mode LoggedInUserNotAdmin = \nThe logged-on user doesn't have admin rights UnsupportedPowerShell = \nYou're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version -UnsupportedISE = \nThe script doesn't support running via Windows PowerShell ISE +UnsupportedHost = \nThe script doesn't support running via {0} Win10TweakerWarning = \nProbably your OS was infected via the Win 10 Tweaker backdoor -SycnexWarning = \nThe Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows -Fs00Warning = \nThe Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nThe Windows stability may have been compromised by using {0}. Just in case, reinstall Windows bin = \nThere are no files in the bin folder. Please, re-download the archive RebootPending = \nThe PC is waiting to be restarted UnsupportedRelease = \nA new version found diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 index ad8d9e06..4cdc7d32 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nActualización acumulativa de Wind UnsupportedLanguageMode = \nSesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = \nEl usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = \nEstás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell -UnsupportedISE = \nEl script no es compatible con la ejecución a través de Windows PowerShell ISE +UnsupportedHost = \nEl script no es compatible con la ejecución a través de {0} Win10TweakerWarning = \nProbablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -SycnexWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows -Fs00Warning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows +TweakerWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el {0}. Por si acaso, reinstala Windows bin = \nNo hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = \nEl PC está esperando a ser reiniciado UnsupportedRelease = \nUna nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 index 825ae1a7..b187d83d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nLa mise à jour cumulative de Wind UnsupportedLanguageMode = \nLa session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = \nL'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = \nVous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell -UnsupportedISE = \nLe script ne supporte pas l'exécution via Windows PowerShell ISE +UnsupportedHost = \nLe script ne supporte pas l'exécution via {0} Win10TweakerWarning = \nVotre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -SycnexWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows -Fs00Warning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows +TweakerWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du {0}. Au cas où, réinstallez Windows bin = \nIl n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = \nLe PC attend d'être redémarré UnsupportedRelease = \nNouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 index 60ff0c32..33f65379 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nA Windows 10 összesített frissí UnsupportedLanguageMode = \nA PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = \nA bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = \nA PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban -UnsupportedISE = \nA szkript nem támogatja a Windows PowerShell ISE futtatását +UnsupportedHost = \nA szkript nem támogatja a {0} futtatását Win10TweakerWarning = \nValószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -SycnexWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows -Fs00Warning = \nA Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a {0}. A biztonság kedvéért telepítse újra a Windowst bin = \nA bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = \nA számítógép újraindításra vár UnsupportedRelease = \nÚj verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 index 6f650f28..8f3db08d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nLa sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = \nL'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = \nStai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata -UnsupportedISE = \nLo script non supporta l'esecuzione tramite Windows PowerShell ISE +UnsupportedHost = \nLo script non supporta l'esecuzione tramite {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -SycnexWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows -Fs00Warning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows +TweakerWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello {0}. Per sicurezza, reinstallare Windows bin = \nNon ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = \nIl PC è in attesa di essere riavviato UnsupportedRelease = \nNuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 index 1b472533..162a1db4 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nZainstalowano zbiorczą aktualizac UnsupportedLanguageMode = \nSesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = \nZalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = \nPróbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell -UnsupportedISE = \nSkrypt nie może być uruchamiany w Windows PowerShell ISE +UnsupportedHost = \nSkrypt nie może być uruchamiany w {0} Win10TweakerWarning = \nPrawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -SycnexWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows -Fs00Warning = \nStabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows +TweakerWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie {0}. Na wszelki wypadek przeinstaluj system Windows bin = \nW folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = \nKomputer oczekuje na ponowne uruchomienie UnsupportedRelease = \nZnaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 index f14c9c23..b1ed7484 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nAtualização cumulativa do Window UnsupportedLanguageMode = \nA sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = \nO usuário logado não tem direitos de administrador UnsupportedPowerShell = \nVocê está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell -UnsupportedISE = \nO guião não suporta a execução através do Windows PowerShell ISE +UnsupportedHost = \nO guião não suporta a execução através do {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -SycnexWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows -Fs00Warning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows +TweakerWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do {0}. Só por precaução, reinstale o Windows bin = \nNão existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = \nO PC está esperando para ser reiniciado UnsupportedRelease = \nNova versão encontrada diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 index 9f6a720e..a241f0fc 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 @@ -5,11 +5,10 @@ UpdateWarning = \nУстановленный нак UnsupportedLanguageMode = \nСессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = \nТекущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = \nВы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell -UnsupportedISE = \nСкрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС -Fs00Warning = \nСтабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС -bin = \nВ папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив +UnsupportedHost = \nСкрипт не поддерживает работу через {0} +Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном +TweakerWarning = \nСтабильность Windows могла быть нарушена использованием {0}. В целях профилактики переустановите ОС +bin = \nВ папке bin отсутствуют файлы. Пожалуйста, перекачайте архив RebootPending = \nКомпьютер ожидает перезагрузки UnsupportedRelease = \nОбнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле {0} перед запуском Sophia Script? diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 index 6b54080b..7ba54aa3 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 toplu güncelleştirmes UnsupportedLanguageMode = \nSınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = \nOturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = \nKomut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın -UnsupportedISE = \nKomut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor +UnsupportedHost = \nKomut dosyası, {0} üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = \nMuhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -SycnexWarning = \nWindows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin -Fs00Warning = \nWindows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +TweakerWarning = \nWindows işletim sistemi kararlılığı, {0} betiği kullanılarak tehlikeye atılmış olabilir. Her ihtimale karşı, Windows'u yeniden yükleyin bin = \nbin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = \nPC yeniden başlatılmayı bekliyor UnsupportedRelease = \nYeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 index fb8947db..5f70a0ec 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nВстановлений нако UnsupportedLanguageMode = \nСесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = \nПоточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = \nВи намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell -UnsupportedISE = \nСкрипт не підтримує роботу через Windows PowerShell ISE +UnsupportedHost = \nСкрипт не підтримує роботу через {0} Win10TweakerWarning = \nВаша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows -Fs00Warning = \nСтабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows +TweakerWarning = \nСтабільність вашої ОС могла бути порушена використанням {0}. Про всяк випадок перевстановіть Windows bin = \nУ папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = \nКомп'ютер очікує на перезавантаження UnsupportedRelease = \nВиявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 index 8306eb41..4acd601c 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \n安装了Windows 10累积更新: UnsupportedLanguageMode = \nPowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = \n登录的用户没有管理员的权利 UnsupportedPowerShell = \n你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 -UnsupportedISE = \n该脚本不支持通过Windows PowerShell ISE运行 +UnsupportedHost = \n该脚本不支持通过{0}运行 Win10TweakerWarning = \n可能你的操作系统是通过"Win 10 Tweaker"后门感染的 -SycnexWarning = \n使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 -Fs00Warning = \n使用"Windows 10 Bloat Remover and Tweaker"可能会影响 Windows 稳定性。 预防性地,重新安装 Windows +TweakerWarning = \nWindows的稳定性可能已被{0}所破坏。预防性地,重新安装整个操作系统 bin = \nbin文件夹中没有文件。请重新下载该档案 RebootPending = \n计算机正在等待重新启动 UnsupportedRelease = \n找到新版本 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index 50066af5..220d24eb 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -139,45 +139,53 @@ function Checks exit } - # Check whether the script was run via PowerShell ISE - if ($Host.Name -match "ISE") + # Check whether the script was run in PowerShell ISE or VS Code + if (($Host.Name -match "ISE") -or ($env:TERM_PROGRAM -eq "vscode")) { - Write-Warning -Message $Localization.UnsupportedISE + Write-Warning -Message ($Localization.UnsupportedHost -f $Host.Name.replace("Host", "")) Start-Process -FilePath "https://t.me/sophia_chat" Start-Process -FilePath "https://discord.gg/sSryhaEv79" exit } - # Check whether the OS was infected by the Win 10 Tweaker's trojan - # https://win10tweaker.ru - if ((Test-Path -Path "HKCU:\Software\Win 10 Tweaker") -or (Test-Path -Path "${env:ProgramFiles(x86)}\Win 10 Tweakеr")) - { - Write-Warning -Message $Localization.Win10TweakerWarning - Start-Process -FilePath "https://youtu.be/na93MS-1EkM" - Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } - - # Check whether Windows was destroyed by Windows10Debloater - # https://github.com/Sycnex/Windows10Debloater - if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) - { - Write-Warning -Message $Localization.SycnexWarning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } + # Check whether Windows was broken by 3rd party tweakers and trojans + $Tweakers = @{ + # https://github.com/Sycnex/Windows10Debloater + Windows10Debloater = "$env:SystemDrive\Temp\Windows10Debloater" + # https://github.com/Fs00/Win10BloatRemover + Win10BloatRemover = "$env:TEMP\.net\Win10BloatRemover" + # https://github.com/arcadesdude/BRU + "Bloatware Removal" = "$env:SystemDrive\BRU\Bloatware-Removal*.log" + # https://www.youtube.com/GHOSTSPECTRE + "Ghost Toolbox" = "$env:SystemRoot\System32\migwiz\dlmanifests\run.ghost.cmd" + # https://github.com/hellzerg/optimizer + Optimizer = "$(Get-ItemPropertyValue -Path `"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`" -Name `"{374DE290-123F-4565-9164-39C4925E467B}`")\OptimizerDownloads" + # https://win10tweaker.ru + "Win 10 Tweaker" = "HKCU:\Software\Win 10 Tweaker" + # https://forum.ru-board.com/topic.cgi?forum=5&topic=50519 + "Modern Tweaker" = "Registry::HKEY_CLASSES_ROOT\.exts\shell\open\command" + # https://boosterx.ru + BoosterX = "$env:ProgramFiles\GameModeX\GameModeX.exe" + } + foreach ($Tweaker in $Tweakers.Keys) + { + if (Test-Path -Path $Tweakers[$Tweaker]) + { + if ($Tweakers[$Tweaker] -eq "HKCU:\Software\Win 10 Tweaker") + { + Write-Warning -Message $Localization.Win10TweakerWarning + Start-Process -FilePath "https://youtu.be/na93MS-1EkM" + Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } - # Check whether Windows was destroyed by Win10BloatRemover - # https://github.com/Fs00/Win10BloatRemover - if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) - { - Write-Warning -Message $Localization.Fs00Warning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit + Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker) + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } } # Check whether LGPO.exe exists in the bin folder diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 index 69d52c43..76f44a6d 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 @@ -32,7 +32,7 @@ Architecture: x64 .NOTES - To use the TAB completion for functions and their arguments dot source the Function.ps1 script first: + To use the TAB completion for functions and their arguments dot source the Functions.ps1 script first: . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 index 3cfdbd46..3d7d8c4c 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nDas kumulative Windows 10-Update w UnsupportedLanguageMode = \nDie PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = \nDer angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = \nSie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen -UnsupportedISE = \nDas Skript unterstützt nicht die Ausführung über Windows PowerShell ISE +UnsupportedHost = \nDas Skript unterstützt nicht die Ausführung über {0} Win10TweakerWarning = \nWahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -SycnexWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. -Fs00Warning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +TweakerWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des {0} beeinträchtigt worden sein. Installieren Sie Windows vorsichtshalber neu bin = \nIm Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = \nDer PC wartet darauf, neu gestartet zu werden UnsupportedRelease = \nNeue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 index ffeecc1f..72abadee 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nThe PowerShell session in running in a limited language mode LoggedInUserNotAdmin = \nThe logged-on user doesn't have admin rights UnsupportedPowerShell = \nYou're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version -UnsupportedISE = \nThe script doesn't support running via Windows PowerShell ISE +UnsupportedHost = \nThe script doesn't support running via {0} Win10TweakerWarning = \nProbably your OS was infected via the Win 10 Tweaker backdoor -SycnexWarning = \nThe Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows -Fs00Warning = \nThe Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nThe Windows stability may have been compromised by using {0}. Just in case, reinstall Windows bin = \nThere are no files in the bin folder. Please, re-download the archive RebootPending = \nThe PC is waiting to be restarted UnsupportedRelease = \nA new version found diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 index 7b1095f1..b922137c 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nActualización acumulativa de Wind UnsupportedLanguageMode = \nSesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = \nEl usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = \nEstás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell -UnsupportedISE = \nEl script no es compatible con la ejecución a través de Windows PowerShell ISE +UnsupportedHost = \nEl script no es compatible con la ejecución a través de {0} Win10TweakerWarning = \nProbablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -SycnexWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows -Fs00Warning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows +TweakerWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el {0}. Por si acaso, reinstala Windows bin = \nNo hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = \nEl PC está esperando a ser reiniciado UnsupportedRelease = \nUna nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index 6aecbbc7..54c62607 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nLa mise à jour cumulative de Wind UnsupportedLanguageMode = \nLa session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = \nL'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = \nVous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell -UnsupportedISE = \nLe script ne supporte pas l'exécution via Windows PowerShell ISE +UnsupportedHost = \nLe script ne supporte pas l'exécution via {0} Win10TweakerWarning = \nVotre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -SycnexWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows -Fs00Warning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows +TweakerWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du {0}. Au cas où, réinstallez Windows bin = \nIl n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = \nLe PC attend d'être redémarré UnsupportedRelease = \nNouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index 8e8a88c6..3a293684 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nA Windows 10 összesített frissí UnsupportedLanguageMode = \nA PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = \nA bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = \nA PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban -UnsupportedISE = \nA szkript nem támogatja a Windows PowerShell ISE futtatását +UnsupportedHost = \nA szkript nem támogatja a {0} futtatását Win10TweakerWarning = \nValószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -SycnexWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows -Fs00Warning = \nA Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a {0}. A biztonság kedvéért telepítse újra a Windowst bin = \nA bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = \nA számítógép újraindításra vár UnsupportedRelease = \nÚj verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 index b03371b7..d2fb2261 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 cumulative update insta UnsupportedLanguageMode = \nLa sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = \nL'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = \nStai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata -UnsupportedISE = \nLo script non supporta l'esecuzione tramite Windows PowerShell ISE +UnsupportedHost = \nLo script non supporta l'esecuzione tramite {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -SycnexWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows -Fs00Warning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows +TweakerWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello {0}. Per sicurezza, reinstallare Windows bin = \nNon ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = \nIl PC è in attesa di essere riavviato UnsupportedRelease = \nNuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 index 19c1598d..817a3597 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nZainstalowano zbiorczą aktualizac UnsupportedLanguageMode = \nSesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = \nZalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = \nPróbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell -UnsupportedISE = \nSkrypt nie może być uruchamiany w Windows PowerShell ISE +UnsupportedHost = \nSkrypt nie może być uruchamiany w {0} Win10TweakerWarning = \nPrawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -SycnexWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows -Fs00Warning = \nStabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows +TweakerWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie {0}. Na wszelki wypadek przeinstaluj system Windows bin = \nW folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = \nKomputer oczekuje na ponowne uruchomienie UnsupportedRelease = \nZnaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index 7ec927ee..a29d916e 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nAtualização cumulativa do Window UnsupportedLanguageMode = \nA sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = \nO usuário logado não tem direitos de administrador UnsupportedPowerShell = \nVocê está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell -UnsupportedISE = \nO guião não suporta a execução através do Windows PowerShell ISE +UnsupportedHost = \nO guião não suporta a execução através do {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -SycnexWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows -Fs00Warning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows +TweakerWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do {0}. Só por precaução, reinstale o Windows bin = \nNão existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = \nO PC está esperando para ser reiniciado UnsupportedRelease = \nNova versão encontrada diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index eb46aa8c..bf8d9a0d 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -5,11 +5,10 @@ UpdateWarning = \nУстановленный нак UnsupportedLanguageMode = \nСессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = \nТекущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = \nВы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell -UnsupportedISE = \nСкрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС -Fs00Warning = \nСтабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС -bin = \nВ папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив +UnsupportedHost = \nСкрипт не поддерживает работу через {0} +Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном +TweakerWarning = \nСтабильность Windows могла быть нарушена использованием {0}. В целях профилактики переустановите ОС +bin = \nВ папке bin отсутствуют файлы. Пожалуйста, перекачайте архив RebootPending = \nКомпьютер ожидает перезагрузки UnsupportedRelease = \nОбнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле {0} перед запуском Sophia Script? diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index 35e0c1db..0fdad82d 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nWindows 10 toplu güncelleştirmes UnsupportedLanguageMode = \nSınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = \nOturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = \nKomut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın -UnsupportedISE = \nKomut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor +UnsupportedHost = \nKomut dosyası, {0} üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = \nMuhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -SycnexWarning = \nWindows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin -Fs00Warning = \nWindows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +TweakerWarning = \nWindows işletim sistemi kararlılığı, {0} betiği kullanılarak tehlikeye atılmış olabilir. Her ihtimale karşı, Windows'u yeniden yükleyin bin = \nbin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = \nPC yeniden başlatılmayı bekliyor UnsupportedRelease = \nYeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index a1a67644..166a3c90 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \nВстановлений нако UnsupportedLanguageMode = \nСесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = \nПоточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = \nВи намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell -UnsupportedISE = \nСкрипт не підтримує роботу через Windows PowerShell ISE +UnsupportedHost = \nСкрипт не підтримує роботу через {0} Win10TweakerWarning = \nВаша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows -Fs00Warning = \nСтабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows +TweakerWarning = \nСтабільність вашої ОС могла бути порушена використанням {0}. Про всяк випадок перевстановіть Windows bin = \nУ папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = \nКомп'ютер очікує на перезавантаження UnsupportedRelease = \nВиявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index f650369a..daa1ae60 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -5,10 +5,9 @@ UpdateWarning = \n安装了Windows 10累积更新: UnsupportedLanguageMode = \nPowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = \n登录的用户没有管理员的权利 UnsupportedPowerShell = \n你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 -UnsupportedISE = \n该脚本不支持通过Windows PowerShell ISE运行 +UnsupportedHost = \n该脚本不支持通过{0}运行 Win10TweakerWarning = \n可能你的操作系统是通过"Win 10 Tweaker"后门感染的 -SycnexWarning = \n使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 -Fs00Warning = \n使用"Windows 10 Bloat Remover and Tweaker"可能会影响 Windows 稳定性。 预防性地,重新安装 Windows +TweakerWarning = \nWindows的稳定性可能已被{0}所破坏。预防性地,重新安装整个操作系统 bin = \nbin文件夹中没有文件。请重新下载该档案 RebootPending = \n计算机正在等待重新启动 UnsupportedRelease = \n找到新版本 diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 index 81be0330..9a154fba 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 @@ -1,4 +1,4 @@ -@{ +@{ RootModule = '..\Module\Sophia.psm1' ModuleVersion = '5.16.1' GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a' diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 index 34ada6d9..39c6ff10 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 @@ -145,45 +145,53 @@ function Checks exit } - # Check whether the script was run via PowerShell ISE - if ($Host.Name -match "ISE") + # Check whether the script was run in PowerShell ISE or VS Code + if (($Host.Name -match "ISE") -or ($env:TERM_PROGRAM -eq "vscode")) { - Write-Warning -Message $Localization.UnsupportedISE + Write-Warning -Message ($Localization.UnsupportedHost -f $Host.Name.replace("Host", "")) Start-Process -FilePath "https://t.me/sophia_chat" Start-Process -FilePath "https://discord.gg/sSryhaEv79" exit } - # Check whether the OS was infected by the Win 10 Tweaker's trojan - # https://win10tweaker.ru - if ((Test-Path -Path "HKCU:\Software\Win 10 Tweaker") -or (Test-Path -Path "${env:ProgramFiles(x86)}\Win 10 Tweakеr")) - { - Write-Warning -Message $Localization.Win10TweakerWarning - Start-Process -FilePath "https://youtu.be/na93MS-1EkM" - Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } - - # Check whether Windows was destroyed by Windows10Debloater - # https://github.com/Sycnex/Windows10Debloater - if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) - { - Write-Warning -Message $Localization.SycnexWarning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } + # Check whether Windows was broken by 3rd party tweakers and trojans + $Tweakers = @{ + # https://github.com/Sycnex/Windows10Debloater + Windows10Debloater = "$env:SystemDrive\Temp\Windows10Debloater" + # https://github.com/Fs00/Win10BloatRemover + Win10BloatRemover = "$env:TEMP\.net\Win10BloatRemover" + # https://github.com/arcadesdude/BRU + "Bloatware Removal" = "$env:SystemDrive\BRU\Bloatware-Removal*.log" + # https://www.youtube.com/GHOSTSPECTRE + "Ghost Toolbox" = "$env:SystemRoot\System32\migwiz\dlmanifests\run.ghost.cmd" + # https://github.com/hellzerg/optimizer + Optimizer = "$(Get-ItemPropertyValue -Path `"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`" -Name `"{374DE290-123F-4565-9164-39C4925E467B}`")\OptimizerDownloads" + # https://win10tweaker.ru + "Win 10 Tweaker" = "HKCU:\Software\Win 10 Tweaker" + # https://forum.ru-board.com/topic.cgi?forum=5&topic=50519 + "Modern Tweaker" = "Registry::HKEY_CLASSES_ROOT\.exts\shell\open\command" + # https://boosterx.ru + BoosterX = "$env:ProgramFiles\GameModeX\GameModeX.exe" + } + foreach ($Tweaker in $Tweakers.Keys) + { + if (Test-Path -Path $Tweakers[$Tweaker]) + { + if ($Tweakers[$Tweaker] -eq "HKCU:\Software\Win 10 Tweaker") + { + Write-Warning -Message $Localization.Win10TweakerWarning + Start-Process -FilePath "https://youtu.be/na93MS-1EkM" + Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } - # Check whether Windows was destroyed by Win10BloatRemover - # https://github.com/Fs00/Win10BloatRemover - if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) - { - Write-Warning -Message $Localization.Fs00Warning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit + Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker) + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } } # Check whether LGPO.exe exists in the bin folder diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 index a766ea4a..fc297e1f 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 @@ -32,7 +32,7 @@ Architecture: x64 .NOTES - To use the TAB completion for functions and their arguments dot source the Function.ps1 script first: + To use the TAB completion for functions and their arguments dot source the Functions.ps1 script first: . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file diff --git a/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 index 3065f51a..1f132663 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nIhr Windows 11-Build: {0}.{1}. Unt UnsupportedLanguageMode = \nDie PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = \nDer angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = \nSie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen -UnsupportedISE = \nDas Skript unterstützt nicht die Ausführung über Windows PowerShell ISE +UnsupportedHost = \nDas Skript unterstützt nicht die Ausführung über {0} Win10TweakerWarning = \nWahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -SycnexWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. -Fs00Warning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +TweakerWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des {0} beeinträchtigt worden sein. Installieren Sie Windows vorsichtshalber neu bin = \nIm Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = \nDer PC wartet darauf, neu gestartet zu werden UnsupportedRelease = \nNeue Version gefunden diff --git a/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 index 8409de00..1da9a51b 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nYour Windows 11 build: {0}.{1}. Su UnsupportedLanguageMode = \nThe PowerShell session in running in a limited language mode LoggedInUserNotAdmin = \nThe logged-on user doesn't have admin rights UnsupportedPowerShell = \nYou're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version -UnsupportedISE = \nThe script doesn't support running via Windows PowerShell ISE +UnsupportedHost = \nThe script doesn't support running via {0} Win10TweakerWarning = \nProbably your OS was infected via the Win 10 Tweaker backdoor -SycnexWarning = \nThe Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows -Fs00Warning = \nThe Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nThe Windows stability may have been compromised by using {0}. Just in case, reinstall Windows bin = \nThere are no files in the bin folder. Please, re-download the archive RebootPending = \nThe PC is waiting to be restarted UnsupportedRelease = \nA new version found diff --git a/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 index b7da61c5..0c112de4 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nSu build de Windows 11: {0}.{1}. C UnsupportedLanguageMode = \nSesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = \nEl usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = \nEstás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell -UnsupportedISE = \nEl script no es compatible con la ejecución a través de Windows PowerShell ISE +UnsupportedHost = \nEl script no es compatible con la ejecución a través de {0} Win10TweakerWarning = \nProbablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -SycnexWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows -Fs00Warning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows +TweakerWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el {0}. Por si acaso, reinstala Windows bin = \nNo hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = \nEl PC está esperando a ser reiniciado UnsupportedRelease = \nUna nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 index 19bb17c6..1c9e735b 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nVotre version de Windows 11 : {0}. UnsupportedLanguageMode = \nLa session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = \nL'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = \nVous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell -UnsupportedISE = \nLe script ne supporte pas l'exécution via Windows PowerShell ISE +UnsupportedHost = \nLe script ne supporte pas l'exécution via {0} Win10TweakerWarning = \nVotre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -SycnexWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows -Fs00Warning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows +TweakerWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du {0}. Au cas où, réinstallez Windows bin = \nIl n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = \nLe PC attend d'être redémarré UnsupportedRelease = \nNouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 index ba587fe2..8268224e 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nAz Ön Windows 11 építése: {0}. UnsupportedLanguageMode = \nA PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = \nA bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = \nA PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban -UnsupportedISE = \nA szkript nem támogatja a Windows PowerShell ISE futtatását +UnsupportedHost = \nA szkript nem támogatja a {0} futtatását Win10TweakerWarning = \nValószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -SycnexWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows -Fs00Warning = \nA Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a {0}. A biztonság kedvéért telepítse újra a Windowst bin = \nA bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = \nA számítógép újraindításra vár UnsupportedRelease = \nÚj verzió érhető el diff --git a/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 index 5be4544f..b5153679 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nLa tua build di Windows 11 {0}.{1} UnsupportedLanguageMode = \nLa sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = \nL'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = \nStai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata -UnsupportedISE = \nLo script non supporta l'esecuzione tramite Windows PowerShell ISE +UnsupportedHost = \nLo script non supporta l'esecuzione tramite {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -SycnexWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows -Fs00Warning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows +TweakerWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello {0}. Per sicurezza, reinstallare Windows bin = \nNon ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = \nIl PC è in attesa di essere riavviato UnsupportedRelease = \nNuova versione trovata diff --git a/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 index 9279fc8b..9a5fe143 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nTwoja wersja systemu Windows 11: { UnsupportedLanguageMode = \nSesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = \nZalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = \nPróbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell -UnsupportedISE = \nSkrypt nie może być uruchamiany w Windows PowerShell ISE +UnsupportedHost = \nSkrypt nie może być uruchamiany w {0} Win10TweakerWarning = \nPrawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -SycnexWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows -Fs00Warning = \nStabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows +TweakerWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie {0}. Na wszelki wypadek przeinstaluj system Windows bin = \nW folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = \nKomputer oczekuje na ponowne uruchomienie UnsupportedRelease = \nZnaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 index 5894a001..61be66ef 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nLa tua build di Windows 11: {0}.{1 UnsupportedLanguageMode = \nA sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = \nO usuário logado não tem direitos de administrador UnsupportedPowerShell = \nVocê está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell -UnsupportedISE = \nO guião não suporta a execução através do Windows PowerShell ISE +UnsupportedHost = \nO guião não suporta a execução através do {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -SycnexWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows -Fs00Warning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows +TweakerWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do {0}. Só por precaução, reinstale o Windows bin = \nNão existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = \nO PC está esperando para ser reiniciado UnsupportedRelease = \nNova versão encontrada diff --git a/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 index e72d04c4..8d5add2d 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 @@ -4,11 +4,10 @@ UpdateWarning = \nВаш билд Windows 11: {0}.{1 UnsupportedLanguageMode = \nСессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = \nТекущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = \nВы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell -UnsupportedISE = \nСкрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС -Fs00Warning = \nСтабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС -bin = \nВ папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив +UnsupportedHost = \nСкрипт не поддерживает работу через {0} +Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном +TweakerWarning = \nСтабильность Windows могла быть нарушена использованием {0}. В целях профилактики переустановите ОС +bin = \nВ папке bin отсутствуют файлы. Пожалуйста, перекачайте архив RebootPending = \nКомпьютер ожидает перезагрузки UnsupportedRelease = \nОбнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле {0} перед запуском Sophia Script? diff --git a/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 index 15faa71e..8c4daa5e 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nWindows 11 yapınız: {0}.{1}. Des UnsupportedLanguageMode = \nSınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = \nOturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = \nKomut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın -UnsupportedISE = \nKomut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor +UnsupportedHost = \nKomut dosyası, {0} üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = \nMuhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -SycnexWarning = \nWindows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin -Fs00Warning = \nWindows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +TweakerWarning = \nWindows işletim sistemi kararlılığı, {0} betiği kullanılarak tehlikeye atılmış olabilir. Her ihtimale karşı, Windows'u yeniden yükleyin bin = \nbin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = \nPC yeniden başlatılmayı bekliyor UnsupportedRelease = \nYeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 index d668869a..6aa45c37 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nВаш білд Windows 11: {0}.{1 UnsupportedLanguageMode = \nСесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = \nПоточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = \nВи намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell -UnsupportedISE = \nСкрипт не підтримує роботу через Windows PowerShell ISE +UnsupportedHost = \nСкрипт не підтримує роботу через {0} Win10TweakerWarning = \nВаша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows -Fs00Warning = \nСтабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows +TweakerWarning = \nСтабільність вашої ОС могла бути порушена використанням {0}. Про всяк випадок перевстановіть Windows bin = \nУ папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = \nКомп'ютер очікує на перезавантаження UnsupportedRelease = \nВиявлено нову версію diff --git a/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 index 262a7625..6c5bf8cd 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \n您的Windows 11构建: {0}.{1}。 UnsupportedLanguageMode = \nPowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = \n登录的用户没有管理员的权利 UnsupportedPowerShell = \n你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 -UnsupportedISE = \n该脚本不支持通过Windows PowerShell ISE运行 +UnsupportedHost = \n该脚本不支持通过{0}运行 Win10TweakerWarning = \n可能你的操作系统是通过"Win 10 Tweaker"后门感染的 -SycnexWarning = \n使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 -Fs00Warning = \n使用"Windows 10 Bloat Remover and Tweaker"可能会影响 Windows 稳定性。 预防性地,重新安装 Windows +TweakerWarning = \nWindows的稳定性可能已被{0}所破坏。预防性地,重新安装整个操作系统 bin = \nbin文件夹中没有文件。请重新下载该档案 RebootPending = \n计算机正在等待重新启动 UnsupportedRelease = \n找到新版本 diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index e5f21ee3..fb2b2b91 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -235,45 +235,53 @@ function Checks exit } - # Check whether the script was run via PowerShell ISE - if ($Host.Name -match "ISE") + # Check whether the script was run in PowerShell ISE or VS Code + if (($Host.Name -match "ISE") -or ($env:TERM_PROGRAM -eq "vscode")) { - Write-Warning -Message $Localization.UnsupportedISE + Write-Warning -Message ($Localization.UnsupportedHost -f $Host.Name.replace("Host", "")) Start-Process -FilePath "https://t.me/sophia_chat" Start-Process -FilePath "https://discord.gg/sSryhaEv79" exit } - # Check whether the OS was infected by the Win 10 Tweaker's trojan - # https://win10tweaker.ru - if ((Test-Path -Path "HKCU:\Software\Win 10 Tweaker") -or (Test-Path -Path "${env:ProgramFiles(x86)}\Win 10 Tweakеr")) - { - Write-Warning -Message $Localization.Win10TweakerWarning - Start-Process -FilePath "https://youtu.be/na93MS-1EkM" - Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } - - # Check whether Windows was destroyed by Windows10Debloater - # https://github.com/Sycnex/Windows10Debloater - if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) - { - Write-Warning -Message $Localization.SycnexWarning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } + # Check whether Windows was broken by 3rd party tweakers and trojans + $Tweakers = @{ + # https://github.com/Sycnex/Windows10Debloater + Windows10Debloater = "$env:SystemDrive\Temp\Windows10Debloater" + # https://github.com/Fs00/Win10BloatRemover + Win10BloatRemover = "$env:TEMP\.net\Win10BloatRemover" + # https://github.com/arcadesdude/BRU + "Bloatware Removal" = "$env:SystemDrive\BRU\Bloatware-Removal*.log" + # https://www.youtube.com/GHOSTSPECTRE + "Ghost Toolbox" = "$env:SystemRoot\System32\migwiz\dlmanifests\run.ghost.cmd" + # https://github.com/hellzerg/optimizer + Optimizer = "$(Get-ItemPropertyValue -Path `"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`" -Name `"{374DE290-123F-4565-9164-39C4925E467B}`")\OptimizerDownloads" + # https://win10tweaker.ru + "Win 10 Tweaker" = "HKCU:\Software\Win 10 Tweaker" + # https://forum.ru-board.com/topic.cgi?forum=5&topic=50519 + "Modern Tweaker" = "Registry::HKEY_CLASSES_ROOT\.exts\shell\open\command" + # https://boosterx.ru + BoosterX = "$env:ProgramFiles\GameModeX\GameModeX.exe" + } + foreach ($Tweaker in $Tweakers.Keys) + { + if (Test-Path -Path $Tweakers[$Tweaker]) + { + if ($Tweakers[$Tweaker] -eq "HKCU:\Software\Win 10 Tweaker") + { + Write-Warning -Message $Localization.Win10TweakerWarning + Start-Process -FilePath "https://youtu.be/na93MS-1EkM" + Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } - # Check whether Windows was destroyed by Win10BloatRemover - # https://github.com/Fs00/Win10BloatRemover - if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) - { - Write-Warning -Message $Localization.Fs00Warning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit + Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker) + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } } # Check whether LGPO.exe exists in the bin folder diff --git a/src/Sophia_Script_for_Windows_11/Sophia.ps1 b/src/Sophia_Script_for_Windows_11/Sophia.ps1 index e07c0d32..e3b3181e 100644 --- a/src/Sophia_Script_for_Windows_11/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11/Sophia.ps1 @@ -31,7 +31,7 @@ Editions: Home/Pro/Enterprise .NOTES - To use the TAB completion for functions and their arguments dot source the Function.ps1 script first: + To use the TAB completion for functions and their arguments dot source the Functions.ps1 script first: . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 index 3065f51a..1f132663 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nIhr Windows 11-Build: {0}.{1}. Unt UnsupportedLanguageMode = \nDie PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = \nDer angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = \nSie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen -UnsupportedISE = \nDas Skript unterstützt nicht die Ausführung über Windows PowerShell ISE +UnsupportedHost = \nDas Skript unterstützt nicht die Ausführung über {0} Win10TweakerWarning = \nWahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -SycnexWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. -Fs00Warning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +TweakerWarning = \nDie Stabilität des Windows-Betriebssystems kann durch die Verwendung des {0} beeinträchtigt worden sein. Installieren Sie Windows vorsichtshalber neu bin = \nIm Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = \nDer PC wartet darauf, neu gestartet zu werden UnsupportedRelease = \nNeue Version gefunden diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 index 8409de00..1da9a51b 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nYour Windows 11 build: {0}.{1}. Su UnsupportedLanguageMode = \nThe PowerShell session in running in a limited language mode LoggedInUserNotAdmin = \nThe logged-on user doesn't have admin rights UnsupportedPowerShell = \nYou're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version -UnsupportedISE = \nThe script doesn't support running via Windows PowerShell ISE +UnsupportedHost = \nThe script doesn't support running via {0} Win10TweakerWarning = \nProbably your OS was infected via the Win 10 Tweaker backdoor -SycnexWarning = \nThe Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows -Fs00Warning = \nThe Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nThe Windows stability may have been compromised by using {0}. Just in case, reinstall Windows bin = \nThere are no files in the bin folder. Please, re-download the archive RebootPending = \nThe PC is waiting to be restarted UnsupportedRelease = \nA new version found diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 index b7da61c5..0c112de4 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nSu build de Windows 11: {0}.{1}. C UnsupportedLanguageMode = \nSesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = \nEl usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = \nEstás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell -UnsupportedISE = \nEl script no es compatible con la ejecución a través de Windows PowerShell ISE +UnsupportedHost = \nEl script no es compatible con la ejecución a través de {0} Win10TweakerWarning = \nProbablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -SycnexWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows -Fs00Warning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows +TweakerWarning = \nLa estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el {0}. Por si acaso, reinstala Windows bin = \nNo hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = \nEl PC está esperando a ser reiniciado UnsupportedRelease = \nUna nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index 19bb17c6..1c9e735b 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nVotre version de Windows 11 : {0}. UnsupportedLanguageMode = \nLa session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = \nL'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = \nVous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell -UnsupportedISE = \nLe script ne supporte pas l'exécution via Windows PowerShell ISE +UnsupportedHost = \nLe script ne supporte pas l'exécution via {0} Win10TweakerWarning = \nVotre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -SycnexWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows -Fs00Warning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows +TweakerWarning = \nLa stabilité de l'OS Windows peut avoir été compromise par l'utilisation du {0}. Au cas où, réinstallez Windows bin = \nIl n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = \nLe PC attend d'être redémarré UnsupportedRelease = \nNouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index ba587fe2..8268224e 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nAz Ön Windows 11 építése: {0}. UnsupportedLanguageMode = \nA PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = \nA bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = \nA PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban -UnsupportedISE = \nA szkript nem támogatja a Windows PowerShell ISE futtatását +UnsupportedHost = \nA szkript nem támogatja a {0} futtatását Win10TweakerWarning = \nValószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -SycnexWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows -Fs00Warning = \nA Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows +TweakerWarning = \nA Windows operációs rendszer stabilitását veszélyeztethette a {0}. A biztonság kedvéért telepítse újra a Windowst bin = \nA bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = \nA számítógép újraindításra vár UnsupportedRelease = \nÚj verzió érhető el diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 index 5be4544f..b5153679 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nLa tua build di Windows 11 {0}.{1} UnsupportedLanguageMode = \nLa sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = \nL'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = \nStai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata -UnsupportedISE = \nLo script non supporta l'esecuzione tramite Windows PowerShell ISE +UnsupportedHost = \nLo script non supporta l'esecuzione tramite {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -SycnexWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows -Fs00Warning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows +TweakerWarning = \nLa stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello {0}. Per sicurezza, reinstallare Windows bin = \nNon ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = \nIl PC è in attesa di essere riavviato UnsupportedRelease = \nNuova versione trovata diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 index 9279fc8b..9a5fe143 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nTwoja wersja systemu Windows 11: { UnsupportedLanguageMode = \nSesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = \nZalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = \nPróbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell -UnsupportedISE = \nSkrypt nie może być uruchamiany w Windows PowerShell ISE +UnsupportedHost = \nSkrypt nie może być uruchamiany w {0} Win10TweakerWarning = \nPrawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -SycnexWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows -Fs00Warning = \nStabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows +TweakerWarning = \nStabilność systemu Windows mogła zostać naruszona przez użycie {0}. Na wszelki wypadek przeinstaluj system Windows bin = \nW folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = \nKomputer oczekuje na ponowne uruchomienie UnsupportedRelease = \nZnaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index 5894a001..61be66ef 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nLa tua build di Windows 11: {0}.{1 UnsupportedLanguageMode = \nA sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = \nO usuário logado não tem direitos de administrador UnsupportedPowerShell = \nVocê está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell -UnsupportedISE = \nO guião não suporta a execução através do Windows PowerShell ISE +UnsupportedHost = \nO guião não suporta a execução através do {0} Win10TweakerWarning = \nProbabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -SycnexWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows -Fs00Warning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows +TweakerWarning = \nA estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do {0}. Só por precaução, reinstale o Windows bin = \nNão existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = \nO PC está esperando para ser reiniciado UnsupportedRelease = \nNova versão encontrada diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index e72d04c4..8d5add2d 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -4,11 +4,10 @@ UpdateWarning = \nВаш билд Windows 11: {0}.{1 UnsupportedLanguageMode = \nСессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = \nТекущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = \nВы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell -UnsupportedISE = \nСкрипт не поддерживает работу через Windows PowerShell ISE -Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС -Fs00Warning = \nСтабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС -bin = \nВ папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив +UnsupportedHost = \nСкрипт не поддерживает работу через {0} +Win10TweakerWarning = \nВаша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном +TweakerWarning = \nСтабильность Windows могла быть нарушена использованием {0}. В целях профилактики переустановите ОС +bin = \nВ папке bin отсутствуют файлы. Пожалуйста, перекачайте архив RebootPending = \nКомпьютер ожидает перезагрузки UnsupportedRelease = \nОбнаружена новая версия CustomizationWarning = \nВы настроили все функции в пресет-файле {0} перед запуском Sophia Script? diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index 15faa71e..8c4daa5e 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nWindows 11 yapınız: {0}.{1}. Des UnsupportedLanguageMode = \nSınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = \nOturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = \nKomut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın -UnsupportedISE = \nKomut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor +UnsupportedHost = \nKomut dosyası, {0} üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = \nMuhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -SycnexWarning = \nWindows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin -Fs00Warning = \nWindows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +TweakerWarning = \nWindows işletim sistemi kararlılığı, {0} betiği kullanılarak tehlikeye atılmış olabilir. Her ihtimale karşı, Windows'u yeniden yükleyin bin = \nbin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = \nPC yeniden başlatılmayı bekliyor UnsupportedRelease = \nYeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index d668869a..6aa45c37 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \nВаш білд Windows 11: {0}.{1 UnsupportedLanguageMode = \nСесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = \nПоточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = \nВи намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell -UnsupportedISE = \nСкрипт не підтримує роботу через Windows PowerShell ISE +UnsupportedHost = \nСкрипт не підтримує роботу через {0} Win10TweakerWarning = \nВаша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -SycnexWarning = \nСтабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows -Fs00Warning = \nСтабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows +TweakerWarning = \nСтабільність вашої ОС могла бути порушена використанням {0}. Про всяк випадок перевстановіть Windows bin = \nУ папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = \nКомп'ютер очікує на перезавантаження UnsupportedRelease = \nВиявлено нову версію diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index 262a7625..6c5bf8cd 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -4,10 +4,9 @@ UpdateWarning = \n您的Windows 11构建: {0}.{1}。 UnsupportedLanguageMode = \nPowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = \n登录的用户没有管理员的权利 UnsupportedPowerShell = \n你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 -UnsupportedISE = \n该脚本不支持通过Windows PowerShell ISE运行 +UnsupportedHost = \n该脚本不支持通过{0}运行 Win10TweakerWarning = \n可能你的操作系统是通过"Win 10 Tweaker"后门感染的 -SycnexWarning = \n使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 -Fs00Warning = \n使用"Windows 10 Bloat Remover and Tweaker"可能会影响 Windows 稳定性。 预防性地,重新安装 Windows +TweakerWarning = \nWindows的稳定性可能已被{0}所破坏。预防性地,重新安装整个操作系统 bin = \nbin文件夹中没有文件。请重新下载该档案 RebootPending = \n计算机正在等待重新启动 UnsupportedRelease = \n找到新版本 diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 index 01b244eb..7161c9be 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 @@ -1,4 +1,4 @@ -@{ +@{ RootModule = '..\Module\Sophia.psm1' ModuleVersion = '6.4.1' GUID = '109cc881-c42b-45af-a74a-550781989d6a' diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 index 7d354e20..ab6368e8 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 @@ -235,45 +235,53 @@ function Checks exit } - # Check whether the script was run via PowerShell ISE - if ($Host.Name -match "ISE") + # Check whether the script was run in PowerShell ISE or VS Code + if (($Host.Name -match "ISE") -or ($env:TERM_PROGRAM -eq "vscode")) { - Write-Warning -Message $Localization.UnsupportedISE + Write-Warning -Message ($Localization.UnsupportedHost -f $Host.Name.replace("Host", "")) Start-Process -FilePath "https://t.me/sophia_chat" Start-Process -FilePath "https://discord.gg/sSryhaEv79" exit } - # Check whether the OS was infected by the Win 10 Tweaker's trojan - # https://win10tweaker.ru - if ((Test-Path -Path "HKCU:\Software\Win 10 Tweaker") -or (Test-Path -Path "${env:ProgramFiles(x86)}\Win 10 Tweakеr")) - { - Write-Warning -Message $Localization.Win10TweakerWarning - Start-Process -FilePath "https://youtu.be/na93MS-1EkM" - Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } - - # Check whether Windows was destroyed by Windows10Debloater - # https://github.com/Sycnex/Windows10Debloater - if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) - { - Write-Warning -Message $Localization.SycnexWarning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit - } + # Check whether Windows was broken by 3rd party tweakers and trojans + $Tweakers = @{ + # https://github.com/Sycnex/Windows10Debloater + Windows10Debloater = "$env:SystemDrive\Temp\Windows10Debloater" + # https://github.com/Fs00/Win10BloatRemover + Win10BloatRemover = "$env:TEMP\.net\Win10BloatRemover" + # https://github.com/arcadesdude/BRU + "Bloatware Removal" = "$env:SystemDrive\BRU\Bloatware-Removal*.log" + # https://www.youtube.com/GHOSTSPECTRE + "Ghost Toolbox" = "$env:SystemRoot\System32\migwiz\dlmanifests\run.ghost.cmd" + # https://github.com/hellzerg/optimizer + Optimizer = "$(Get-ItemPropertyValue -Path `"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders`" -Name `"{374DE290-123F-4565-9164-39C4925E467B}`")\OptimizerDownloads" + # https://win10tweaker.ru + "Win 10 Tweaker" = "HKCU:\Software\Win 10 Tweaker" + # https://forum.ru-board.com/topic.cgi?forum=5&topic=50519 + "Modern Tweaker" = "Registry::HKEY_CLASSES_ROOT\.exts\shell\open\command" + # https://boosterx.ru + BoosterX = "$env:ProgramFiles\GameModeX\GameModeX.exe" + } + foreach ($Tweaker in $Tweakers.Keys) + { + if (Test-Path -Path $Tweakers[$Tweaker]) + { + if ($Tweakers[$Tweaker] -eq "HKCU:\Software\Win 10 Tweaker") + { + Write-Warning -Message $Localization.Win10TweakerWarning + Start-Process -FilePath "https://youtu.be/na93MS-1EkM" + Start-Process -FilePath "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } - # Check whether Windows was destroyed by Win10BloatRemover - # https://github.com/Fs00/Win10BloatRemover - if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) - { - Write-Warning -Message $Localization.Fs00Warning - Start-Process -FilePath "https://t.me/sophia_chat" - Start-Process -FilePath "https://discord.gg/sSryhaEv79" - exit + Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker) + Start-Process -FilePath "https://t.me/sophia_chat" + Start-Process -FilePath "https://discord.gg/sSryhaEv79" + exit + } } # Check whether all necessary files exist in the bin folder diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 index 9518c54e..d4c6a0fc 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 @@ -31,7 +31,7 @@ Editions: Home/Pro/Enterprise .NOTES - To use the TAB completion for functions and their arguments dot source the Function.ps1 script first: + To use the TAB completion for functions and their arguments dot source the Functions.ps1 script first: . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file