diff --git a/Sophia/Sophia.ps1 b/Sophia/Sophia.ps1
index 133044e7..80eb18aa 100644
--- a/Sophia/Sophia.ps1
+++ b/Sophia/Sophia.ps1
@@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Windows 10 Sophia Script"
- Version: v5.1
- Date: 05.10.2020
+ Version: v5.1.1
+ Date: 09.10.2020
Copyright (c) 2020 farag & oZ-Zo
Thanks to all http://forum.ru-board.com members involved
@@ -15,7 +15,7 @@
and comment out/uncomment those functions that you do/do not want to be executed
Every tweak in a preset file has its' corresponding function to restore the default settings
- Running the script is best done on a fresh install because running it on tweaked system may result in errors occurring
+ Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring
PowerShell must be run with elevated privileges
Set execution policy to be able to run scripts only in the current PowerShell session:
@@ -34,8 +34,13 @@
https://github.com/farag2/Windows-10-Sophia-Script
#>
+#Requires -RunAsAdministrator
+#Requires -Version 5.1
+
+Clear-Host
+
Remove-Module -Name Sophia -Force -ErrorAction Ignore
-Import-Module -Name .\Sophia.psm1 -Force
+Import-Module -Name .\Sophia.psd1 -PassThru -Force
Import-LocalizedData -BindingVariable Global:Localization
@@ -492,11 +497,11 @@ SetTempPath
# Enable Windows 260 character path limit
# Включить ограничение Windows на 260 символов в пути
-# EnableWin32LongPaths
+EnableWin32LongPaths
# Disable Windows 260 character path limit
# Отключить ограничение Windows на 260 символов в пути
-DisableWin32LongPaths
+# DisableWin32LongPaths
# Display the Stop error information on the BSoD
# Отображать Stop-ошибку при появлении BSoD
diff --git a/Sophia/Sophia.psd1 b/Sophia/Sophia.psd1
new file mode 100644
index 00000000..0812e547
Binary files /dev/null and b/Sophia/Sophia.psd1 differ
diff --git a/Sophia/Sophia.psm1 b/Sophia/Sophia.psm1
index 6906d4ce..b3347c97 100644
--- a/Sophia/Sophia.psm1
+++ b/Sophia/Sophia.psm1
@@ -2,8 +2,8 @@
.SYNOPSIS
"Windows 10 Sophia Script" is a set of functions for Windows 10 fine-tuning and automating the routine tasks
- Version: v5.1
- Date: 08.10.2020
+ Version: v5.1.1
+ Date: 09.10.2020
Copyright (c) 2020 farag & oZ-Zo
Thanks to all http://forum.ru-board.com members involved
@@ -37,11 +37,6 @@
#region Check
function Check
{
- #Requires -RunAsAdministrator
- #Requires -Version 5.1
-
- Clear-Host
-
Set-StrictMode -Version Latest
# Сlear the $Error variable
@@ -57,7 +52,6 @@ function Check
Write-Warning -Message $Localization.UnsupportedOSBitness
break
}
- Default {}
}
# Turn off Controlled folder access to let the script proceed
@@ -73,7 +67,6 @@ function Check
# Открыть раздел "Защита от программ-шатажистов"
Start-Process -FilePath windowsdefender://RansomwareProtection
}
- Default {}
}
}
#endregion Check
@@ -146,6 +139,7 @@ function DisableWindowsErrorReporting
{
if ((Get-WindowsEdition -Online).Edition -notmatch "Core*")
{
+ Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force
}
}
@@ -154,6 +148,7 @@ function DisableWindowsErrorReporting
# Включить отчеты об ошибках Windows для текущего пользователя
function EnableWindowsErrorReporting
{
+ Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction SilentlyContinue
}
@@ -228,10 +223,6 @@ function DisableScheduledTasks
# Синхронизирует последние параметры со службой функций семьи учетных записей Майкрософт
"FamilySafetyRefreshTask",
- # Windows Error Reporting task to process queued reports
- # Задача отчетов об ошибках обрабатывает очередь отчетов
- "QueueReporting",
-
# XblGameSave Standby Task
"XblGameSaveTask"
)
@@ -300,10 +291,6 @@ function EnableScheduledTasks
# Синхронизирует последние параметры со службой функций семьи учетных записей Майкрософт
"FamilySafetyRefreshTask",
- # Windows Error Reporting task to process queued reports
- # Задача отчетов об ошибках обрабатывает очередь отчетов
- "QueueReporting",
-
# XblGameSave Standby Task
"XblGameSaveTask"
)
@@ -1485,8 +1472,8 @@ function SetDefaultTempPath
# Перезапустить службу "Диспетчер печати" (Spooler)
Restart-Service -Name Spooler -Force
- Stop-Process -Name OneDrive -Force -ErrorAction SilentlyContinue
- Stop-Process -Name FileCoAuth -Force -ErrorAction SilentlyContinue
+ Stop-Process -Name OneDrive -Force -ErrorAction Ignore
+ Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore
Remove-Item -Path $env:SystemDrive\Temp -Recurse -Force -ErrorAction Ignore
}
@@ -4129,30 +4116,15 @@ $app = "{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\cleanmgr.exe"
$Template = [Windows.UI.Notifications.ToastTemplateType]::ToastImageAndText01
[xml]$ToastTemplate = ([Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent($Template).GetXml())
-if ($PSUICulture -eq "ru-RU")
-{
- [xml]$ToastTemplate = @"
+[xml]$ToastTemplate = @"
- Очистка неиспользуемых файлов и обновлений Windows начнется через минуту
+ $($Localization.CleanUpTaskToast)
"@
-}
-else
-{
- [xml]$ToastTemplate = @"
-
-
-
- Cleaning up unused Windows files and updates starts in a minute
-
-
-
-"@
-}
$ToastXml = New-Object -TypeName Windows.Data.Xml.Dom.XmlDocument
$ToastXml.LoadXml($ToastTemplate.OuterXml)
@@ -4388,8 +4360,8 @@ function RemoveProtectedFolders
if ($null -ne (Get-MpPreference).ControlledFolderAccessProtectedFolders)
{
Write-Verbose -Message $Localization.RemoveProtectedFoldersList -Verbose
- Remove-MpPreference -ControlledFolderAccessProtectedFolders (Get-MpPreference).ControlledFolderAccessProtectedFolders -Force
(Get-MpPreference).ControlledFolderAccessProtectedFolders | Format-Table -AutoSize -Wrap
+ Remove-MpPreference -ControlledFolderAccessProtectedFolders (Get-MpPreference).ControlledFolderAccessProtectedFolders -Force
}
}
@@ -4498,8 +4470,8 @@ function RemoveDefenderExclusionFolders
{
if ($null -ne (Get-MpPreference).ExclusionPath)
{
- Write-Verbose -Message "Removed excluded folders:" -Verbose
- $ExcludedFolders = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force | Where-Object -FilterScript {$_.Attributes -match "Directory"}).FullName
+ Write-Verbose -Message $Localization.RemoveDefenderExclusionFoldersList -Verbose
+ $ExcludedFolders = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.Attributes -match "Directory"}).FullName
$ExcludedFolders | Format-Table -AutoSize -Wrap
Remove-MpPreference -ExclusionPath $ExcludedFolders -Force
}
@@ -4555,8 +4527,8 @@ function RemoveDefenderExclusionFiles
{
if ($null -ne (Get-MpPreference).ExclusionPath)
{
- Write-Verbose -Message "Removed excluded files:" -Verbose
- $ExcludedFiles = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force | Where-Object -FilterScript {$_.Attributes -notmatch "Directory"}).FullName
+ Write-Verbose -Message $Localization.RemoveDefenderExclusionFilesList -Verbose
+ $ExcludedFiles = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.Attributes -notmatch "Directory"}).FullName
$ExcludedFiles | Format-Table -AutoSize -Wrap
Remove-MpPreference -ExclusionPath $ExcludedFiles -Force
}
diff --git a/Sophia/de-DE/Sophia.psd1 b/Sophia/de-DE/Sophia.psd1
new file mode 100644
index 00000000..f59c5e04
--- /dev/null
+++ b/Sophia/de-DE/Sophia.psd1
@@ -0,0 +1,178 @@
+# Entfernen Sie keine doppelten Anführungszeichen, wenn diese vorhanden sind
+
+ConvertFrom-StringData -StringData @'
+UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64
+ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert
+
+# OneDrive
+OneDriveUninstalling = Deinstalliere OneDrive...
+OneDriveNotEmptyFolder = "Der Ordner $OneDriveUserFolder ist nicht leer.Löschen Sie ihn manuell. "
+OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll ist blockiert. Löschen Sie es manuell"
+OneDriveInstalling = OneDriveSetup.exe wird gestartet...
+OneDriveDownloading = OneDrive herunterladen... ~33 MB
+NoInternetConnection = Keine Internetverbindung
+
+# SetTempPath
+LOCALAPPDATANotEmptyFolder = "Der Ordner $env:LOCALAPPDATA\\Temp ist nicht leer. Löschen Sie ihn manuell und versuchen Sie es erneut"
+
+# WSL
+WSLUpdateDownloading = Herunterladen des Linux-Kernel-Update-Pakets... ~14 MB
+WSLUpdateInstalling = Installieren des Linux-Kernel-Update-Pakets...
+
+# DisableWindowsCapabilities
+FODWindowTitle = Optionale Funktionen (FODv2) zum Entfernen
+FODWindowButton = Deinstallieren
+DialogBoxOpening = Dialogfeld anzeigen...
+NoData = Nichts zum Anzeigen
+
+# EnableWindowsSandbox/DisableWindowsSandbox
+EnableHardwareVT = Virtualisierung in UEFI aktivieren
+
+# ChangeUserShellFolderLocation
+UserShellFolderNotEmpty = "Der Ordner $UserShellFolderRegValue ist nicht leer. Verschieben Sie sie manuell an einen neuen Speicherort"
+RetrievingDrivesList = Laufwerksliste abrufen...
+# Desktop
+DesktopChangeFolderRequest = Möchten Sie den Speicherort des Desktop Ordners ändern?
+DesktopFilesWontBeMoved = Dateien werden nicht verschoben
+DesktopFolderChange = Ändern
+DesktopFolderSkip = Überspringen
+DesktopDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Desktop Ordner erstellt werden soll
+DesktopSkipped = Übersprungen
+# Documents
+DocumentsChangeFolderRequest = Möchten Sie den Speicherort des Ordners Dokumente ändern?
+DocumentsFilesWontBeMoved = Dateien werden nicht verschoben
+DocumentsFolderChange = Ändern
+DocumentsFolderSkip = Überspringen
+DocumentsDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Dokumente erstellt werden soll
+DocumentsSkipped = Übersprungen
+# Downloads
+DownloadsChangeFolderRequest = Möchten Sie den Speicherort des Download Ordners ändern?
+DownloadsFilesWontBeMoved = Dateien werden nicht verschoben
+DownloadsFolderChange = Ändern
+DownloadsFolderSkip = Überspringen
+DownloadsDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Downloads erstellt werden soll
+DownloadsSkipped = Übersprungen
+# Music
+MusicChangeFolderRequest = Möchten Sie den Speicherort des Musikordners ändern?
+MusicFilesWontBeMoved = Dateien werden nicht verschoben
+MusicFolderChange = Ändern
+MusicFolderSkip = Überspringen
+MusicDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Musikordner erstellt werden soll
+MusicSkipped = Übersprungen
+# Pictures
+PicturesChangeFolderRequest = Möchten Sie den Speicherort des Ordner Bilder ändern?
+PicturesFilesWontBeMoved = Dateien werden nicht verschoben
+PicturesFolderChange = Ändern
+PicturesFolderSkip = Überspringen
+PicturesDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Bilder erstellt werden soll
+PicturesSkipped = Übersprungen
+# Videos
+VideosChangeFolderRequest = Möchten Sie den Speicherort des Video Ordners ändern?
+VideosFilesWontBeMoved = Dateien werden nicht verschoben
+VideosFolderChange = Ändern
+VideosFolderSkip = Überspringen
+VideosDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Videos erstellt werden soll
+VideosSkipped = Übersprungen
+
+# SetDefaultUserShellFolderLocation
+# Desktop
+DesktopDefaultFolder = Möchten Sie den Speicherort des Desktop Ordners auf den Standardwert ändern?
+# Documents
+DocumentsDefaultFolder = Möchten Sie den Speicherort des Ordners Dokumente auf den Standardwert ändern?
+# Downloads
+DownloadsDefaultFolder = Möchten Sie den Speicherort des Download Ordners auf den Standardwert ändern?
+# Music
+MusicDefaultFolder = Möchten Sie den Speicherort des Musikordners auf den Standardwert ändern?
+# Pictures
+PicturesDefaultFolder = Möchten Sie den Speicherort des Ordners Bilder auf den Standardwert ändern?
+# Videos
+VideosDefaultFolder = Möchten Sie den Speicherort des Video Ordners auf den Standardwert ändern?
+
+# DisableReservedStorage
+ReservedStorageIsInUse = Dieser Vorgang wird nicht unterstützt, wenn reservierter Speicher verwendet wird. Bitte warten Sie, bis alle Wartungsvorgänge abgeschlossen sind, und versuchen Sie es später erneut
+
+# PinControlPanel/PinDevicesPrinters/PinCommandPrompt
+syspinDownloading = Syspin herunterladen... ~20 KB
+ControlPanelPinning = "Die Verknüpfung $ControlPanelLocalizedName wird an Start angeheftet"
+DevicesPrintersPinning = "Die Verknüpfung $DevicesAndPrintersLocalizedName wird an Start angeheftet"
+CMDPinning = Die Verknüpfung zur Eingabeaufforderung wird an Start angeheftet
+
+# UninstallUWPApps
+UninstallUWPForAll = Deinstallieren für alle Benutzer
+UninstallUWPTitle = Zu deinstallierende UWP-Pakete
+UninstallUWPUninstallButton = Deinstallieren
+
+# SetAppGraphicsPerformance
+GraphicsPerformanceTitle = Grafik-Leistungspräferenz
+GraphicsPerformanceRequest = Möchten Sie die Grafikleistungseinstellung einer App Ihrer Wahl auf "Hohe Leistung" setzen?"?
+GraphicsPerformanceAdd = Hinzufügen
+GraphicsPerformanceSkip = Überspringen
+GraphicsPerformanceFilter = *.exe|*.exe|Alle Dateien (*.*)|*.*
+GraphicsPerformanceSkipped = Übersprungen
+
+# CreateCleanUpTask
+CleanUpTaskToast = Die Bereinigung nicht verwendeter Windows-Dateien und -Updates beginnt in einer Minute
+CleanUpTaskDescription = Bereinigen nicht verwendeter Windows-Dateien und -Updates mithilfe der integrierten App zur Datenträgerbereinigung. Verwenden Sie zum Dekodieren des codierten Befehls [System.Text.Encoding] :: UTF8.GetString ([System.Convert] :: FromBase64String ("string")).
+
+# CreateSoftwareDistributionTask
+SoftwareDistributionTaskDescription = Der %SystemRoot%\\SoftwareDistribution\\Download
+
+# CreateTempTask
+TempTaskDescription = Bereinigen des %TEMP% Ordners
+
+# AddProtectedFolders
+AddProtectedFoldersTitle = Kontrollierter Ordnerzugriff
+AddProtectedFoldersRequest = Möchten Sie den kontrollierten Ordnerzugriff aktivieren und den Ordner angeben, den Microsoft Defender vor schädlichen Apps und Bedrohungen schützt??
+AddProtectedFoldersAdd = Hinzufügen
+AddProtectedFoldersSkip = Überspringen
+AddProtectedFoldersDescription = Wählen Sie einen Ordner
+AddProtectedFoldersSkipped = Übersprungen
+
+# RemoveProtectedFolders
+RemoveProtectedFoldersList = Ordner entfernt
+
+# AddAppControlledFolder
+AddAppControlledFolderTitle = Kontrollierter Ordnerzugriff
+AddAppControlledFolderRequest = Möchten Sie eine App angeben, die über den Zugriff auf kontrollierte Ordner zulässig ist?
+AddAppControlledFolderAdd = Hinzufügen
+AddAppControlledFolderSkip = Überspringen
+AddAppControlledFolderFilter = *.exe|*.exe|Alle Dateien (*.*)|*.*
+AddAppControlledFolderSkipped = Übersprungen
+
+# RemoveAllowedAppsControlledFolder
+RemoveAllowedAppsControlledFolderList = Zulässige Apps entfernt
+
+# AddDefenderExclusionFolder
+AddDefenderExclusionFolderTitle = Microsoft Defender
+AddDefenderExclusionFolderRequest = Möchten Sie einen Ordner angeben, der von Microsoft Defender-Malware-Scans ausgeschlossen werden soll?
+AddDefenderExclusionFolderAdd = Hinzufügen
+AddDefenderExclusionFolderSkip = Überspringen
+AddDefenderExclusionFolderDescription = Wählen Sie einen Ordner
+AddDefenderExclusionFolderSkipped = Übersprungen
+
+# RemoveDefenderExclusionFolders
+RemoveDefenderExclusionFoldersList = Ausgeschlossene Ordner entfernt
+
+# AddDefenderExclusionFile
+AddDefenderExclusionFileTitle = Microsoft Defender
+AddDefenderExclusionFileRequest = Möchten Sie eine Datei angeben, die von Microsoft Defender-Malware-Scans ausgeschlossen werden soll?
+AddDefenderExclusionFileAdd = Hinzufügen
+AddDefenderExclusionFileSkip = Überspringen
+AddDefenderExclusionFileFilter = Alle Dateien (*.*)|*.*
+AddDefenderExclusionFileSkipped = Übersprungen
+
+# RemoveDefenderExclusionFiles
+RemoveDefenderExclusionFilesList = Ausgeschlossene Dateien entfernt
+
+# CreateEventViewerCustomView
+EventViewerCustomViewName = Prozesserstellung
+EventViewerCustomViewDescription = Neue Prozessereignisse und Befehlszeilenüberwachung
+
+# Refresh
+RestartWarning = Starten Sie Ihren PC neu
+
+# Errors
+ErrorsLine = Zeile
+ErrorsFile = Datei
+ErrorsMessage = Fehler/Warnungen
+'@
diff --git a/Sophia/en-US/Sophia.psd1 b/Sophia/en-US/Sophia.psd1
index ac466536..2c73cc27 100644
--- a/Sophia/en-US/Sophia.psd1
+++ b/Sophia/en-US/Sophia.psd1
@@ -1,172 +1,178 @@
-ConvertFrom-StringData -StringData @'
- # Do not remove double quotes in double-quoted strings where they are present
-
- # Check
- UnsupportedOSBitness = The script supports Windows 10 x64 only
- ControlledFolderAccessDisabled = Controlled folder access disabled
-
- # OneDrive
- OneDriveUninstalling = Uninstalling OneDrive...
- OneDriveNotEmptyFolder = "The $OneDriveUserFolder folder is not empty `nDelete it manually"
- OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll is blocked `nDelete it manually"
- OneDriveInstalling = OneDriveSetup.exe is starting...
- OneDriveDownloading = Downloading OneDrive... ~33 MB
- NoInternetConnection = No Internet connection
-
- # SetTempPath
- LOCALAPPDATANotEmptyFolder = "The $env:LOCALAPPDATA\\Temp folder is not empty `nDeleteClear it manually and try again"
-
- # WSL
- WSLUpdateDownloading = Downloading the Linux kernel update package... ~14 MB
- WSLUpdateInstalling = Installing the Linux kernel update package...
-
- # DisableWindowsCapabilities
- FODWindowTitle = Optional features (FODv2) to remove
- FODWindowButton = Uninstall
- DialogBoxOpening = Displaying the dialog box...
- NoData = Nothing to display
-
- # EnableWindowsSandbox/DisableWindowsSandbox
- EnableHardwareVT = Enable Virtualization in UEFI
-
- # ChangeUserShellFolderLocation function
- UserShellFolderNotEmpty = "Some files left in the $UserShellFolderRegValue folder `nMove them manually to a new location"
- RetrievingDrivesList = Retrieving drives list...
- # Desktop
- DesktopChangeFolderRequest = Would you like to change the location of the Desktop folder?
- DesktopFilesWontBeMoved = Files will not be moved
- DesktopFolderChange = Change
- DesktopFolderSkip = Skip
- DesktopDriveSelect = Select the drive within the root of which the Desktop folder will be created
- DesktopSkipped = Skipped
- # Documents
- DocumentsChangeFolderRequest = Would you like to change the location of the Documents folder?
- DocumentsFilesWontBeMoved = Files will not be moved
- DocumentsFolderChange = Change
- DocumentsFolderSkip = Skip
- DocumentsDriveSelect = Select the drive within the root of which the Documents folder will be created
- DocumentsSkipped = Skipped
- # Downloads
- DownloadsChangeFolderRequest = Would you like to change the location of the Downloads folder?
- DownloadsFilesWontBeMoved = Files will not be moved
- DownloadsFolderChange = Change
- DownloadsFolderSkip = Skip
- DownloadsDriveSelect = Select the drive within the root of which the Downloads folder will be created
- DownloadsSkipped = Skipped
- # Music
- MusicChangeFolderRequest = Would you like to change the location of the Music folder?
- MusicFilesWontBeMoved = Files will not be moved
- MusicFolderChange = Change
- MusicFolderSkip = Skip
- MusicDriveSelect = Select the drive within the root of which the Music folder will be created
- MusicSkipped = Skipped
- # Pictures
- PicturesChangeFolderRequest = Would you like to change the location of the Pictures folder?
- PicturesFilesWontBeMoved = Files will not be moved
- PicturesFolderChange = Change
- PicturesFolderSkip = Skip
- PicturesDriveSelect = Select the drive within the root of which the Pictures folder will be created
- PicturesSkipped = Skipped
- # Videos
- VideosChangeFolderRequest = Would you like to change the location of the Videos folder?
- VideosFilesWontBeMoved = Files will not be moved
- VideosFolderChange = Change
- VideosFolderSkip = Skip
- VideosDriveSelect = Select the drive within the root of which the Videos folder will be created
- VideosSkipped = Skipped
-
- # SetDefaultUserShellFolderLocation
- # Desktop
- DesktopDefaultFolder = Would you like to change the location of the Desktop folder to the default value?
- # Documents
- DocumentsDefaultFolder = Would you like to change the location of the Documents folder to the default value?
- # Downloads
- DownloadsDefaultFolder = Would you like to change the location of the Downloads folder to the default value?
- # Music
- MusicDefaultFolder = Would you like to change the location of the Music folder to the default value?
- # Pictures
- PicturesDefaultFolder = Would you like to change the location of the Pictures folder to the default value?
- # Videos
- VideosDefaultFolder = Would you like to change the location of the Videos folder to the default value?
-
- # DisableReservedStorage
- ReservedStorageIsInUse = This operation is not supported when reserved storage is in use `nPlease wait for any servicing operations to complete and then try again later
-
- # PinControlPanel/PinDevicesPrinters/PinCommandPrompt
- syspinDownloading = Downloading syspin... ~20 KB
- ControlPanelPinning = "$ControlPanelLocalizedName shortcut is being pinned to Start"
- DevicesPrintersPinning = "$DevicesAndPrintersLocalizedName shortcut is being pinned to Start"
- CMDPinning = Command Prompt shortcut is being pinned to Start
-
- # UninstallUWPApps
- UninstallUWPForAll = Uninstall for All Users
- UninstallUWPTitle = UWP Packages to Uninstall
- UninstallUWPUninstallButton = Uninstall
-
- # SetAppGraphicsPerformance
- GraphicsPerformanceTitle = Graphics performance preference
- GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"?
- GraphicsPerformanceAdd = Add
- GraphicsPerformanceSkip = Skip
- GraphicsPerformanceFilter = *.exe|*.exe|All Files (*.*)|*.*
- GraphicsPerformanceSkipped = Skipped
-
- # CreateCleanUpTask
- CleanUpTaskDescription = Cleaning up unused Windows files and updates using built-in Disk cleanup app. To decode encoded command use [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("string"))
-
- # CreateSoftwareDistributionTask
- SoftwareDistributionTaskDescription = The %SystemRoot%\\SoftwareDistribution\\Download
-
- # CreateTempTask
- TempTaskDescription = The %TEMP% folder cleaning
-
- # AddProtectedFolders
- AddProtectedFoldersTitle = Controlled folder access
- AddProtectedFoldersRequest = Would you like to enable Controlled folder access and specify the folder that Microsoft Defender will protect from malicious apps and threats?
- AddProtectedFoldersAdd = Add
- AddProtectedFoldersSkip = Skip
- AddProtectedFoldersDescription = Select a folder
- AddProtectedFoldersSkipped = Skipped
-
- # RemoveProtectedFolders
- RemoveProtectedFoldersList = Removed folders
-
- # AddAppControlledFolder
- AddAppControlledFolderTitle = Controlled folder access
- AddAppControlledFolderRequest = Would you like to specify an app that is allowed through Controlled Folder access?
- AddAppControlledFolderAdd = Add
- AddAppControlledFolderSkip = Skip
- AddAppControlledFolderFilter = *.exe|*.exe|All Files (*.*)|*.*
- AddAppControlledFolderSkipped = Skipped
-
- # RemoveAllowedAppsControlledFolder
- RemoveAllowedAppsControlledFolderList = Removed allowed apps
-
- # AddDefenderExclusionFolder
- AddDefenderExclusionFolderTitle = Microsoft Defender
- AddDefenderExclusionFolderRequest = Would you like to specify a folder to be excluded from Microsoft Defender malware scans?
- AddDefenderExclusionFolderAdd = Add
- AddDefenderExclusionFolderSkip = Skip
- AddDefenderExclusionFolderDescription = Select a folder
- AddDefenderExclusionFolderSkipped = Skipped
-
- # AddDefenderExclusionFile
- AddDefenderExclusionFileTitle = Microsoft Defender
- AddDefenderExclusionFileRequest = Would you like to specify a file to be excluded from Microsoft Defender malware scans?
- AddDefenderExclusionFileAdd = Add
- AddDefenderExclusionFileSkip = Skip
- AddDefenderExclusionFileFilter = All Files (*.*)|*.*
- AddDefenderExclusionFileSkipped = Skipped
-
- # CreateEventViewerCustomView
- EventViewerCustomViewName = Process Creation
- EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки
-
- # Refresh
- RestartWarning = Restart your PC
-
- # Errors
- ErrorsLine = Line
- ErrorsFile = File
- ErrorsMessage = Errors/Warnings
+# Do not remove double quotes in double-quoted strings where they are present
+
+ConvertFrom-StringData -StringData @'
+UnsupportedOSBitness = The script supports Windows 10 x64 only
+ControlledFolderAccessDisabled = Controlled folder access disabled
+
+# OneDrive
+OneDriveUninstalling = Uninstalling OneDrive...
+OneDriveNotEmptyFolder = "The $OneDriveUserFolder folder is not empty `nDelete it manually"
+OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll is blocked `nDelete it manually"
+OneDriveInstalling = OneDriveSetup.exe is starting...
+OneDriveDownloading = Downloading OneDrive... ~33 MB
+NoInternetConnection = No Internet connection
+
+# SetTempPath
+LOCALAPPDATANotEmptyFolder = "The $env:LOCALAPPDATA\\Temp folder is not empty `nDeleteClear it manually and try again"
+
+# WSL
+WSLUpdateDownloading = Downloading the Linux kernel update package... ~14 MB
+WSLUpdateInstalling = Installing the Linux kernel update package...
+
+# DisableWindowsCapabilities
+FODWindowTitle = Optional features (FODv2) to remove
+FODWindowButton = Uninstall
+DialogBoxOpening = Displaying the dialog box...
+NoData = Nothing to display
+
+# EnableWindowsSandbox/DisableWindowsSandbox
+EnableHardwareVT = Enable Virtualization in UEFI
+
+# ChangeUserShellFolderLocation
+UserShellFolderNotEmpty = "Some files left in the $UserShellFolderRegValue folder `nMove them manually to a new location"
+RetrievingDrivesList = Retrieving drives list...
+# Desktop
+DesktopChangeFolderRequest = Would you like to change the location of the Desktop folder?
+DesktopFilesWontBeMoved = Files will not be moved
+DesktopFolderChange = Change
+DesktopFolderSkip = Skip
+DesktopDriveSelect = Select the drive within the root of which the Desktop folder will be created
+DesktopSkipped = Skipped
+# Documents
+DocumentsChangeFolderRequest = Would you like to change the location of the Documents folder?
+DocumentsFilesWontBeMoved = Files will not be moved
+DocumentsFolderChange = Change
+DocumentsFolderSkip = Skip
+DocumentsDriveSelect = Select the drive within the root of which the Documents folder will be created
+DocumentsSkipped = Skipped
+# Downloads
+DownloadsChangeFolderRequest = Would you like to change the location of the Downloads folder?
+DownloadsFilesWontBeMoved = Files will not be moved
+DownloadsFolderChange = Change
+DownloadsFolderSkip = Skip
+DownloadsDriveSelect = Select the drive within the root of which the Downloads folder will be created
+DownloadsSkipped = Skipped
+# Music
+MusicChangeFolderRequest = Would you like to change the location of the Music folder?
+MusicFilesWontBeMoved = Files will not be moved
+MusicFolderChange = Change
+MusicFolderSkip = Skip
+MusicDriveSelect = Select the drive within the root of which the Music folder will be created
+MusicSkipped = Skipped
+# Pictures
+PicturesChangeFolderRequest = Would you like to change the location of the Pictures folder?
+PicturesFilesWontBeMoved = Files will not be moved
+PicturesFolderChange = Change
+PicturesFolderSkip = Skip
+PicturesDriveSelect = Select the drive within the root of which the Pictures folder will be created
+PicturesSkipped = Skipped
+# Videos
+VideosChangeFolderRequest = Would you like to change the location of the Videos folder?
+VideosFilesWontBeMoved = Files will not be moved
+VideosFolderChange = Change
+VideosFolderSkip = Skip
+VideosDriveSelect = Select the drive within the root of which the Videos folder will be created
+VideosSkipped = Skipped
+
+# SetDefaultUserShellFolderLocation
+# Desktop
+DesktopDefaultFolder = Would you like to change the location of the Desktop folder to the default value?
+# Documents
+DocumentsDefaultFolder = Would you like to change the location of the Documents folder to the default value?
+# Downloads
+DownloadsDefaultFolder = Would you like to change the location of the Downloads folder to the default value?
+# Music
+MusicDefaultFolder = Would you like to change the location of the Music folder to the default value?
+# Pictures
+PicturesDefaultFolder = Would you like to change the location of the Pictures folder to the default value?
+# Videos
+VideosDefaultFolder = Would you like to change the location of the Videos folder to the default value?
+
+# DisableReservedStorage
+ReservedStorageIsInUse = This operation is not supported when reserved storage is in use `nPlease wait for any servicing operations to complete and then try again later
+
+# PinControlPanel/PinDevicesPrinters/PinCommandPrompt
+syspinDownloading = Downloading syspin... ~20 KB
+ControlPanelPinning = "$ControlPanelLocalizedName shortcut is being pinned to Start"
+DevicesPrintersPinning = "$DevicesAndPrintersLocalizedName shortcut is being pinned to Start"
+CMDPinning = Command Prompt shortcut is being pinned to Start
+
+# UninstallUWPApps
+UninstallUWPForAll = Uninstall for All Users
+UninstallUWPTitle = UWP Packages to Uninstall
+UninstallUWPUninstallButton = Uninstall
+
+# SetAppGraphicsPerformance
+GraphicsPerformanceTitle = Graphics performance preference
+GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"?
+GraphicsPerformanceAdd = Add
+GraphicsPerformanceSkip = Skip
+GraphicsPerformanceFilter = *.exe|*.exe|All Files (*.*)|*.*
+GraphicsPerformanceSkipped = Skipped
+
+# CreateCleanUpTask
+CleanUpTaskToast = Cleaning up unused Windows files and updates starts in a minute
+CleanUpTaskDescription = Cleaning up unused Windows files and updates using built-in Disk cleanup app. To decode encoded command use [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("string"))
+
+# CreateSoftwareDistributionTask
+SoftwareDistributionTaskDescription = The %SystemRoot%\\SoftwareDistribution\\Download
+
+# CreateTempTask
+TempTaskDescription = The %TEMP% folder cleaning
+
+# AddProtectedFolders
+AddProtectedFoldersTitle = Controlled folder access
+AddProtectedFoldersRequest = Would you like to enable Controlled folder access and specify the folder that Microsoft Defender will protect from malicious apps and threats?
+AddProtectedFoldersAdd = Add
+AddProtectedFoldersSkip = Skip
+AddProtectedFoldersDescription = Select a folder
+AddProtectedFoldersSkipped = Skipped
+
+# RemoveProtectedFolders
+RemoveProtectedFoldersList = Removed folders
+
+# AddAppControlledFolder
+AddAppControlledFolderTitle = Controlled folder access
+AddAppControlledFolderRequest = Would you like to specify an app that is allowed through Controlled Folder access?
+AddAppControlledFolderAdd = Add
+AddAppControlledFolderSkip = Skip
+AddAppControlledFolderFilter = *.exe|*.exe|All Files (*.*)|*.*
+AddAppControlledFolderSkipped = Skipped
+
+# RemoveAllowedAppsControlledFolder
+RemoveAllowedAppsControlledFolderList = Removed allowed apps
+
+# AddDefenderExclusionFolder
+AddDefenderExclusionFolderTitle = Microsoft Defender
+AddDefenderExclusionFolderRequest = Would you like to specify a folder to be excluded from Microsoft Defender malware scans?
+AddDefenderExclusionFolderAdd = Add
+AddDefenderExclusionFolderSkip = Skip
+AddDefenderExclusionFolderDescription = Select a folder
+AddDefenderExclusionFolderSkipped = Skipped
+
+# RemoveDefenderExclusionFolders
+RemoveDefenderExclusionFoldersList = Excluded folders removed
+
+# AddDefenderExclusionFile
+AddDefenderExclusionFileTitle = Microsoft Defender
+AddDefenderExclusionFileRequest = Would you like to specify a file to be excluded from Microsoft Defender malware scans?
+AddDefenderExclusionFileAdd = Add
+AddDefenderExclusionFileSkip = Skip
+AddDefenderExclusionFileFilter = All Files (*.*)|*.*
+AddDefenderExclusionFileSkipped = Skipped
+
+# RemoveDefenderExclusionFiles
+RemoveDefenderExclusionFilesList = Excluded files removed
+
+# CreateEventViewerCustomView
+EventViewerCustomViewName = Process Creation
+EventViewerCustomViewDescription = Process Creation and Command-line Auditing Events
+
+# Refresh
+RestartWarning = Restart your PC
+
+# Errors
+ErrorsLine = Line
+ErrorsFile = File
+ErrorsMessage = Errors/Warnings
'@