From 2d89f2789ee2b0d98beaabb12939de7fd6e373c5 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sat, 27 Mar 2021 11:21:15 +0300 Subject: [PATCH] 27.03.2021 v5.9 --- Sophia/PowerShell 7.x/Sophia.ps1 | 55 +- Sophia/PowerShell 7.x/Sophia.psd1 | Bin 1768 -> 1768 bytes Sophia/PowerShell 7.x/Sophia.psm1 | 773 +++++++++++++++--------- Sophia/PowerShell 7.x/cn-CN/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/de-DE/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/en-US/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/es-ES/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/fr-FR/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/it-IT/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/pt-BR/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/ru-RU/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/tr-TR/Sophia.psd1 | 79 +++ Sophia/PowerShell 7.x/uk-UA/Sophia.psd1 | 79 +++ 13 files changed, 1318 insertions(+), 300 deletions(-) create mode 100644 Sophia/PowerShell 7.x/cn-CN/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/de-DE/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/en-US/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/es-ES/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/fr-FR/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/it-IT/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/pt-BR/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/ru-RU/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/tr-TR/Sophia.psd1 create mode 100644 Sophia/PowerShell 7.x/uk-UA/Sophia.psd1 diff --git a/Sophia/PowerShell 7.x/Sophia.ps1 b/Sophia/PowerShell 7.x/Sophia.ps1 index 45905d8c..6ad37e6f 100644 --- a/Sophia/PowerShell 7.x/Sophia.ps1 +++ b/Sophia/PowerShell 7.x/Sophia.ps1 @@ -2,17 +2,16 @@ .SYNOPSIS Default preset file for "Windows 10 Sophia Script" - Version: v5.8 - Date: 17.03.2021 + Version: v5.9 + Date: 27.03.2021 Copyright (c) 2015–2021 farag & oZ-Zo - https://github.com/farag2 - https://github.com/oz-zo - Thanks to all https://forum.ru-board.com members involved .DESCRIPTION Read carefully and configure the preset file before running + Comment out function with the "#" char if you don't want it to be run + Uncomment function by removing the "#" char if you want it to be run Every tweak in the 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 wrong tweaked system may result in errors occurring @@ -23,12 +22,6 @@ .EXAMPLE .\Sophia.ps1 -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps - .NOTES - https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 - https://habr.com/post/521202/ - https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ - https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .NOTES Supported Windows 10 versions Versions: 2004 (20H1)/20H2 (2009) @@ -40,6 +33,20 @@ Set execution policy to be able to run scripts only in the current PowerShell session: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force + .NOTES + https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 + https://habr.com/post/521202/ + https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ + https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ + + .LINK + https://t.me/sophianews + https://t.me/sophia_chat + + .LINK + https://github.com/farag2 + https://github.com/Inestic + .LINK https://github.com/farag2/Windows-10-Sophia-Script #> @@ -57,7 +64,7 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.8 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2015–2021" +$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script v5.9 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2015–2021" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force @@ -423,7 +430,7 @@ MeetNow -Hide # Отобразить иконку "Провести собрание" в трее # MeetNow -Show -# Unpin "Microsoft Edge" and "Microsoft Store" from the taskbar +# Unpin Microsoft Edge and Microsoft Store from the taskbar # Открепить Microsoft Edge и Microsoft Store от панели задач UnpinTaskbarEdgeStore @@ -671,14 +678,6 @@ UpdateMicrosoftProducts -Enable # При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию) # UpdateMicrosoftProducts -Disable -# Do not let UWP apps run in the background -# Не разрешать UWP-приложениям работать в фоновом режиме -BackgroundUWPApps -Disable - -# Let all UWP apps run in the background (default value) -# Разрешить всем UWP-приложениям работать в фоновом режиме (значение по умолчанию) -# BackgroundUWPApps -Enable - # Set the power management scheme on "High performance" if device is a desktop # Установить схему управления питанием на "Высокая производительность", если устройство является стационарным ПК PowerManagementScheme -High @@ -707,7 +706,7 @@ PCTurnOffDevice -Disable # Переопределить метод ввода по умолчанию: английский SetInputMethod -English -# Override for default input method: use langiage list (default value) +# Override for default input method: use language list (default value) # Переопределить метод ввода по умолчанию: использовать список языков (значение по умолчанию) # SetInputMethod -Default @@ -942,11 +941,9 @@ PinToStart -Tiles ControlPanel, DevicesPrinters, PowerShell <# Uninstall UWP apps using the pop-up dialog box If the "For All Users" is checked apps packages will not be installed for new users - The "For All Users" checkbox isn't checked by default Удалить UWP-приложения, используя всплывающее диалоговое окно Пакеты приложений не будут установлены для новых пользователей, если отмечена галочка "Для всех пользователей" - Галочка "Для всех пользователей" не отмечена по умолчанию #> UninstallUWPApps @@ -982,6 +979,14 @@ CortanaAutostart -Disable # Включить автозагрузку Кортана (значение по умолчанию) # CortanaAutostart -Enable +# Do not let UWP apps run in the background +# Не разрешать UWP-приложениям работать в фоновом режиме +BackgroundUWPApps -Disable + +# Let all UWP apps run in the background (default value) +# Разрешить всем UWP-приложениям работать в фоновом режиме (значение по умолчанию) +# BackgroundUWPApps -Enable + # Check for UWP apps updates # Проверить обновления UWP-приложений CheckUWPAppsUpdates @@ -1223,7 +1228,7 @@ SaveZoneInformation -Disable # Enable Windows Sandbox # Включить Windows Sandbox -WindowsSandbox -Enable +# WindowsSandbox -Enable # Disable Windows Sandbox (default value) # Выключить Windows Sandbox (значение по умолчанию) diff --git a/Sophia/PowerShell 7.x/Sophia.psd1 b/Sophia/PowerShell 7.x/Sophia.psd1 index dbdec1a7114a10bf49112ee8c15d258ae45e6c33..ca1c4b4b26d2c2963945e75dc59d12ba0a0e4e02 100644 GIT binary patch delta 12 TcmaFC`+|4EBu2}PlSA16BhCco delta 12 TcmaFC`+|4EBu0yklSA16Bgq8i diff --git a/Sophia/PowerShell 7.x/Sophia.psm1 b/Sophia/PowerShell 7.x/Sophia.psm1 index 62bb0db8..2ddb841b 100644 --- a/Sophia/PowerShell 7.x/Sophia.psm1 +++ b/Sophia/PowerShell 7.x/Sophia.psm1 @@ -2,24 +2,15 @@ .SYNOPSIS "Windows 10 Sophia Script" is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks - Version: v5.8 - Date: 17.03.2021 + Version: v5.9 + Date: 27.03.2021 Copyright (c) 2015–2021 farag & oZ-Zo - https://github.com/farag2 - https://github.com/oz-zo - Thanks to all https://forum.ru-board.com members involved .DESCRIPTION Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring - .NOTES - https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 - https://habr.com/post/521202/ - https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ - https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ - .NOTES Supported Windows 10 versions Versions: 2004 (20H1)/20H2 (2009) @@ -31,6 +22,20 @@ Set execution policy to be able to run scripts only in the current PowerShell session: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force + .NOTES + https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 + https://habr.com/post/521202/ + https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ + https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ + + .LINK Telegram channel & group + https://t.me/sophianews + https://t.me/sophia_chat + + .LINK + https://github.com/farag2 + https://github.com/Inestic + .LINK https://github.com/farag2/Windows-10-Sophia-Script #> @@ -147,7 +152,7 @@ function CreateRestorePoint # Revert the System Restore checkpoint creation frequency to 1440 minutes New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" -Name SystemRestorePointCreationFrequency -PropertyType DWord -Value 1440 -Force - # Turn off System Protection for the system drive if it was turned off without deleting existing restore points + # Turn off System Protection for the system drive if it was turned off before without deleting the existing restore points if ($ComputerRestorePoint) { Disable-ComputerRestore -Drive $env:SystemDrive @@ -2136,6 +2141,8 @@ function 3DObjects # In order for the changes to take effect the File Explorer process has to be restarted Stop-Process -Name explorer -Force + Start-Sleep -Seconds 3 + # Restoring closed folders foreach ($OpenedFolder in $OpenedFolders) { @@ -2479,6 +2486,8 @@ function MeetNow # In order for the changes to take effect the File Explorer process has to be restarted Stop-Process -Name explorer -Force + Start-Sleep -Seconds 3 + # Restoring closed folders foreach ($OpenedFolder in $OpenedFolders) { @@ -2493,30 +2502,28 @@ function MeetNow .SYNOPSIS Unpin "Microsoft Edge" and "Microsoft Store" from the taskbar - .LINK - https://github.com/Disassembler0/Win10-Initial-Setup-Script/issues/8#issue-227159084 - .NOTES Current user #> function UnpinTaskbarEdgeStore { + # https://github.com/Disassembler0/Win10-Initial-Setup-Script/issues/8#issue-227159084 $Signature = @{ Namespace = "WinAPI" Name = "GetStr" Language = "CSharp" MemberDefinition = @" - [DllImport("kernel32.dll", CharSet = CharSet.Auto)] - public static extern IntPtr GetModuleHandle(string lpModuleName); - [DllImport("user32.dll", CharSet = CharSet.Auto)] - internal static extern int LoadString(IntPtr hInstance, uint uID, StringBuilder lpBuffer, int nBufferMax); - public static string GetString(uint strId) - { - IntPtr intPtr = GetModuleHandle("shell32.dll"); - StringBuilder sb = new StringBuilder(255); - LoadString(intPtr, strId, sb, sb.Capacity); - return sb.ToString(); - } +[DllImport("kernel32.dll", CharSet = CharSet.Auto)] +public static extern IntPtr GetModuleHandle(string lpModuleName); +[DllImport("user32.dll", CharSet = CharSet.Auto)] +internal static extern int LoadString(IntPtr hInstance, uint uID, StringBuilder lpBuffer, int nBufferMax); +public static string GetString(uint strId) +{ + IntPtr intPtr = GetModuleHandle("shell32.dll"); + StringBuilder sb = new StringBuilder(255); + LoadString(intPtr, strId, sb, sb.Capacity); + return sb.ToString(); +} "@ } if (-not ("WinAPI.GetStr" -as [type])) @@ -2527,22 +2534,20 @@ function UnpinTaskbarEdgeStore # Extract the localized "Unpin from taskbar" string from shell32.dll $LocalizedString = [WinAPI.GetStr]::GetString(5387) - $Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items() - - $VerbExists = $Apps | Where-Object -FilterScript {$_.Path -eq "MSEdge"} | ForEach-Object -Process {$_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString}} - if ($VerbExists) + # Call the shortcut context menu item to unpin Microsoft Edge + if (Test-Path -Path "$env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk") { - $VerbExists | ForEach-Object -Process {$_.DoIt()} - } - else - { - Remove-Item -Path "$env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk" -ErrorAction Ignore - $VerbExists | ForEach-Object -Process {$_.DoIt()} + $Shell = New-Object -ComObject Shell.Application + $Folder = $Shell.NameSpace("$env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar") + $Shortcut = $Folder.ParseName("Microsoft Edge.lnk") + $Shortcut.Verbs() | Where-Object {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()} } - $Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"} | ForEach-Object -Process { - $_.Verbs() | Where-Object -FilterScript {$_.Name -eq $LocalizedString} | ForEach-Object -Process {$_.DoIt()} - } + # Start-Job is used due to that the calling this function before UninstallUWPApps breaks the retrieval of the localized UWP apps packages names + Start-Job -ScriptBlock { + $Apps = (New-Object -ComObject Shell.Application).NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}").Items() + ($Apps | Where-Object -FilterScript {$_.Name -eq "Microsoft Store"}).Verbs() | Where-Object -FilterScript {$_.Name -eq $Using:LocalizedString} | ForEach-Object -Process {$_.DoIt()} + } | Receive-Job -Wait -AutoRemoveJob } <# @@ -3239,17 +3244,71 @@ function OneDrive Start-Process -FilePath $OneDriveSetup[0] -ArgumentList $OneDriveSetup[1..2] -Wait } - # Getting the OneDrive user folder path + # Getting the OneDrive user folder path and removing it $OneDriveUserFolder = Get-ItemPropertyValue -Path HKCU:\Environment -Name OneDrive - if ((Get-ChildItem -Path $OneDriveUserFolder | Measure-Object).Count -eq 0) - { - Remove-Item -Path $OneDriveUserFolder -Recurse -Force - } - else + Remove-Item -Path $OneDriveUserFolder -Recurse -Force -ErrorAction Ignore + + # If there are some files or folders left in $env:LOCALAPPDATA\Temp + if ((Get-ChildItem -Path $OneDriveUserFolder -Force -ErrorAction Ignore | Measure-Object).Count -ne 0) { - Write-Error -Message ($Localization.OneDriveNotEmptyFolder -f $OneDriveUserFolder) -ErrorAction SilentlyContinue + # https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-movefileexa + # The system does not move the file until the operating system is restarted + # The system moves the file immediately after AUTOCHK is executed, but before creating any paging files + $Signature = @{ + Namespace = "WinAPI" + Name = "DeleteFiles" + Language = "CSharp" + MemberDefinition = @" +public enum MoveFileFlags +{ + MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004 +} + +[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] +static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags); + +public static bool MarkFileDelete (string sourcefile) +{ + return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT); +} +"@ + } + + if (-not ("WinAPI.DeleteFiles" -as [type])) + { + Add-Type @Signature + } + + try + { + Remove-Item -Path $OneDriveUserFolder -Recurse -Force -ErrorAction Stop + } + catch + { + # If files are in use remove them at the next boot + Get-ChildItem -Path $OneDriveUserFolder -Recurse -Force | ForEach-Object -Process {[WinAPI.DeleteFiles]::MarkFileDelete($_.FullName)} + } - Invoke-Item -Path $OneDriveUserFolder + $OneDriveUserFolder = [System.Environment]::ExpandEnvironmentVariables($OneDriveUserFolder) + $OneDriveUserFolderTask = @" +Remove-Item -Path "$OneDriveUserFolder" -Recurse -Force + +Unregister-ScheduledTask -TaskName TempOneDriveTask -Confirm:`$false +"@ + + # Create a temporary scheduled task to remove the clean up the OneDrive user folder + $Action = New-ScheduledTaskAction -Execute powershell.exe -Argument "-WindowStyle Hidden -Command $OneDriveUserFolderTask" + $Trigger = New-ScheduledTaskTrigger -AtLogon -User $env:USERNAME + $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 + $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest + $Parameters = @{ + "TaskName" = "TempOneDriveTask" + "Principal" = $Principal + "Action" = $Action + "Settings" = $Settings + "Trigger" = $Trigger + } + Register-ScheduledTask @Parameters -Force } Remove-ItemProperty -Path HKCU:\Environment -Name OneDrive, OneDriveConsumer -Force -ErrorAction Ignore @@ -3282,8 +3341,11 @@ function OneDrive } } + Start-Sleep -Seconds 1 + # Restoring closed folders Start-Process -FilePath explorer + foreach ($OpenedFolder in $OpenedFolders) { if (Test-Path -Path $OpenedFolder) @@ -3673,75 +3735,106 @@ function TempFolder { "SystemDrive" { - # Restart the Printer Spooler service (Spooler) - Restart-Service -Name Spooler -Force + if ($env:TEMP -ne "$env:SystemDrive\Temp") + { + # Restart the Printer Spooler service (Spooler) + Restart-Service -Name Spooler -Force - # Stop OneDrive processes - Stop-Process -Name OneDrive -Force -ErrorAction Ignore - Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore + # Stop OneDrive processes + Stop-Process -Name OneDrive -Force -ErrorAction Ignore + Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore - if (-not (Test-Path -Path $env:SystemDrive\Temp)) - { - New-Item -Path $env:SystemDrive\Temp -ItemType Directory -Force - } + if (-not (Test-Path -Path $env:SystemDrive\Temp)) + { + New-Item -Path $env:SystemDrive\Temp -ItemType Directory -Force + } - # Copy all imported module folders to the new %TEMP% folder - Get-ChildItem -Path $env:LOCALAPPDATA\Temp -Force | Where-Object -FilterScript {$_.Name -like "*remoteIpMoProxy*"} | ForEach-Object -Process { - Copy-Item $_.FullName -Destination $env:SystemDrive\Temp -Recurse -Force - } + # Copy all imported module folders to the new %TEMP% folder + Get-ChildItem -Path $env:TEMP -Force | Where-Object -FilterScript {$_.Name -like "*remoteIpMoProxy*"} | ForEach-Object -Process { + Copy-Item $_.FullName -Destination $env:SystemDrive\Temp -Recurse -Force + } - Remove-Item -Path $env:SystemRoot\Temp -Recurse -Force -ErrorAction Ignore - Get-Item -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -ne "SymbolicLink"} | Remove-Item -Recurse -Force -ErrorAction Ignore + # Cleaning up folders + Remove-Item -Path $env:SystemRoot\Temp -Recurse -Force -ErrorAction Ignore + Get-Item -Path $env:TEMP -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -ne "SymbolicLink"} | Remove-Item -Recurse -Force -ErrorAction Ignore - if (Test-Path -Path $env:LOCALAPPDATA\Temp -ErrorAction Ignore) - { - if ((Get-ChildItem -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Measure-Object).Count -ne 0) + if (-not (Test-Path -Path $env:LOCALAPPDATA\Temp)) { - Invoke-Item -Path $env:LOCALAPPDATA\Temp + New-Item -Path $env:LOCALAPPDATA\Temp -ItemType Directory -Force + } + + # If there are some files or folders left in $env:LOCALAPPDATA\Temp + if ((Get-ChildItem -Path $env:TEMP -Force -ErrorAction Ignore | Measure-Object).Count -ne 0) + { + # https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-movefileexa + # The system does not move the file until the operating system is restarted + # The system moves the file immediately after AUTOCHK is executed, but before creating any paging files + $Signature = @{ + Namespace = "WinAPI" + Name = "DeleteFiles" + Language = "CSharp" + MemberDefinition = @" +public enum MoveFileFlags +{ + MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004 +} + +[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] +static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags); + +public static bool MarkFileDelete (string sourcefile) +{ + return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT); +} +"@ + } - do + if (-not ("WinAPI.DeleteFiles" -as [type])) { - $Title = "" - $Message = $Localization.ClearFolder -f "$env:LOCALAPPDATA\Temp" - $Delete = $Localization.Delete - $Skip = $Localization.Skip - $Options = "&$Delete", "&$Skip" - $DefaultChoice = 0 - - $Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice) - switch ($Result) - { - "0" - { - # Create a symbolic link to the %SystemDrive%\Temp folder - try - { - Get-Item -Path $env:LOCALAPPDATA\Temp -Force | Where-Object -FilterScript {$_.LinkType -ne "SymbolicLink"} | Remove-Item -Recurse -Force -ErrorAction Ignore - New-Item -Path $env:LOCALAPPDATA\Temp -ItemType SymbolicLink -Value $env:SystemDrive\Temp -Force -ErrorAction SilentlyContinue - } - catch [System.Exception] - { - Write-Verbose -Message $Localization.FilesBlocked -Verbose - Write-Verbose -Message ((Get-ChildItem -Path $env:LOCALAPPDATA\Temp -Force).FullName | Out-String) -Verbose - } - } - "1" - { - Write-Verbose -Message $Localization.SymbolicSkipped -Verbose - } - } + Add-Type @Signature + } + + try + { + Get-ChildItem -Path $env:TEMP -Recurse -Force | Remove-Item -Recurse -Force -ErrorAction Stop + } + catch + { + # If files are in use remove them at the next boot + Get-ChildItem -Path $env:TEMP -Recurse -Force | ForEach-Object -Process {[WinAPI.DeleteFiles]::MarkFileDelete($_.FullName)} + } + + $SymbolicLinkTask = @" +Get-ChildItem -Path `$env:LOCALAPPDATA\Temp -Recurse -Force | Remove-Item -Recurse -Force + +Get-Item -Path `$env:LOCALAPPDATA\Temp -Force | Where-Object -FilterScript {`$_.LinkType -ne """SymbolicLink"""} | Remove-Item -Recurse -Force +New-Item -Path `$env:LOCALAPPDATA\Temp -ItemType SymbolicLink -Value `$env:SystemDrive\Temp -Force + +Unregister-ScheduledTask -TaskName SymbolicLink -Confirm:`$false +"@ + + # Create a temporary scheduled task to create a symbolic link to the %SystemDrive%\Temp folder + $Action = New-ScheduledTaskAction -Execute powershell.exe -Argument "-WindowStyle Hidden -Command $SymbolicLinkTask" + $Trigger = New-ScheduledTaskTrigger -AtLogon -User $env:USERNAME + $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 + $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest + $Parameters = @{ + "TaskName" = "SymbolicLink" + "Principal" = $Principal + "Action" = $Action + "Settings" = $Settings + "Trigger" = $Trigger } - until (((Get-ChildItem -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Measure-Object).Count -eq 0) -or ($Result -eq 1)) + Register-ScheduledTask @Parameters -Force + } + else + { + # Create a symbolic link to the %SystemDrive%\Temp folder + New-Item -Path $env:LOCALAPPDATA\Temp -ItemType SymbolicLink -Value $env:SystemDrive\Temp -Force } - } - else - { - # Create a symbolic link to the %SystemDrive%\Temp folder - New-Item -Path $env:LOCALAPPDATA\Temp -ItemType SymbolicLink -Value $env:SystemDrive\Temp -Force - } - if (Get-Item -Path $env:LOCALAPPDATA\Temp -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"}) - { + #region main + # Change the %TEMP% environment variable path to "%LOCALAPPDATA%\Temp" [Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "User") [Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Machine") [Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Process") @@ -3754,53 +3847,121 @@ function TempFolder New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TMP -PropertyType ExpandString -Value $env:SystemDrive\Temp -Force New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -PropertyType ExpandString -Value $env:SystemDrive\Temp -Force + # endregion main } } "Default" { - # Remove a symbolic link to the %SystemDrive%\Temp folder - if (Get-Item -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"}) + if ($env:TEMP -ne "$env:LOCALAPPDATA\Temp") { - (Get-Item -Path $env:LOCALAPPDATA\Temp -Force).Delete() - } + # Restart the Printer Spooler service (Spooler) + Restart-Service -Name Spooler -Force - if (-not (Test-Path -Path $env:SystemRoot\Temp)) - { - New-Item -Path $env:SystemRoot\Temp -ItemType Directory -Force - } - if (-not (Test-Path -Path $env:LOCALAPPDATA\Temp)) - { - New-Item -Path $env:LOCALAPPDATA\Temp -ItemType Directory -Force - } + # Stop OneDrive processes + Stop-Process -Name OneDrive -Force -ErrorAction Ignore + Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore + + # Remove a symbolic link to the %SystemDrive%\Temp folder + if (Get-Item -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"}) + { + (Get-Item -Path $env:LOCALAPPDATA\Temp -Force).Delete() + } - # Restart the Printer Spooler service (Spooler) - Restart-Service -Name Spooler -Force + if (-not (Test-Path -Path $env:SystemRoot\Temp)) + { + New-Item -Path $env:SystemRoot\Temp -ItemType Directory -Force + } + if (-not (Test-Path -Path $env:LOCALAPPDATA\Temp)) + { + New-Item -Path $env:LOCALAPPDATA\Temp -ItemType Directory -Force + } - # Stop OneDrive processes - Stop-Process -Name OneDrive -Force -ErrorAction Ignore - Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore + # Copy all imported module folders to the new %TEMP% folder ### + Get-ChildItem -Path $env:TEMP -Force | Where-Object -FilterScript {$_.Name -like "*remoteIpMoProxy*"} | ForEach-Object -Process { + Copy-Item $_.FullName -Destination $env:LOCALAPPDATA\Temp -Recurse -Force + } - if ((Get-ChildItem -Path $env:SystemDrive\Temp -Force -ErrorAction Ignore | Measure-Object).Count -eq 0) - { - Remove-Item -Path $env:SystemDrive\Temp -Recurse -Force - } - else - { - Write-Verbose -Message ($Localization.TempNotEmpty -f $env:TEMP) -Verbose - } + # Removing folders + Remove-Item -Path $env:TEMP -Recurse -Force -ErrorAction Ignore - [Environment]::SetEnvironmentVariable("TMP", "$env:LOCALAPPDATA\Temp", "User") - [Environment]::SetEnvironmentVariable("TMP", "$env:SystemRoot\TEMP", "Machine") - [Environment]::SetEnvironmentVariable("TMP", "$env:LOCALAPPDATA\Temp", "Process") - New-ItemProperty -Path HKCU:\Environment -Name TMP -PropertyType ExpandString -Value $env:LOCALAPPDATA\Temp -Force + if ((Get-ChildItem -Path $env:TEMP -Force -ErrorAction Ignore | Measure-Object).Count -ne 0) + { + # https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-movefileexa + # The system does not move the file until the operating system is restarted + # The system moves the file immediately after AUTOCHK is executed, but before creating any paging files + $Signature = @{ + Namespace = "WinAPI" + Name = "DeleteFiles" + Language = "CSharp" + MemberDefinition = @" +public enum MoveFileFlags +{ + MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004 +} + +[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] +static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags); + +public static bool MarkFileDelete (string sourcefile) +{ + return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT); +} +"@ + } + + if (-not ("WinAPI.DeleteFiles" -as [type])) + { + Add-Type @Signature + } + + try + { + Remove-Item -Path $env:TEMP -Recurse -Force -ErrorAction Stop + } + catch + { + # If files are in use remove them at the next boot + Get-ChildItem -Path $env:TEMP -Recurse -Force -ErrorAction Ignore | ForEach-Object -Process {[WinAPI.DeleteFiles]::MarkFileDelete($_.FullName)} + } + + $TempFolder = [System.Environment]::ExpandEnvironmentVariables($env:TEMP) + $TempFolderCleanupTask = @" +Remove-Item -Path "$TempFolder" -Recurse -Force + +Unregister-ScheduledTask -TaskName TemporaryTask -Confirm:`$false +"@ - [Environment]::SetEnvironmentVariable("TEMP", "$env:LOCALAPPDATA\Temp", "User") - [Environment]::SetEnvironmentVariable("TEMP", "$env:SystemRoot\TEMP", "Machine") - [Environment]::SetEnvironmentVariable("TEMP", "$env:LOCALAPPDATA\Temp", "Process") - New-ItemProperty -Path HKCU:\Environment -Name TEMP -PropertyType ExpandString -Value $env:LOCALAPPDATA\Temp -Force + # Create a temporary scheduled task to clean up the temporary folder + $Action = New-ScheduledTaskAction -Execute powershell.exe -Argument "-WindowStyle Hidden -Command $TempFolderCleanupTask" + $Trigger = New-ScheduledTaskTrigger -AtLogon -User $env:USERNAME + $Settings = New-ScheduledTaskSettingsSet -Compatibility Win8 + $Principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest + $Parameters = @{ + "TaskName" = "TemporaryTask" + "Principal" = $Principal + "Action" = $Action + "Settings" = $Settings + "Trigger" = $Trigger + } + Register-ScheduledTask @Parameters -Force + } + + #region main + # Change the %TEMP% environment variable path to "%LOCALAPPDATA%\Temp" + [Environment]::SetEnvironmentVariable("TMP", "$env:LOCALAPPDATA\Temp", "User") + [Environment]::SetEnvironmentVariable("TMP", "$env:SystemRoot\TEMP", "Machine") + [Environment]::SetEnvironmentVariable("TMP", "$env:LOCALAPPDATA\Temp", "Process") + New-ItemProperty -Path HKCU:\Environment -Name TMP -PropertyType ExpandString -Value "%USERPROFILE%\AppData\Local\Temp" -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TMP -PropertyType ExpandString -Value $env:SystemRoot\TEMP -Force - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -PropertyType ExpandString -Value $env:SystemRoot\TEMP -Force + [Environment]::SetEnvironmentVariable("TEMP", "$env:LOCALAPPDATA\Temp", "User") + [Environment]::SetEnvironmentVariable("TEMP", "$env:SystemRoot\TEMP", "Machine") + [Environment]::SetEnvironmentVariable("TEMP", "$env:LOCALAPPDATA\Temp", "Process") + New-ItemProperty -Path HKCU:\Environment -Name TEMP -PropertyType ExpandString -Value "%USERPROFILE%\AppData\Local\Temp" -Force + + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TMP -PropertyType ExpandString -Value "%SystemRoot%\TEMP" -Force + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -PropertyType ExpandString -Value "%SystemRoot%\TEMP" -Force + # endregion main + } } } } @@ -4823,101 +4984,6 @@ function UpdateMicrosoftProducts } } -<# - .SYNOPSIS - Configure UWP apps running in the background - - .PARAMETER Disable - Do not let UWP apps run in the background - - .PARAMETER Enable - Let all UWP apps run in the background - - .EXAMPLE - BackgroundUWPApps -Disable - - .EXAMPLE - BackgroundUWPApps -Enable - - .NOTES - Current user -#> -function BackgroundUWPApps -{ - param - ( - [Parameter( - Mandatory = $true, - ParameterSetName = "Enable" - )] - [switch] - $Enable, - - [Parameter( - Mandatory = $true, - ParameterSetName = "Disable" - )] - [switch] - $Disable - ) - - switch ($PSCmdlet.ParameterSetName) - { - "Disable" - { - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { - Remove-ItemProperty -Path $_.PsPath -Name * -Force - } - - $ExcludedBackgroundApps = @( - # Lock screen app - # Экран блокировки - "Microsoft.LockApp", - - # Content Delivery Manager (delivers Windows Spotlight wallpapers to the lock screen) - # Content Delivery Manager (доставляет обои для Windows Spotlight на экран блокировки) - "Microsoft.Windows.ContentDeliveryManager", - - # Cortana - "Microsoft.Windows.Cortana", - - # Windows Search - "Microsoft.Windows.Search", - - # Windows Security - # Безопасность Windows - "Microsoft.Windows.SecHealthUI", - - # Windows Shell Experience (Action center, snipping support, toast notification, touch screen keyboard) - # Windows Shell Experience (Центр уведомлений, приложение "Ножницы", тостовые уведомления, сенсорная клавиатура) - "Microsoft.Windows.ShellExperienceHost", - - # The Start menu - # Меню "Пуск" - "Microsoft.Windows.StartMenuExperienceHost", - - # Microsoft Store - "Microsoft.WindowsStore" - ) - $OFS = "|" - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | Where-Object -FilterScript {$_.PSChildName -notmatch "^$($ExcludedBackgroundApps.ForEach({[regex]::Escape($_)}))"} | ForEach-Object -Process { - New-ItemProperty -Path $_.PsPath -Name Disabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path $_.PsPath -Name DisabledByUser -PropertyType DWord -Value 1 -Force - } - $OFS = " " - - # Open "Background apps" page - Start-Process -FilePath ms-settings:privacy-backgroundapps - } - "Enable" - { - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { - Remove-ItemProperty -Path $_.PsPath -Name * -Force - } - } - } -} - <# .SYNOPSIS Configure the power management scheme @@ -6055,6 +6121,8 @@ function WinPrtScrFolder # In order for the changes to take effect the File Explorer process has to be restarted Stop-Process -Name explorer -Force + Start-Sleep -Seconds 3 + # Restoring closed folders foreach ($OpenedFolder in $OpenedFolders) { @@ -6803,7 +6871,7 @@ function Set-Association Param ( [Parameter( - Mandatory = $false, + Mandatory = $true, Position = 0 )] [String] @@ -6822,6 +6890,7 @@ function Set-Association ) $ProgramPath = [System.Environment]::ExpandEnvironmentVariables($ProgramPath) + $Icon = [System.Environment]::ExpandEnvironmentVariables($Icon) if (Test-Path -Path $ProgramPath) { @@ -6994,6 +7063,7 @@ namespace RegistryUtils $OpenSubKey = [Microsoft.Win32.Registry]::CurrentUser.OpenSubKey($SubKey,'ReadWriteSubTree','TakeOwnership') $Acl = [System.Security.AccessControl.RegistrySecurity]::new() + # Get current user SID $UserSID = (Get-CimInstance -ClassName Win32_UserAccount | Where-Object -FilterScript {$_.Name -eq $env:USERNAME}).SID $Acl.SetSecurityDescriptorSddlForm("O:$UserSID`G:$UserSID`D:AI(D;;DC;;;$UserSID)") $OpenSubKey.SetAccessControl($Acl) @@ -7021,6 +7091,20 @@ namespace RegistryUtils $OrigProgID = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Classes\$Extension" -Name "(default)" -ErrorAction Ignore)."(default)" + if ($OrigProgID) + { + # Save possible ProgIds history with extension + New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID`_$Extension" -PropertyType String -Value 0 -Force + } + + $Name = (Get-Item -Path $ProgramPath).Name + $Extension + New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType String -Value 0 -Force + + if ("$ProgId`_$Extension" -ne $Name) + { + New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId`_$Extension" -PropertyType String -Value 0 -Force + } + # If ProgId doesn't exist set the specified ProgId for the extansions if (-not $OrigProgID) { @@ -7031,7 +7115,7 @@ namespace RegistryUtils New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } - # Set the specified ProgId в варианты возможных для назначения + # Set the specified ProgId in the possible options for the assignment if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) { New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force @@ -7047,14 +7131,12 @@ namespace RegistryUtils } New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Name $OrigProgID -PropertyType None -Value ([byte[]]@()) -Force } - else + + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids")) { - if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids")) - { - New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Force - } - New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Name $ProgID -PropertyType None -Value ([byte[]]@()) -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Force } + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Name $ProgID -PropertyType None -Value ([byte[]]@()) -Force # Removing the UserChoice key Remove-UserChoiceKey -SubKey "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\UserChoice" @@ -7108,13 +7190,6 @@ namespace RegistryUtils New-ItemProperty -Path Registry::HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\FileAssociations\ProgIds -Name "_$Extension" -PropertyType DWord -Value 1 -Force } - # Save possible ProgIds with extension - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts")) - { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Force - } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId`_$Extension" -PropertyType String -Value 0 -Force - # Setting 'NoOpenWith' for all registered the extension ProgIDs [psobject]$OpenSubkey = Get-Item -Path "Registry::HKEY_CLASSES_ROOT\$Extension\OpenWithProgids" -ErrorAction Ignore | Select-Object -ExpandProperty Property @@ -7299,7 +7374,9 @@ namespace FileAssoc { [OutputType([array])] + # Secret static string stored in %SystemRoot%\SysWOW64\shell32.dll $userExperience = "User Choice set via Windows User Experience {D18B6DD5-6124-4341-9318-804003BAFA0B}" + # Get user SID $userSid = (Get-CimInstance -ClassName Win32_UserAccount | Where-Object -FilterScript {$_.Name -eq $env:USERNAME}).SID $KeyLastWriteTime = Get-KeyLastWriteTime -SubKey $SubKey $baseInfo = ("{0}{1}{2}{3}{4}" -f $Extension, $userSid, $ProgId, $KeyLastWriteTime, $userExperience).ToLowerInvariant() @@ -7747,7 +7824,7 @@ function PinToStart process { - # Extract string from shell32.dll using its' number + # Extract strings from shell32.dll using its' number # https://github.com/Disassembler0/Win10-Initial-Setup-Script/issues/8#issue-227159084 $Signature = @{ Namespace = "WinAPI" @@ -7772,7 +7849,7 @@ public static string GetString(uint strId) Add-Type @Signature -Using System.Text } - # Extract the "Devices and Printers" string from shell32.dll + # Extract the localized "Devices and Printers" string from shell32.dll $DevicesPrinters = [WinAPI.GetStr]::GetString(30493) # Create the old-style "Devices and Printers" shortcut in the Start menu @@ -7956,7 +8033,7 @@ public static string GetString(uint strId) Uninstall UWP apps .PARAMETER ForAllUsers - Set the "For All Users" checkbox checked by default + Set the "For All Users" checkbox to unistall packages for all users .EXAMPLE UninstallUWPApps @@ -7964,6 +8041,15 @@ public static string GetString(uint strId) .EXAMPLE UninstallUWPApps -ForAllUsers + .NOTES + The WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll assemblies are being loaded to the current session to be able to load localized UWP apps names + CsWinRT v1.1.4 + Microsoft.Windows.SDK.NET 10.0.19041.15 + + .LINK + https://github.com/microsoft/CsWinRT + https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref + .NOTES A pop-up dialog box enables the user to select packages Current user @@ -7978,18 +8064,6 @@ function UninstallUWPApps $ForAllUsers ) - <# - .SYNOPSIS - Add the classes from the WinRT.Runtime.dll and Microsoft.Windows.SDK.NET.dll libraries to the current session to be able to load localized UWP apps names - - .LINKS - https://github.com/microsoft/CsWinRT - https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref - - .NOTES - CsWinRT v1.1.3 - Microsoft.Windows.SDK.NET 10.0.19041.14 - #> Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" @@ -8183,24 +8257,24 @@ function UninstallUWPApps Write-Verbose -Message $Localization.Patient -Verbose - $AppxPackages = Get-AppxPackage -PackageTypeFilter Bundle -AllUsers:$AllUsers | Where-Object -FilterScript {$_.Name -notin $ExcludedAppxPackages} - $PackageManager = [Windows.Management.Deployment.PackageManager]::new() - $PackagesIds = $PackageManager.FindPackages().AdditionalTypeData[[Collections.IEnumerable].TypeHandle] + $AppxPackages = Get-AppxPackage -PackageTypeFilter Bundle -AllUsers:$AllUsers | Where-Object -FilterScript {$_.Name -notin $ExcludedAppxPackages} + $PackagesIds = [Windows.Management.Deployment.PackageManager]::new().FindPackages().AdditionalTypeData[[Collections.IEnumerable].TypeHandle] | Select-Object -Property DisplayName -ExpandProperty Id | Select-Object -Property Name, DisplayName foreach ($AppxPackage in $AppxPackages) { - $PackageId = $PackagesIds | Where-Object -FilterScript {$_.Id.Name -eq $AppxPackage.Name} + $PackageId = $PackagesIds | Where-Object -FilterScript {$_.Name -eq $AppxPackage.Name} if (-not $PackageId) { continue } - $AppxPackage | Add-Member -MemberType NoteProperty -Name DisplayName -Value $PackageId.DisplayName - $AppxPackage | Add-Member -MemberType NoteProperty -Name FullName -Value $PackageId.Id.FullName + [PSCustomObject]@{ + Name = $AppxPackage.Name + PackageFullName = $AppxPackage.PackageFullName + DisplayName = $PackageId.DisplayName + } } - - return $AppxPackages } function Add-Control @@ -8566,6 +8640,101 @@ function CortanaAutostart } } +<# + .SYNOPSIS + Configure UWP apps running in the background + + .PARAMETER Disable + Do not let UWP apps run in the background + + .PARAMETER Enable + Let all UWP apps run in the background + + .EXAMPLE + BackgroundUWPApps -Disable + + .EXAMPLE + BackgroundUWPApps -Enable + + .NOTES + Current user +#> +function BackgroundUWPApps +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Enable" + )] + [switch] + $Enable, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Disable" + )] + [switch] + $Disable + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Disable" + { + Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { + Remove-ItemProperty -Path $_.PsPath -Name * -Force + } + + $ExcludedBackgroundApps = @( + # Lock screen app + # Экран блокировки + "Microsoft.LockApp", + + # Content Delivery Manager (delivers Windows Spotlight wallpapers to the lock screen) + # Content Delivery Manager (доставляет обои для Windows Spotlight на экран блокировки) + "Microsoft.Windows.ContentDeliveryManager", + + # Cortana + "Microsoft.Windows.Cortana", + + # Windows Search + "Microsoft.Windows.Search", + + # Windows Security + # Безопасность Windows + "Microsoft.Windows.SecHealthUI", + + # Windows Shell Experience (Action center, snipping support, toast notification, touch screen keyboard) + # Windows Shell Experience (Центр уведомлений, приложение "Ножницы", тостовые уведомления, сенсорная клавиатура) + "Microsoft.Windows.ShellExperienceHost", + + # The Start menu + # Меню "Пуск" + "Microsoft.Windows.StartMenuExperienceHost", + + # Microsoft Store + "Microsoft.WindowsStore" + ) + $OFS = "|" + Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | Where-Object -FilterScript {$_.PSChildName -notmatch "^$($ExcludedBackgroundApps.ForEach({[regex]::Escape($_)}))"} | ForEach-Object -Process { + New-ItemProperty -Path $_.PsPath -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path $_.PsPath -Name DisabledByUser -PropertyType DWord -Value 1 -Force + } + $OFS = " " + + # Open "Background apps" page + Start-Process -FilePath ms-settings:privacy-backgroundapps + } + "Enable" + { + Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { + Remove-ItemProperty -Path $_.PsPath -Name * -Force + } + } + } +} + # Check for UWP apps updates function CheckUWPAppsUpdates { @@ -9124,7 +9293,7 @@ function SoftwareDistributionTask $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') -Get-ChildItem -Path $env:SystemRoot\SoftwareDistribution\Download -Recurse -Force | Remove-Item -Recurse -Force +Get-ChildItem -Path `$env:SystemRoot\SoftwareDistribution\Download -Recurse -Force | Remove-Item -Recurse -Force [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null @@ -9219,7 +9388,7 @@ function TempTask "Register" { $TempTask = @" -"Get-ChildItem -Path $env:TEMP -Force -Recurse | Remove-Item -Recurse -Force" +Get-ChildItem -Path `$env:TEMP -Force -Recurse | Remove-Item -Recurse -Force [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null @@ -9662,6 +9831,8 @@ function DismissSmartScreenFilter .EXAMPLE AuditProcess -Enable + + .NOTES Machine-wide #> function AuditProcess @@ -9714,6 +9885,8 @@ function AuditProcess .NOTES In order this feature to work events auditing ("AuditProcess -Enable" function) will be enabled + + .NOTES Machine-wide #> function AuditCommandLineProcess @@ -9769,6 +9942,8 @@ function AuditCommandLineProcess .NOTES In order this feature to work events auditing ("AuditProcess -Enable" function) and command line in process creation events will be enabled + + .NOTES Machine-wide #> function EventViewerCustomView @@ -9848,6 +10023,8 @@ function EventViewerCustomView .EXAMPLE PowerShellModulesLogging -Enable + + .NOTES Machine-wide #> function PowerShellModulesLogging @@ -9903,6 +10080,8 @@ function PowerShellModulesLogging .EXAMPLE PowerShellScriptsLogging -Enable + + .NOTES Machine-wide #> function PowerShellScriptsLogging @@ -9956,6 +10135,8 @@ function PowerShellScriptsLogging .EXAMPLE AppsSmartScreen -Enable + + .NOTES Machine-wide #> function AppsSmartScreen @@ -10063,6 +10244,8 @@ function SaveZoneInformation .NOTES Blocks WSH from executing .js and .vbs files + + .NOTES Current user #> function WindowsScriptHost @@ -10116,6 +10299,8 @@ function WindowsScriptHost .EXAMPLE WindowsSandbox -Enable + + .NOTES Current user #> function WindowsSandbox @@ -10211,6 +10396,8 @@ function WindowsSandbox .EXAMPLE MSIExtractContext -Add + + .NOTES Current user #> function MSIExtractContext @@ -10267,6 +10454,8 @@ function MSIExtractContext .EXAMPLE CABInstallContext -Add + + .NOTES Current user #> function CABInstallContext @@ -10323,6 +10512,8 @@ function CABInstallContext .EXAMPLE RunAsDifferentUserContext -Add + + .NOTES Current user #> function RunAsDifferentUserContext @@ -10372,6 +10563,8 @@ function RunAsDifferentUserContext .EXAMPLE CastToDeviceContext -Show + + .NOTES Current user #> function CastToDeviceContext @@ -10425,6 +10618,8 @@ function CastToDeviceContext .EXAMPLE ShareContext -Show + + .NOTES Current user #> function ShareContext @@ -10478,6 +10673,8 @@ function ShareContext .EXAMPLE EditWithPaint3DContext -Show + + .NOTES Current user #> function EditWithPaint3DContext @@ -10535,6 +10732,8 @@ function EditWithPaint3DContext .EXAMPLE EditWithPhotosContext -Show + + .NOTES Current user #> function EditWithPhotosContext @@ -10590,6 +10789,8 @@ function EditWithPhotosContext .EXAMPLE CreateANewVideoContext -Show + + .NOTES Current user #> function CreateANewVideoContext @@ -10645,6 +10846,8 @@ function CreateANewVideoContext .EXAMPLE ImagesEditContext -Show + + .NOTES Current user #> function ImagesEditContext @@ -10700,6 +10903,8 @@ function ImagesEditContext .EXAMPLE PrintCMDContext -Show + + .NOTES Current user #> function PrintCMDContext @@ -10751,6 +10956,8 @@ function PrintCMDContext .EXAMPLE IncludeInLibraryContext -Show + + .NOTES Current user #> function IncludeInLibraryContext @@ -10800,6 +11007,8 @@ function IncludeInLibraryContext .EXAMPLE SendToContext -Show + + .NOTES Current user #> function SendToContext @@ -10849,6 +11058,8 @@ function SendToContext .EXAMPLE BitLockerContext -Show + + .NOTES Current user #> function BitLockerContext @@ -10914,6 +11125,8 @@ function BitLockerContext .EXAMPLE BitmapImageNewContext -Add + + .NOTES Current user #> function BitmapImageNewContext @@ -10990,6 +11203,8 @@ function BitmapImageNewContext .EXAMPLE RichTextDocumentNewContext -Add + + .NOTES Current user #> function RichTextDocumentNewContext @@ -11066,6 +11281,8 @@ function RichTextDocumentNewContext .EXAMPLE CompressedFolderNewContext -Add + + .NOTES Current user #> function CompressedFolderNewContext @@ -11120,6 +11337,8 @@ function CompressedFolderNewContext .EXAMPLE MultipleInvokeContext -Disable + + .NOTES Current user #> function MultipleInvokeContext @@ -11169,6 +11388,8 @@ function MultipleInvokeContext .EXAMPLE UseStoreOpenWith -Show + + .NOTES Current user #> function UseStoreOpenWith @@ -11222,6 +11443,8 @@ function UseStoreOpenWith .EXAMPLE PreviousVersionsPage -Show + + .NOTES Current user #> function PreviousVersionsPage diff --git a/Sophia/PowerShell 7.x/cn-CN/Sophia.psd1 b/Sophia/PowerShell 7.x/cn-CN/Sophia.psd1 new file mode 100644 index 00000000..7397d264 --- /dev/null +++ b/Sophia/PowerShell 7.x/cn-CN/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 +UnsupportedOSBuild = 该脚本支持Windows 10版本2004/20H1和更高版本 +UnsupportedRelease = 找到新版本 +ControlledFolderAccessDisabled = “受控文件夹访问”禁用 +ScheduledTasks = 计划任务 +OneDriveUninstalling = 卸载OneDrive…… +OneDriveInstalling = OneDrive正在安装...... +OneDriveDownloading = 正在下载OneDrive...... ~33 MB +WindowsFeaturesTitle = Windows功能 +OptionalFeaturesTitle = 可选功能 +EnableHardwareVT = UEFI中开启虚拟化 +UserShellFolderNotEmpty = 一些文件留在了“{0}“文件夹。请手动将它们移到一个新位置 +RetrievingDrivesList = 取得驱动器列表…… +DriveSelect = 选择将在其根目录中创建“{0}“文件夹的驱动器 +UserFolderRequest = 是否要更改“{0}“文件夹位置? +UserFolderSelect = 为“{0}”文件夹选择一个文件夹 +UserDefaultFolder = 您想将“{0}”文件夹的位置更改为默认值吗? +ReservedStorageIsInUse = 保留存储空间正在使用时不支持此操作。请等待所有服务操作完成后再重试 +ShortcutPinning = “{0}“快捷方式将被固定到开始菜单 +UninstallUWPForAll = 对于所有用户 +UninstallUWPTitle = UWP应用 +WSLUpdateDownloading = Linux内核更新包下载中…… ~14 MB +WSLUpdateInstalling = 安装Linux内核更新包…… +HEVCDownloading = Downloading 来自设备制造商的 HEVC 视频扩展... ~2,8 MB +GraphicsPerformanceTitle = 图形性能偏好 +GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? +TaskNotificationTitle = 通知 +CleanupTaskNotificationTitle = 重要信息 +CleanupTaskDescription = 使用内置磁盘清理工具清理未使用的Windows文件和更新 +CleanupTaskNotificationEventTitle = 运行任务以清理Windows未使用的文件和更新? +CleanupTaskNotificationEvent = Windows清理不会花很长时间。下次通知将在30天内显示 +CleanupTaskNotificationSnoozeInterval = 选择提醒间隔 +CleanupNotificationTaskDescription = 关于清理Windows未使用的文件和更新的弹出通知提醒 +SoftwareDistributionTaskNotificationEvent = Windows更新缓存已成功删除 +TempTaskNotificationEvent = 临时文件文件夹已成功清理 +FolderTaskDescription = “{0}”文件夹清理 +ControlledFolderAccess = 受控文件夹访问 +ProtectedFoldersRequest = 是否启用受控文件夹访问权限并指定文件夹,由微软Defender保护其免受恶意应用程序威胁? +ProtectedFoldersListRemoved = 已被移除的文件夹 +AppControlledFolderRequest = 是否指定应用获取受控文件夹访问权限? +AllowedControlledFolderAppsRemoved = 删除了允许的应用 +DefenderExclusionFolderRequest = 是否要添加指定文件夹到微软Defender的恶意软件扫描白名单? +DefenderExclusionFoldersListRemoved = 排除的文件夹已删除 +AddDefenderExclusionFileRequest = 是否要添加指定文件到微软Defender的恶意软件扫描白名单? +DefenderExclusionFilesRemoved = 排除文件已删除 +EventViewerCustomViewName = 进程创建 +EventViewerCustomViewDescription = 进程创建和命令行审核事件 +RestartWarning = 确保重启电脑 +ErrorsLine = 行 +ErrorsFile = 文件 +ErrorsMessage = 错误/警告 +Add = 添加 +AllFilesFilter = 所有文件 (*.*)|*.* +Change = 更改 +DialogBoxOpening = 显示对话窗口…… +Disable = 禁用 +Dismiss = 解雇 +Enable = 启用 +EXEFilesFilter = *.exe|*.exe|所有文件 (*.*)|*.* +FolderSelect = 选择一个文件夹 +FilesWontBeMoved = 文件将不会被移动 +FourHours = 4个小时 +HalfHour = 30分钟 +Install = 安装 +Minute = 1分钟 +NoData = 无数据 +NoInternetConnection = 无网络连接 +NoResponse = 无法建立https://store.rg-adguard.net连接 +Patient = 请等待…… +Run = 运行 +Select = 选择 +SelectAll = 全选 +Skip = 跳过 +Skipped = 已跳过 +Snooze = 推迟 +SymbolicSkipped = 跳过创建符号链接 +Uninstall = 卸载 +'@ diff --git a/Sophia/PowerShell 7.x/de-DE/Sophia.psd1 b/Sophia/PowerShell 7.x/de-DE/Sophia.psd1 new file mode 100644 index 00000000..0cd6e18e --- /dev/null +++ b/Sophia/PowerShell 7.x/de-DE/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 +UnsupportedOSBuild = Das Skript unterstützt Windows 10 2004 / 20H1-Versionen und höher +UnsupportedRelease = Neue Version gefunden +ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert +ScheduledTasks = Geplante Aufgaben +OneDriveUninstalling = Deinstalliere OneDrive... +OneDriveInstalling = OneDrive wird installiert... +OneDriveDownloading = OneDrive herunterladen... ~33 MB +WindowsFeaturesTitle = Windows Eigenschaften +OptionalFeaturesTitle = Optionale Eigenschaften +EnableHardwareVT = Virtualisierung in UEFI aktivieren +UserShellFolderNotEmpty = Einige im Ordner "{0}" verbliebene Dateien \nVerschieben Sie sie manuell an einen neuen Ort +RetrievingDrivesList = Abrufen der Laufwerksliste... +DriveSelect = Wählen Sie das Laufwerk, in dessen Stammverzeichnis der "{0}"-Ordner erstellt werden soll +UserFolderRequest = Möchten Sie den Speicherort des "{0}"-Ordners ändern? +UserFolderSelect = Wählen Sie einen Ordner für den Ordner "{0}" +UserDefaultFolder = Möchten Sie den Speicherort des "{0}"-Ordners auf den Standardwert ändern? +ReservedStorageIsInUse = Dieser Vorgang wird nicht unterstützt, wenn reservierter Speicher verwendet wird \nBitte warten Sie, bis alle Wartungsvorgänge abgeschlossen sind, und versuchen Sie es dann später erneut +ShortcutPinning = Die Verknüpfung "{0}" wird an Start angeheftet +UninstallUWPForAll = Für alle Benutzer +UninstallUWPTitle = UWP-Pakete +WSLUpdateDownloading = Herunterladen des Update-Pakets für den Linux-Kernel... ~14 MB +WSLUpdateInstalling = Installation des Aktualisierungspakets für den Linux-Kernel... +HEVCDownloading = Herunterladen von HEVC-Videoerweiterungen vom Gerätehersteller... ~2,8 MB +GraphicsPerformanceTitle = Bevorzugte Grafikleistung +GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" setzen? +TaskNotificationTitle = Benachrichtigung +CleanupTaskNotificationTitle = Wichtige informationen +CleanupTaskDescription = Bereinigung ungenutzter Windows-Dateien und -Updates mit der integrierten Festplatten-Bereinigungsanwendung +CleanupTaskNotificationEventTitle = Aufgabe ausführen, um nicht verwendete Windows-Dateien und -Updates zu bereinigen? +CleanupTaskNotificationEvent = Die Windows-Bereinigung dauert nicht lange. Das nächste Mal wird die Benachrichtigung in 30 Tagen angezeigt +CleanupTaskNotificationSnoozeInterval = Wählen Sie ein Erinnerungsintervall +CleanupNotificationTaskDescription = Bereinigung ungenutzter Windows-Dateien und -Updates mit der integrierten Festplatten-Bereinigungsanwendung +SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht +TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt +FolderTaskDescription = Die Bereinigung des Ordners "{0}" +ControlledFolderAccess = Kontrollierter Ordner-Zugriff +ProtectedFoldersRequest = Möchten Sie den kontrollierten Ordnerzugriff aktivieren und den Ordner angeben, den Microsoft Defender vor bösartigen Anwendungen und Bedrohungen schützen soll? +ProtectedFoldersListRemoved = Gelöschte Ordner +AppControlledFolderRequest = Möchten Sie eine Anwendung angeben, die über den Zugriff auf Kontrollierte Ordner erlaubt ist? +AllowedControlledFolderAppsRemoved = Erlaubte Anwendungen entfernt +DefenderExclusionFolderRequest = Möchten Sie einen Ordner angeben, der von den Malware-Scans von Microsoft Defender ausgeschlossen werden soll? +DefenderExclusionFoldersListRemoved = Ausgeschlossene Ordner entfernt +AddDefenderExclusionFileRequest = Möchten Sie eine Datei angeben, die von den Malware-Scans von Microsoft Defender ausgeschlossen werden soll? +DefenderExclusionFilesRemoved = Ausgeschlossene Dateien entfernt +EventViewerCustomViewName = Prozess-Erstellung +EventViewerCustomViewDescription = Ereignisse zur Prozesserstellung und Befehlszeilen-Auditierung +RestartWarning = Achten Sie darauf, Ihren PC neu zu starten +ErrorsLine = Zeile +ErrorsFile = Datei +ErrorsMessage = Fehler/Warnungen +Add = Hinzufügen +AllFilesFilter = Alle Dateien (*.*)|*.* +Change = Ändern +DialogBoxOpening = Anzeigen des Dialogfensters... +Disable = Deaktivieren +Dismiss = Stornieren +Enable = Aktivieren +EXEFilesFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* +FolderSelect = Wählen Sie einen Ordner aus +FilesWontBeMoved = Dateien werden nicht verschoben +FourHours = 4 Stunden +HalfHour = 30 Minuten +Install = Installieren +Minute = 1 Minute +NoData = Nichts anzuzeigen +NoInternetConnection = Keine Internetverbindung +NoResponse = Eine Verbindung mit https://store.rg-adguard.net konnte nicht hergestellt werden +Patient = Bitte Warten... +Run = Starten +Select = Wählen Sie +SelectAll = Wählen Sie Alle +Skip = Überspringen +Skipped = Übersprungen +Snooze = Verschieben +SymbolicSkipped = Das Erstellen eines symbolischen Links wurde übersprungen +Uninstall = Deinstallieren +'@ diff --git a/Sophia/PowerShell 7.x/en-US/Sophia.psd1 b/Sophia/PowerShell 7.x/en-US/Sophia.psd1 new file mode 100644 index 00000000..312602ab --- /dev/null +++ b/Sophia/PowerShell 7.x/en-US/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = The script supports Windows 10 x64 only +UnsupportedOSBuild = The script supports Windows 10 2004/20H1 versions and higher +UnsupportedRelease = A new version found +ControlledFolderAccessDisabled = Controlled folder access disabled +ScheduledTasks = Scheduled tasks +OneDriveUninstalling = Uninstalling OneDrive... +OneDriveInstalling = OneDrive is installing... +OneDriveDownloading = Downloading OneDrive... ~33 MB +WindowsFeaturesTitle = Windows features +OptionalFeaturesTitle = Optional features +EnableHardwareVT = Enable Virtualization in UEFI +UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location +RetrievingDrivesList = Retrieving drives list... +DriveSelect = Select the drive within the root of which the "{0}" folder will be created +UserFolderRequest = Would you like to change the location of the "{0}" folder? +UserFolderSelect = Select a folder for the "{0}" folder +UserDefaultFolder = Would you like to change the location of the "{0}" folder to the default value? +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 +ShortcutPinning = The "{0}" shortcut is being pinned to Start +UninstallUWPForAll = For All Users +UninstallUWPTitle = UWP Apps +WSLUpdateDownloading = Downloading the Linux kernel update package... ~14 MB +WSLUpdateInstalling = Installing the Linux kernel update package... +HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB +GraphicsPerformanceTitle = Graphics performance preference +GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? +TaskNotificationTitle = Notification +CleanupTaskNotificationTitle = Important Information +CleanupTaskDescription = Cleaning up Windows unused files and updates using built-in Disk cleanup app +CleanupTaskNotificationEventTitle = Run task to clean up Windows unused files and updates? +CleanupTaskNotificationEvent = Windows cleanup won't take long. Next time this notification will appear in 30 days +CleanupTaskNotificationSnoozeInterval = Select a Reminder Interval +CleanupNotificationTaskDescription = Pop-up notification reminder about cleaning up Windows unused files and updates +SoftwareDistributionTaskNotificationEvent = The Windows update cache successfully deleted +TempTaskNotificationEvent = The temp files folder successfully cleaned up +FolderTaskDescription = The "{0}" folder cleanup +ControlledFolderAccess = Controlled folder access +ProtectedFoldersRequest = Would you like to enable Controlled folder access and specify the folder that Microsoft Defender will protect from malicious apps and threats? +ProtectedFoldersListRemoved = Removed folders +AppControlledFolderRequest = Would you like to specify an app that is allowed through Controlled Folder access? +AllowedControlledFolderAppsRemoved = Removed allowed apps +DefenderExclusionFolderRequest = Would you like to specify a folder to be excluded from Microsoft Defender malware scans? +DefenderExclusionFoldersListRemoved = Excluded folders removed +AddDefenderExclusionFileRequest = Would you like to specify a file to be excluded from Microsoft Defender malware scans? +DefenderExclusionFilesRemoved = Excluded files removed +EventViewerCustomViewName = Process Creation +EventViewerCustomViewDescription = Process creation and command-line auditing events +RestartWarning = Make sure to restart your PC +ErrorsLine = Line +ErrorsFile = File +ErrorsMessage = Errors/Warnings +Add = Add +AllFilesFilter = All Files (*.*)|*.* +Change = Change +DialogBoxOpening = Displaying the dialog box... +Disable = Disable +Dismiss = Dismiss +Enable = Enable +EXEFilesFilter = *.exe|*.exe|All Files (*.*)|*.* +FolderSelect = Select a folder +FilesWontBeMoved = Files will not be moved +FourHours = 4 Hours +HalfHour = 30 Minutes +Install = Install +Minute = 1 Minute +NoData = Nothing to display +NoInternetConnection = No Internet connection +NoResponse = A connection could not be established with https://store.rg-adguard.net +Patient = Please wait... +Run = Run +Select = Select +SelectAll = Select all +Skip = Skip +Skipped = Skipped +Snooze = Snooze +SymbolicSkipped = Skipped creating a symbolic link +Uninstall = Uninstall +'@ diff --git a/Sophia/PowerShell 7.x/es-ES/Sophia.psd1 b/Sophia/PowerShell 7.x/es-ES/Sophia.psd1 new file mode 100644 index 00000000..29df353a --- /dev/null +++ b/Sophia/PowerShell 7.x/es-ES/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = El script sólo es compatible con Windows 10 x64 +UnsupportedOSBuild = El script es compatible con versión Windows 10 2004 / 20H1 y superiores +UnsupportedRelease = Nueva versión encontrada +ControlledFolderAccessDisabled = Acceso a la carpeta controlada deshabilitado +ScheduledTasks = Tareas programadas +OneDriveUninstalling = Desinstalar OneDrive... +OneDriveInstalling = OneDrive se está instalando... +OneDriveDownloading = Descargando OneDrive... ~33 MB +WindowsFeaturesTitle = Características de Windows +OptionalFeaturesTitle = Características opcionales +EnableHardwareVT = Habilitar la virtualización en UEFI +UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación +RetrievingDrivesList = Recuperando lista de unidades... +DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creó la carpeta "{0}" +UserFolderRequest = ¿Le gustaría cambiar la ubicación de la "{0}" carpeta? +UserFolderSelect = Seleccione una carpeta para la carpeta "{0}" +UserDefaultFolder = ¿Le gustaría cambiar la ubicación de la carpeta "{0}" para el valor por defecto? +ReservedStorageIsInUse = Esta operación no es compatible cuando el almacenamiento reservada está en uso \nPor favor espera para su reparación a cualquier operación completa y luego a intentarlo más tarde +ShortcutPinning = El acceso directo "{0}" está siendo clavado en Start +UninstallUWPForAll =Para todos los usuarios +UninstallUWPTitle = Aplicaciones UWP +WSLUpdateDownloading = La descarga del paquete de actualización del kernel de Linux... ~14 MB +WSLUpdateInstalling = Instalando el paquete de actualización del kernel de Linux... +HEVCDownloading = Descargando HEVC Vídeo Extensiones del Fabricante del dispositivo... ~2,8 MB +GraphicsPerformanceTitle = Preferencia de rendimiento gráfico +GraphicsPerformanceRequest = ¿Le gustaría establecer la configuración de rendimiento gráfico de una aplicación de su elección a "alto rendimiento"? +TaskNotificationTitle = Notificación +CleanupTaskNotificationTitle = Información importante +CleanupTaskDescription = La limpieza de Windows los archivos no utilizados y actualizaciones utilizando una función de aplicación de limpieza de discos +CleanupTaskNotificationEventTitle = ¿Ejecutar la tarea de limpiar los archivos no utilizados y actualizaciones de Windows? +CleanupTaskNotificationEvent = Ventanas de limpieza no tomará mucho tiempo. La próxima vez que esta notificación aparecerá en 30 días +CleanupTaskNotificationSnoozeInterval = Seleccionar un recordatorio del intervalo +CleanupNotificationTaskDescription = Pop-up recordatorio de notificaciones sobre la limpieza de archivos no utilizados de Windows y actualizaciones +SoftwareDistributionTaskNotificationEvent = La caché de actualización de Windows eliminado correctamente +TempTaskNotificationEvent = Los archivos de la carpeta Temp limpiados con éxito +FolderTaskDescription = La limpieza de la carpeta "{0}" +ControlledFolderAccess = Acceso a la carpeta controlada +ProtectedFoldersRequest = ¿Le gustaría permitir el acceso controlado carpeta y especifique la carpeta que Microsoft Defender protegerá de aplicaciones maliciosas y amenazas? +ProtectedFoldersListRemoved = Se han eliminado las carpetas +AppControlledFolderRequest = ¿Le gustaría especificar una aplicación que se le permite el acceso a través de carpetas controladas? +AllowedControlledFolderAppsRemoved = Aplicaciones permitidas eliminadas +DefenderExclusionFolderRequest = ¿Le gustaría especificar una carpeta que se excluyen del análisis de malware Microsoft Defender? +DefenderExclusionFoldersListRemoved = Carpetas excluidas removidas +AddDefenderExclusionFileRequest = ¿Le gustaría especificar un archivo que se excluyen del análisis de malware Microsoft Defender? +DefenderExclusionFilesRemoved = Archivos excluidos eliminados +EventViewerCustomViewName = Creación de proceso +EventViewerCustomViewDescription = Eventos de auditoría de línea de comandos y creación de procesos +RestartWarning = Asegúrese de reiniciar su PC +ErrorsLine = Línea +ErrorsFile = Archivo +ErrorsMessage = Errores/Advertencias +Add = Agregar +AllFilesFilter = Todos los archivos (*.*)|*.* +Change = Cambio +DialogBoxOpening = Viendo el cuadro de diálogo... +Disable = Desactivar +Dismiss = Ignorar +Enable = Habilitar +EXEFilesFilter = *.exe|*.exe|Todos los Archivos (*.*)|*.* +FolderSelect = Seleccione una carpeta +FilesWontBeMoved = Los archivos no se transferirán +FourHours = 4 horas +HalfHour = 30 minutos +Install = Instalar +Minute = 1 minuto +NoData = Nada que mostrar +NoInternetConnection = No hay conexión a Internet +NoResponse = No se pudo establecer una conexión con https://store.rg-adguard.net +Patient = Por favor espere... +Run = Iniciar +Select = Seleccionar +SelectAll = Seleccionar todo +Skip = Omitir +Skipped = Omitido +Snooze = Posponer +SymbolicSkipped = Se omitió la creación de un enlace simbólico +Uninstall = Desinstalar +'@ diff --git a/Sophia/PowerShell 7.x/fr-FR/Sophia.psd1 b/Sophia/PowerShell 7.x/fr-FR/Sophia.psd1 new file mode 100644 index 00000000..14e9a976 --- /dev/null +++ b/Sophia/PowerShell 7.x/fr-FR/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Le script supporte uniquement Windows 10 x64 +UnsupportedOSBuild = Le script supporte les versions Windows 10 2004/20H1 et ultérieures +UnsupportedRelease = Nouvelle version trouvée +ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé +ScheduledTasks = Tâches planifiées +OneDriveUninstalling = Désinstalltion de OneDrive... +OneDriveInstalling = OneDrive en cours d'installation... +OneDriveDownloading = Téléchargement de OneDrive... ~33 Mo +WindowsFeaturesTitle = Fonctionnalités +OptionalFeaturesTitle = Fonctionnalités optionnelles +EnableHardwareVT = Activer la virtualisation dans UEFI +UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}" \nDéplacer les manuellement vers un nouvel emplacement +RetrievingDrivesList = Récupération de la liste des lecteurs... +DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creará la carpeta "{0}" +UserFolderRequest = ¿Le gustaría cambiar la ubicación de la carpeta "{0}"? +UserFolderSelect = Seleccione una carpeta para la carpeta "{0}" +UserDefaultFolder = ¿Le gustaría cambiar la ubicación de la carpeta "{0}" al valor predeterminado? +ReservedStorageIsInUse = Cette opération n'est pas suppportée le stockage réservé est en cours d'utilisation \nVeuillez attendre la fin des opérations de maintenance, puis réessayer plus tard +ShortcutPinning = Le raccourci "{0}" est épinglé sur Démarrer +UninstallUWPForAll = Pour tous les utilisateurs +UninstallUWPTitle = Applications UWP +WSLUpdateDownloading = Téléchargement du package de mise à jour du noyau Linux... ~14 Mo +WSLUpdateInstalling = Installation du package de mise à jour du noyau Linux... +HEVCDownloading = Téléchargement de Extensions vidéo HEVC du fabricant de l'appareil... ~2,8 MB +GraphicsPerformanceTitle = Préférence de performances graphiques +GraphicsPerformanceRequest = Souhaitez-vous définir le paramètre de performances graphiques d'une application de votre choix sur "Haute performance"? +TaskNotificationTitle = Notificación +CleanupTaskNotificationTitle = Une information important +CleanupTaskDescription = Nettoyage des fichiers Windows inutilisés et des mises à jour à l'aide de l'application intégrée pour le nettoyage de disque +CleanupTaskNotificationEventTitle = Exécuter la tâche pour nettoyer les fichiers et les mises à jour inutilisés de Windows? +CleanupTaskNotificationEvent = Le nettoyage de Windows ne prendra pas longtemps. La prochaine fois que la notification apparaîtra dans 30 jours +CleanupTaskNotificationSnoozeInterval = Sélectionnez un intervalle de rappel +CleanupNotificationTaskDescription = Rappel de notification contextuelle sur le nettoyage des fichiers et des mises à jour inutilisés de Windows +SoftwareDistributionTaskNotificationEvent = Le cache de mise à jour Windows a bien été supprimé +TempTaskNotificationEvent = Le dossier des fichiers temporaires a été nettoyé avec succès +FolderTaskDescription = Nettoyage du dossier "{0}" +ControlledFolderAccess = Contrôle d'accès aux dossiers +ProtectedFoldersRequest = Souhaitez-vous activer le contrôle d'accès aux dossiers et spécifier le dossier que Microsoft Defender protégera contre les applications malveillantes et les menaces? +ProtectedFoldersListRemoved = Dossiers supprimés +AppControlledFolderRequest = Souhaitez-vous spécifier une application autorisée via le contrôle d'accès aux dossiers? +AllowedControlledFolderAppsRemoved = Applications autorisées supprimées +DefenderExclusionFolderRequest = Souhaitez-vous spécifier un dossier à exclure des analyses de logiciels malveillants de Microsoft Defender? +DefenderExclusionFoldersListRemoved = Dossiers exclus supprimés +AddDefenderExclusionFileRequest = Souhaitez-vous spécifier un fichier à exclure des analyses de logiciels malveillants de Microsoft Defender? +DefenderExclusionFilesRemoved = Fichiers exclus supprimés +EventViewerCustomViewName = Création du processus +EventViewerCustomViewDescription = Audit des événements de création du processus et de ligne de commande +RestartWarning = Assurez-vous de redémarrer votre PC +ErrorsLine = Ligne +ErrorsFile = Fichier +ErrorsMessage = Erreurs/Avertissements +Add = Ajouter +AllFilesFilter = Tous les Fichiers (*.*)|*.* +Change = Changer +DialogBoxOpening = Afficher la boîte de dialogue... +Disable = Désactiver +Dismiss = Annuler +Enable = Activer +EXEFilesFilter = *.exe|*.exe|Tous les Fichiers (*.*)|*.* +FolderSelect = Sélectionner un dossier +FilesWontBeMoved = Les fichiers ne seront pas déplacés +FourHours = 4 heures +HalfHour = 30 minutes +Install = Installer +Minute = 1 minute +NoData = Rien à afficher +NoInternetConnection = Pas de connexion Internet +NoResponse = Une connexion n'a pas pu être établie avec https://store.rg-adguard.net +Patient = Veuillez patienter... +Run = Démarrer +Select = Sélectionner +SelectAll = Tout sélectionner +Skip = Passer +Skipped = Passé +Snooze = Reporter +SymbolicSkipped = La création d'un lien symbolique a été ignorée +Uninstall = Désinstaller +'@ diff --git a/Sophia/PowerShell 7.x/it-IT/Sophia.psd1 b/Sophia/PowerShell 7.x/it-IT/Sophia.psd1 new file mode 100644 index 00000000..a976b5ff --- /dev/null +++ b/Sophia/PowerShell 7.x/it-IT/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Lo script supporta solo Windows 10 x 64 +UnsupportedOSBuild = Lo script supporta Windows 10, 2004 / 20H1 versioni e superiori +UnsupportedRelease = Nuova versione trovata +ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata +ScheduledTasks = Attività pianificate +OneDriveUninstalling = Disinstalla OneDrive... +OneDriveInstalling = OneDrive si sta installando... +OneDriveDownloading = Download di OneDrive... ~33 MB +WindowsFeaturesTitle = Funzionalità di Windows +OptionalFeaturesTitle = Caratteristiche opzionali +EnableHardwareVT = Abilita virtualizzazione in UEFI +UserShellFolderNotEmpty = Alcuni file lasciati nella cartella "{0}". li spostare manualmente in una nuova posizione +RetrievingDrivesList = Recupero lista unità... +DriveSelect = Selezionare l'unità all'interno della radice del quale verrà creato il "{0}" cartella +UserFolderRequest = Volete cambiare la posizione del "{0}" cartella? +UserFolderSelect = Selezionare una cartella per la cartella "{0}" +UserDefaultFolder = Volete cambiare la posizione della cartella "{0}" al valore di default? +ReservedStorageIsInUse = Questa operazione non è supportata quando stoccaggio riservata è in uso \ nPer favore attesa per eventuali operazioni di manutenzione per completare e poi riprovare più tardi +ShortcutPinning = Il collegamento "{0}" è stato bloccato per iniziare +UninstallUWPForAll = Per tutti gli utenti +UninstallUWPTitle = UWP Apps +WSLUpdateDownloading = Il download del pacchetto di aggiornamento del kernel di Linux... ~14 MB +WSLUpdateInstalling = Installazione del pacchetto di aggiornamento del kernel di Linux... +HEVCDownloading = Il download HEVC Video estensioni da dispositivo Produttore... ~2,8 MB +GraphicsPerformanceTitle = Preferenza per le prestazioni grafiche +GraphicsPerformanceRequest = Volete impostare l'impostazione prestazioni grafiche di un app di vostra scelta per "performance High"? +TaskNotificationTitle = Notifica +CleanupTaskNotificationTitle = Informazioni importanti +CleanupTaskDescription = Pulizia di Windows i file inutilizzati e aggiornamenti utilizzando built-in Disk pulizia app +CleanupTaskNotificationEventTitle = Eseguire compito di ripulire i file inutilizzati e aggiornamenti di Windows? +CleanupTaskNotificationEvent = Di Windows pulizia non ci vorrà molto. La prossima volta che verrà visualizzata la notifica in 30 giorni +CleanupTaskNotificationSnoozeInterval = Selezionare un promemoria intervallo +CleanupNotificationTaskDescription = Pop-up promemoria notifica di pulizia di Windows file inutilizzati e aggiornamenti +SoftwareDistributionTaskNotificationEvent = La cache di aggiornamento di Windows cancellato con successo +TempTaskNotificationEvent = I file cartella Temp puliti con successo +FolderTaskDescription = La pulizia della cartella "{0}" +ControlledFolderAccess = l'accesso alle cartelle Controlled +ProtectedFoldersRequest = Vuoi per consentire l'accesso alle cartelle Controllata e specificare la cartella in cui Microsoft Defender protegge dalle applicazioni malevoli e minacce? +ProtectedFoldersListRemoved = Cartelle rimossi +AppControlledFolderRequest = Volete specificare un app che è consentito attraverso l'accesso controllato cartella? +AllowedControlledFolderAppsRemoved = Applicazioni consentite rimosse +DefenderExclusionFolderRequest = Volete specificare una cartella da escludere dalla Microsoft Defender scansioni di malware? +DefenderExclusionFoldersListRemoved = Cartelle escluse rimossi +AddDefenderExclusionFileRequest = Volete specificare un file da escludere dalla Microsoft Defender scansioni di malware? +DefenderExclusionFilesRemoved = File esclusi rimossi +EventViewerCustomViewName = Creazione di processo +EventViewerCustomViewDescription = Creazione di processi ed eventi di controllo della riga di comando +RestartWarning = Assicurarsi di riavviare il PC +ErrorsLine = Linea +ErrorsFile = File +ErrorsMessage = Errori/avvisi +Add = Inserisci +AllFilesFilter = Tutti i file (*.*)|*.* +Change = Modificare +DialogBoxOpening = Visualizzazione della finestra di dialogo... +Disable = Disattivare +Dismiss = Ignorare +Enable = Abilitare +EXEFilesFilter = *.exe|*.exe|Tutti i file (*.*)|*.* +FolderSelect = Selezionare una cartella +FilesWontBeMoved = I file non verranno trasferiti +FourHours = 4 ore +HalfHour = 30 minuti +Install = Installare +Minute = 1 minuto +NoData = Niente da esposizione +NoInternetConnection = Nessuna connessione Internet +NoResponse = Non è stato possibile stabilire una connessione con https://store.rg-adguard.net +Patient = Attendere prego... +Run = Eseguire +Select = Selezionare +SelectAll = Seleziona tutto +Skip = Salta +Skipped = Saltato +Snooze = Sonnellino +SymbolicSkipped = Saltato creando un link simbolico +Uninstall = Disinstallare +'@ diff --git a/Sophia/PowerShell 7.x/pt-BR/Sophia.psd1 b/Sophia/PowerShell 7.x/pt-BR/Sophia.psd1 new file mode 100644 index 00000000..8f2c1a75 --- /dev/null +++ b/Sophia/PowerShell 7.x/pt-BR/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = O script suporta somente Windows 10 x64 +UnsupportedOSBuild = O script suporta versões Windows 10 2004 / 20H1 e superior +UnsupportedRelease = Nova versão encontrada +ControlledFolderAccessDisabled = Acesso controlado a pasta desativada +ScheduledTasks = Tarefas agendadas +OneDriveUninstalling = Desinstalar OneDrive... +OneDriveInstalling = OneDrive está instalando... +OneDriveDownloading = Baixando OneDrive... ~33 MB +WindowsFeaturesTitle = Recursos do Windows +OptionalFeaturesTitle = Recursos opcionais +EnableHardwareVT = Habilitar virtualização em UEFI +UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local +RetrievingDrivesList = Recuperando lista de unidades... +DriveSelect = Selecione a unidade dentro da raiz da qual a pasta "{0}" será criada +UserFolderRequest = Gostaria de alterar a localização da pasta "{0}"? +UserFolderSelect = Selecione uma pasta para a pasta "{0}" +UserDefaultFolder = Gostaria de alterar a localização da pasta "{0}" para o valor padrão? +ReservedStorageIsInUse = Esta operação não é suportada quando o armazenamento reservada está em uso \ nAguarde para quaisquer operações de manutenção para ser concluído e, em seguida, tente novamente mais tarde +ShortcutPinning = O atalho "{0}" está sendo fixado no Iniciar +UninstallUWPForAll = Para todos os usuários +UninstallUWPTitle = Apps UWP +WSLUpdateDownloading = Baixando o pacote de atualização do kernel Linux... ~14 MB +WSLUpdateInstalling = Instalando o pacote de atualização do kernel Linux... +HEVCDownloading = Baixando HEVC Vídeo Extensões de Dispositivo Fabricante... ~ 2,8 MB +GraphicsPerformanceTitle = Preferência de desempenho gráfico +GraphicsPerformanceRequest = Gostaria de definir a configuração de performance gráfica de um app de sua escolha para "alta performance"? +TaskNotificationTitle = Notificação +CleanupTaskNotificationTitle = Informação importante +CleanupTaskDescription = Limpando o Windows arquivos não utilizados e atualizações usando o aplicativo de limpeza aplicativo de limpeza embutido no disco +CleanupTaskNotificationEventTitle = Executar tarefa para limpar arquivos e atualizações não utilizados do Windows? +CleanupTaskNotificationEvent = Limpeza de janelas não vai demorar muito. Da próxima vez que esta notificação será exibida em 30 dias +CleanupTaskNotificationSnoozeInterval = Selecione um lembrete de intervalo +CleanupNotificationTaskDescription = Pop-up lembrete de notificação sobre a limpeza do Windows arquivos não utilizados e actualizações +SoftwareDistributionTaskNotificationEvent = O cache de atualização do Windows excluído com sucesso +TempTaskNotificationEvent = Os arquivos da pasta Temp limpos com sucesso +FolderTaskDescription = A limpeza da pasta "{0}" +ControlledFolderAccess = Acesso à pasta controlada +ProtectedFoldersRequest = Gostaria de permitir o acesso à pasta controlada e especificar a pasta que Microsoft Defender irá proteger de aplicativos maliciosos e ameaças? +ProtectedFoldersListRemoved = Pastas removidas +AppControlledFolderRequest = Gostaria de especificar um aplicativo que é permitido através do acesso pasta controlada? +AllowedControlledFolderAppsRemoved = Aplicações permitidas removidas +DefenderExclusionFolderRequest = Gostaria de especificar uma pasta a ser excluído da Microsoft Defender scans de malware? +DefenderExclusionFoldersListRemoved = Pastas excluídas removidas +AddDefenderExclusionFileRequest = Gostaria de especificar um arquivo a ser excluído do Microsoft Defender scans de malware? +DefenderExclusionFilesRemoved = Arquivos excluídos removidos +EventViewerCustomViewName = Criação de processo +EventViewerCustomViewDescription = Criação de processos e eventos de auditoria de linha de comando +RestartWarning = Certifique-se de reiniciar o PC +ErrorsLine = Linha +ErrorsFile = Arquivo +ErrorsMessage = Erros/Avisos +Add = Adicionar +AllFilesFilter = Todos os arquivos (*.*)|*.* +Change = Mudar +DialogBoxOpening = Exibindo a caixa de diálogo... +Disable = Desativar +Dismiss = Ignorar +Enable = Habilitar +EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*)|*.* +FolderSelect = Escolha uma pasta +FilesWontBeMoved = Os arquivos não serão transferidos +FourHours = 4 horas +HalfHour = 30 minutos +Install = Instalar +Minute = 1 minuto +NoData = Nada à exibir +NoInternetConnection = Sem conexão à Internet +NoResponse = Uma conexão não pôde ser estabelecida com https://store.rg-adguard.net +Patient = Por favor, espere... +Run = Executar +Select = Selecione +SelectAll = Selecionar tudo +Skip = Pular +Skipped = Ignorados +Snooze = Soneca +SymbolicSkipped = Pulado criando um link simbólico +Uninstall = Desinstalar +'@ diff --git a/Sophia/PowerShell 7.x/ru-RU/Sophia.psd1 b/Sophia/PowerShell 7.x/ru-RU/Sophia.psd1 new file mode 100644 index 00000000..33a5807c --- /dev/null +++ b/Sophia/PowerShell 7.x/ru-RU/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 +UnsupportedOSBuild = Скрипт поддерживает только Windows 10 версии 2004/20H1 и выше +UnsupportedRelease = Обнаружена новая версия +ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен +ScheduledTasks = Запланированные задания +OneDriveUninstalling = Удаление OneDrive... +OneDriveInstalling = OneDrive устанавливается... +OneDriveDownloading = Скачивается OneDrive... ~33 МБ +WindowsFeaturesTitle = Компоненты Windows +OptionalFeaturesTitle = Дополнительные компоненты +EnableHardwareVT = Включите виртуализацию в UEFI +UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение +RetrievingDrivesList = Получение списка дисков... +DriveSelect = Выберите диск, в корне которого будет создана папка "{0}" +UserFolderRequest = Хотите изменить расположение папки "{0}"? +UserFolderSelect = Выберите папку для "{0}" +UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию? +ReservedStorageIsInUse = Операция не поддерживается, пока используется зарезервированное хранилище\nПожалуйста, дождитесь окончания всех обслуживающих операций и попробуйте заново +ShortcutPinning = Ярлык "{0}" закрепляется на начальном экране +UninstallUWPForAll = Для всех пользователей +UninstallUWPTitle = UWP-приложения +WSLUpdateDownloading = Скачивается пакет обновления ядра Linux... ~14 МБ +WSLUpdateInstalling = Установка пакета обновления ядра Linux... +HEVCDownloading = Скачивается расширения для видео HEVC от производителя устройства... ~2,8 МБ +GraphicsPerformanceTitle = Настройка производительности графики +GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? +TaskNotificationTitle = Уведомление +CleanupTaskNotificationTitle = Важная информация +CleanupTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска +CleanupTaskNotificationEventTitle = Запустить задачу по очистке неиспользуемых файлов и обновлений Windows? +CleanupTaskNotificationEvent = Очистка Windows не займет много времени. Следующий раз это уведомление появится через 30 дней +CleanupTaskNotificationSnoozeInterval = Выберите интервал повтора уведомления +CleanupNotificationTaskDescription = Всплывающее уведомление с напоминанием об очистке неиспользуемых файлов и обновлений Windows +SoftwareDistributionTaskNotificationEvent = Кэш обновлений Windows успешно удален +TempTaskNotificationEvent = Папка временных файлов успешно очищена +FolderTaskDescription = Очистка папки "{0}" +ControlledFolderAccess = Контролируемый доступ к папкам +ProtectedFoldersRequest = Хотите включить контролируемый доступ к папкам и указать папку, которую Microsoft Defender будет защищать от вредоносных приложений и угроз? +ProtectedFoldersListRemoved = Удаленные папки +AppControlledFolderRequest = Указать приложение, которому разрешена работа через контролируемый доступ к папкам +AllowedControlledFolderAppsRemoved = Удаленные разрешенные приложения +DefenderExclusionFolderRequest = Указать папку, чтобы исключить ее из списка сканирования Microsoft Defender? +DefenderExclusionFoldersListRemoved = Исключенные папки удалены +AddDefenderExclusionFileRequest = Указать файл, чтобы исключить его из списка сканирования Microsoft Defender? +DefenderExclusionFilesRemoved = Исключенные файлы удалены +EventViewerCustomViewName = Создание процесса +EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки +RestartWarning = Обязательно перезагрузите ваш ПК +ErrorsLine = Строка +ErrorsFile = Файл +ErrorsMessage = Ошибки/предупреждения +Add = Добавить +AllFilesFilter = Все файлы (*.*)|*.* +Change = Изменить +DialogBoxOpening = Диалоговое окно открывается... +Disable = Отключить +Dismiss = Отмена +Enable = Включить +EXEFilesFilter = *.exe|*.exe|Все файлы (*.*)|*.* +FolderSelect = Выберите папку +FilesWontBeMoved = Файлы не будут перенесены +FourHours = 4 часа +HalfHour = 30 минут +Install = Установить +Minute = 1 минута +NoData = Отсутствуют данные +NoInternetConnection = Отсутствует интернет-соединение +NoResponse = Невозможно установить соединение с https://store.rg-adguard.net +Patient = Пожалуйста, подождите... +Run = Запустить +Select = Выбрать +SelectAll = Выбрать всё +Skip = Пропустить +Skipped = Пропущено +Snooze = Отложить +SymbolicSkipped = Пропущено создание символической ссылки +Uninstall = Удалить +'@ diff --git a/Sophia/PowerShell 7.x/tr-TR/Sophia.psd1 b/Sophia/PowerShell 7.x/tr-TR/Sophia.psd1 new file mode 100644 index 00000000..008d46c7 --- /dev/null +++ b/Sophia/PowerShell 7.x/tr-TR/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Bu betik sadece Windows 10 x64 destekliyor +UnsupportedOSBuild = Bu betik sadece Windows 10 2004/20H1 sürüm ve üstünü destekliyor +UnsupportedRelease = Yeni sürüm bulundu +ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı +ScheduledTasks = Zamanlanan görevler +OneDriveUninstalling = OneDrive kaldırılıyor... +OneDriveInstalling = OneDrive kuruluyor... +OneDriveDownloading = OneDrive indiriliyor... ~33 MB +WindowsFeaturesTitle = Windows özellikleri +OptionalFeaturesTitle = İsteğe bağlı özellikler +EnableHardwareVT = UEFI'dan sanallaştırmayı aktifleştirin +UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın +RetrievingDrivesList = Sürücü listesi alınıyor... +DriveSelect = "{0}" klasörünün oluşturulacağı kök içindeki sürücüyü seçin +UserFolderRequest = "{0}" klasörünün yerini değiştirmek ister misiniz? +UserFolderSelect = "{0}" klasörü için bir klasör seçin +UserDefaultFolder = "{0}" klasörünün konumunu varsayılan değerle değiştirmek ister misiniz? +ReservedStorageIsInUse = Ayrılmış depolama kullanımdayken bu işlem desteklenmez. \nLütfen tüm servis işlemlerinin tamamlanmasını bekleyin ve daha sonra tekrar deneyin +ShortcutPinning = "{0}" kısayolu Başlangıç sekmesine sabitlendi +UninstallUWPForAll = Bütün kullanıcılar için +UninstallUWPTitle = UWP Uygulamaları +WSLUpdateDownloading = Linux kernel güncelleme paketi indiriliyor... ~14 MB +WSLUpdateInstalling = Kernel güncelleme paketi kuruluyor +HEVCDownloading = "Cihaz Üreticisinden HEVC Video Uzantıları" İndiriliyor... ~2,8 MB +GraphicsPerformanceTitle = Grafik performans tercihi +GraphicsPerformanceRequest = Seçtiğiniz bir uygulamanın grafik performansı ayarını "Yüksek performans" olarak belirlemek ister misiniz? +TaskNotificationTitle = Bildirim +CleanupTaskNotificationTitle = Önemli bilgi +CleanupTaskDescription = Kullanılmayan Windows dosyaları ve güncellemeleri yerleşik Disk Temizleme uygulaması ile temizleniyor +CleanupTaskNotificationEventTitle = Windows kullanılmayan dosyaları ve güncellemeleri temizlemek için görev çalıştırılsın mı? +CleanupTaskNotificationEvent = Windows cleaning won't take long. Bir dahaki sefere bildirim 30 gün içinde görünecek +CleanupTaskNotificationSnoozeInterval = Hatırlatma Aralığı Seçin +CleanupNotificationTaskDescription = Windows kullanılmayan dosyaları ve güncellemeleri temizleme hakkında açılır bildirim hatırlatıcısı +SoftwareDistributionTaskNotificationEvent = Windows güncelleme önbelleği başarıyla silindi +TempTaskNotificationEvent = Geçici dosyalar klasörü başarıyla temizlendi +FolderTaskDescription = "{0}" klasörü temizleniyor +ControlledFolderAccess = Kontrollü klasör erişimi +ProtectedFoldersRequest = Kontrollü klasör erişimini etkinleştirmek ve Microsoft Defender'ın kötü amaçlı uygulamalardan ve tehditlerden koruyacağı klasörü belirtmek ister misiniz? +ProtectedFoldersListRemoved = Silinen klasörler +AppControlledFolderRequest = Kontrollü Klasör erişimine izin verilen bir uygulama belirtmek ister misiniz? +AllowedControlledFolderAppsRemoved = Tüm kaldırılan uygulamalar +DefenderExclusionFolderRequest = Microsoft Defender kötü amaçlı yazılım taramalarının dışında tutulacak bir klasör belirtmek ister misiniz? +DefenderExclusionFoldersListRemoved = Hariç tutulan klasörler kaldırıldı +AddDefenderExclusionFileRequest = Microsoft Defender kötü amaçlı yazılım taramalarının dışında bırakılacak bir dosya belirtmek ister misiniz? +DefenderExclusionFilesRemoved = Hariç tutulan dosyalar kaldırıldı +EventViewerCustomViewName = Süreç Oluşturma +EventViewerCustomViewDescription = Süreç oluşturma ve komut satırı denetleme olayları +RestartWarning = Bilgisayarınızı yeniden başlattığınızdan emin olun +ErrorsLine = Satır +ErrorsFile = Dosya +ErrorsMessage = Hatalar/Uyarılar +Add = Ekle +AllFilesFilter = Tüm Dosyalar (*.*)|*.* +Change = Değiştir +DialogBoxOpening = İletişim kutusu görüntüleniyor... +Disable = Devre dışı bırak +Dismiss = İptal +Enable = Aktif et +EXEFilesFilter = *.exe|*.exe|Tüm Dosyalar (*.*)|*.* +FolderSelect = Klasör seç +FilesWontBeMoved = Dosyalar taşınmayacak +FourHours = 4 saat +HalfHour = 30 dakika +Install = Yüklemek +Minute = 1 dakika +NoData = Görüntülenecek bir şey yok +NoInternetConnection = İnternet bağlantısı yok +NoResponse = https://store.rg-adguard.net ile bağlantı kurulamadı +Patient = Lütfen bekleyin... +Run = Başlat +Select = Seç +SelectAll = Hepsini seç +Skip = Atla +Skipped = Atlandı +Snooze = Ertelemek +SymbolicSkipped = Sembolik bir bağlantı oluşturma atlandı +Uninstall = Kaldır +'@ diff --git a/Sophia/PowerShell 7.x/uk-UA/Sophia.psd1 b/Sophia/PowerShell 7.x/uk-UA/Sophia.psd1 new file mode 100644 index 00000000..7283aae9 --- /dev/null +++ b/Sophia/PowerShell 7.x/uk-UA/Sophia.psd1 @@ -0,0 +1,79 @@ +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 +UnsupportedOSBuild = Скрипт підтримує тільки Windows 10 версії 2004/20H1 та вище +UnsupportedRelease = Виявлено нову версію +ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений +ScheduledTasks = Заплановані задачі +OneDriveUninstalling = Видалення OneDrive... +OneDriveInstalling = OneDrive встановлюється... +OneDriveDownloading = Завантажується OneDrive... ~33 МБ +WindowsFeaturesTitle = Компоненти Windows +OptionalFeaturesTitle = Додаткові компоненти +EnableHardwareVT = Увімкніть віртуалізацію в UEFI +UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування +RetrievingDrivesList = Отримання списку дисків... +DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}" +UserFolderRequest = Хочете змінити розташування папки "{0}"? +UserFolderSelect = Виберіть папку для "{0}" +UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням? +ReservedStorageIsInUse = Операція не підтримується, поки використовується зарезервоване сховище\nБудь ласка, дочекайтеся закінчення всіх обслуговуючих операцій і спробуйте знову +ShortcutPinning = Ярлик "{0}" закріплюється на початковому екрані +UninstallUWPForAll = Для всіх користувачів +UninstallUWPTitle = Програми UWP +WSLUpdateDownloading = Завантажується пакет оновлення ядра Linux... ~14 МБ +WSLUpdateInstalling = Встановлення пакета оновлення ядра Linux... +HEVCDownloading = Завантаження "Розширення відео HEVC від виробника пристрою"... ~2,8 МБ +GraphicsPerformanceTitle = Налаштування продуктивності графіки +GraphicsPerformanceRequest = Встановити для будь-якої програми за вашим вибором налаштування продуктивності графіки на "Висока продуктивність"? +TaskNotificationTitle = Cповіщення +CleanupTaskNotificationTitle = Важлива інформація +CleanupTaskDescription = Очищення зайвих файлів і оновлень Windows, використовуючи вбудовану програму очищення диска +CleanupTaskNotificationEventTitle = Запустити задачу по очищенню зайвих файлів і оновлень Windows? +CleanupTaskNotificationEvent = Очищення Windows не займе багато часу. Наступний раз це повідомлення з'явиться через 30 днів +CleanupTaskNotificationSnoozeInterval = Виберіть інтервал повтору повідомлення +CleanupNotificationTaskDescription = Спливаюче повідомлення про нагадуванні з очищення зайвих файлів і оновлень Windows +SoftwareDistributionTaskNotificationEvent = Кеш оновлень Windows успішно видалений +TempTaskNotificationEvent = Папка тимчасових файлів успішно очищена +FolderTaskDescription = Очищення папки "{0}" +ControlledFolderAccess = Контрольований доступ до папок +ProtectedFoldersRequest = Бажаєте увімкнути контрольований доступ до папок і вказати папку, яку Microsoft Defender буде захищати від шкідливих додатків і загроз? +ProtectedFoldersListRemoved = Видалення папки +AppControlledFolderRequest = Вказати додаток, якому дозволена робота через контрольований доступ до папок +AllowedControlledFolderAppsRemoved = Видалені дозволені додатки +DefenderExclusionFolderRequest = Вказати папку, щоб виключити її зі списку сканування Microsoft Defender? +DefenderExclusionFoldersListRemoved = Виключені папки видалені +AddDefenderExclusionFileRequest = Вказати файл, щоб виключити його зі списку сканування Microsoft Defender? +DefenderExclusionFilesRemoved = Виключені файли видалені +EventViewerCustomViewName = Створення процесу +EventViewerCustomViewDescription = Події створення нового процесу і аудит командного рядка +RestartWarning = Обов'язково перезавантажте ваш ПК +ErrorsLine = Рядок +ErrorsFile = Файл +ErrorsMessage = Помилки/попередження +Add = Додати +AllFilesFilter = Усі файли (*.*)|*.* +Change = Змінити +DialogBoxOpening = Діалогове вікно відкривається... +Disable = Вимкнути +Dismiss = Відміна +Enable = Увімкнути +EXEFilesFilter = *.exe|*.exe|Усі файли (*.*)|*.* +FolderSelect = Виберіть папку +FilesWontBeMoved = Файли не будуть перенесені +FourHours = 4 години +HalfHour = 30 хвилин +Install = Встановити +Minute = 1 хвилина +NoData = Відсутні дані +NoInternetConnection = Відсутнє інтернет-з'єднання +NoResponse = Не вдалося встановити зв’язок із https://store.rg-adguard.net +Patient = Будь ласка, зачекайте... +Run = Запустити +Select = Вибрати +SelectAll = Вибрати все +Skip = Пропустити +Skipped = Пропущено +Snooze = Відкласти +SymbolicSkipped = Пропущено створення символічного посилання +Uninstall = Видалити +'@