Browse Source

27.03.2021 v5.1.2

pull/174/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
5d8cdc18d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 35
      Sophia/LTSC/Sophia.ps1
  2. BIN
      Sophia/LTSC/Sophia.psd1
  3. 392
      Sophia/LTSC/Sophia.psm1
  4. 4
      Sophia/LTSC/cn-CN/Sophia.psd1
  5. 4
      Sophia/LTSC/de-DE/Sophia.psd1
  6. 4
      Sophia/LTSC/en-US/Sophia.psd1
  7. 4
      Sophia/LTSC/es-ES/Sophia.psd1
  8. 4
      Sophia/LTSC/fr-FR/Sophia.psd1
  9. 4
      Sophia/LTSC/it-IT/Sophia.psd1
  10. 4
      Sophia/LTSC/pt-BR/Sophia.psd1
  11. 4
      Sophia/LTSC/ru-RU/Sophia.psd1
  12. 4
      Sophia/LTSC/tr-TR/Sophia.psd1
  13. 4
      Sophia/LTSC/uk-UA/Sophia.psd1

35
Sophia/LTSC/Sophia.ps1

@ -2,17 +2,16 @@
.SYNOPSIS .SYNOPSIS
Default preset file for "Windows 10 Sophia Script" (LTSC version) Default preset file for "Windows 10 Sophia Script" (LTSC version)
Version: v5.1.1 Version: v5.1.2
Date: 17.03.2021 Date: 27.03.2021
Copyright (c) 20152021 farag & oZ-Zo Copyright (c) 20152021 farag & oZ-Zo
https://github.com/farag2
https://github.com/oz-zo
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
.DESCRIPTION .DESCRIPTION
Read carefully and configure the preset file before running 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 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 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 .EXAMPLE
.\Sophia.ps1 -Functions CreateRestorePoint, "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal" .\Sophia.ps1 -Functions CreateRestorePoint, "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal"
.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 .NOTES
Supported Windows 10 version Supported Windows 10 version
Version: 1809 Version: 1809
@ -40,6 +33,20 @@
Set execution policy to be able to run scripts only in the current PowerShell session: Set execution policy to be able to run scripts only in the current PowerShell session:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force 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 .LINK
https://github.com/farag2/Windows-10-Sophia-Script https://github.com/farag2/Windows-10-Sophia-Script
#> #>
@ -57,7 +64,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.1.1 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2015–2021" $Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.1.2 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2015–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
@ -593,7 +600,7 @@ PCTurnOffDevice -Disable
# Переопределить метод ввода по умолчанию: английский # Переопределить метод ввода по умолчанию: английский
SetInputMethod -English SetInputMethod -English
# Override for default input method: use langiage list (default value) # Override for default input method: use language list (default value)
# Переопределить метод ввода по умолчанию: использовать список языков (значение по умолчанию) # Переопределить метод ввода по умолчанию: использовать список языков (значение по умолчанию)
# SetInputMethod -Default # SetInputMethod -Default
@ -964,7 +971,7 @@ SaveZoneInformation -Disable
# Enable Windows Sandbox # Enable Windows Sandbox
# Включить Windows Sandbox # Включить Windows Sandbox
WindowsSandbox -Enable # WindowsSandbox -Enable
# Disable Windows Sandbox (default value) # Disable Windows Sandbox (default value)
# Выключить Windows Sandbox (значение по умолчанию) # Выключить Windows Sandbox (значение по умолчанию)

BIN
Sophia/LTSC/Sophia.psd1

Binary file not shown.

392
Sophia/LTSC/Sophia.psm1

@ -2,24 +2,15 @@
.SYNOPSIS .SYNOPSIS
"Windows 10 Sophia Script" (LTSC version) is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks "Windows 10 Sophia Script" (LTSC version) is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks
Version: v5.1.1 Version: v5.1.2
Date: 17.03.2021 Date: 27.03.2021
Copyright (c) 20152021 farag & oZ-Zo Copyright (c) 20152021 farag & oZ-Zo
https://github.com/farag2
https://github.com/oz-zo
Thanks to all https://forum.ru-board.com members involved Thanks to all https://forum.ru-board.com members involved
.DESCRIPTION .DESCRIPTION
Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring
.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 .NOTES
Supported Windows 10 version Supported Windows 10 version
Version: 1809 Version: 1809
@ -31,6 +22,20 @@
Set execution policy to be able to run scripts only in the current PowerShell session: Set execution policy to be able to run scripts only in the current PowerShell session:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force 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 .LINK
https://github.com/farag2/Windows-10-Sophia-Script https://github.com/farag2/Windows-10-Sophia-Script
#> #>
@ -155,7 +160,7 @@ function CreateRestorePoint
# Revert the System Restore checkpoint creation frequency to 1440 minutes # 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 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) if ($ComputerRestorePoint)
{ {
Disable-ComputerRestore -Drive $env:SystemDrive Disable-ComputerRestore -Drive $env:SystemDrive
@ -1660,6 +1665,8 @@ function 3DObjects
# In order for the changes to take effect the File Explorer process has to be restarted # In order for the changes to take effect the File Explorer process has to be restarted
Stop-Process -Name explorer -Force Stop-Process -Name explorer -Force
Start-Sleep -Seconds 3
# Restoring closed folders # Restoring closed folders
foreach ($OpenedFolder in $OpenedFolders) foreach ($OpenedFolder in $OpenedFolders)
{ {
@ -2849,66 +2856,101 @@ function TempFolder
{ {
"SystemDrive" "SystemDrive"
{ {
# Restart the Printer Spooler service (Spooler) if ($env:TEMP -ne "$env:SystemDrive\Temp")
Restart-Service -Name Spooler -Force
if (-not (Test-Path -Path $env:SystemDrive\Temp))
{ {
New-Item -Path $env:SystemDrive\Temp -ItemType Directory -Force # Restart the Printer Spooler service (Spooler)
} Restart-Service -Name Spooler -Force
Remove-Item -Path $env:SystemRoot\Temp -Recurse -Force -ErrorAction Ignore # Stop OneDrive processes
Get-Item -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -ne "SymbolicLink"} | Remove-Item -Recurse -Force -ErrorAction Ignore Stop-Process -Name OneDrive -Force -ErrorAction Ignore
Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore
if (Test-Path -Path $env:LOCALAPPDATA\Temp -ErrorAction Ignore) if (-not (Test-Path -Path $env:SystemDrive\Temp))
{ {
if ((Get-ChildItem -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Measure-Object).Count -ne 0) New-Item -Path $env:SystemDrive\Temp -ItemType Directory -Force
}
# 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 (-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);
do public static bool MarkFileDelete (string sourcefile)
{
return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT);
}
"@
}
if (-not ("WinAPI.DeleteFiles" -as [type]))
{ {
$Title = "" Add-Type @Signature
$Message = $Localization.ClearFolder -f "$env:LOCALAPPDATA\Temp" }
$Delete = $Localization.Delete
$Skip = $Localization.Skip try
$Options = "&$Delete", "&$Skip" {
$DefaultChoice = 0 Get-ChildItem -Path $env:TEMP -Recurse -Force | Remove-Item -Recurse -Force -ErrorAction Stop
}
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice) catch
switch ($Result) {
{ # If files are in use remove them at the next boot
"0" Get-ChildItem -Path $env:TEMP -Recurse -Force | ForEach-Object -Process {[WinAPI.DeleteFiles]::MarkFileDelete($_.FullName)}
{
# 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
}
}
} }
until (((Get-ChildItem -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Measure-Object).Count -eq 0) -or ($Result -eq 1))
$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
}
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", "User")
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Machine") [Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Machine")
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Process") [Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Process")
@ -2921,49 +2963,116 @@ 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 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 New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -PropertyType ExpandString -Value $env:SystemDrive\Temp -Force
# endregion main
} }
} }
"Default" "Default"
{ {
# Remove a symbolic link to the %SystemDrive%\Temp folder if ($env:TEMP -ne "$env:LOCALAPPDATA\Temp")
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)) # Stop OneDrive processes
{ Stop-Process -Name OneDrive -Force -ErrorAction Ignore
New-Item -Path $env:SystemRoot\Temp -ItemType Directory -Force Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore
}
if (-not (Test-Path -Path $env:LOCALAPPDATA\Temp))
{
New-Item -Path $env:LOCALAPPDATA\Temp -ItemType Directory -Force
}
# Restart the Printer Spooler service (Spooler) # Remove a symbolic link to the %SystemDrive%\Temp folder
Restart-Service -Name Spooler -Force if (Get-Item -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"})
{
(Get-Item -Path $env:LOCALAPPDATA\Temp -Force).Delete()
}
if ((Get-ChildItem -Path $env:SystemDrive\Temp -Force -ErrorAction Ignore | Measure-Object).Count -eq 0) if (-not (Test-Path -Path $env:SystemRoot\Temp))
{ {
Remove-Item -Path $env:SystemDrive\Temp -Recurse -Force New-Item -Path $env:SystemRoot\Temp -ItemType Directory -Force
} }
else if (-not (Test-Path -Path $env:LOCALAPPDATA\Temp))
{ {
Write-Verbose -Message ($Localization.TempNotEmpty -f $env:TEMP) -Verbose New-Item -Path $env:LOCALAPPDATA\Temp -ItemType Directory -Force
} }
[Environment]::SetEnvironmentVariable("TMP", "$env:LOCALAPPDATA\Temp", "User") # Removing folders
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemRoot\TEMP", "Machine") Remove-Item -Path $env:TEMP -Recurse -Force -ErrorAction Ignore
[Environment]::SetEnvironmentVariable("TMP", "$env:LOCALAPPDATA\Temp", "Process")
New-ItemProperty -Path HKCU:\Environment -Name TMP -PropertyType ExpandString -Value $env:LOCALAPPDATA\Temp -Force
[Environment]::SetEnvironmentVariable("TEMP", "$env:LOCALAPPDATA\Temp", "User") if ((Get-ChildItem -Path $env:TEMP -Force -ErrorAction Ignore | Measure-Object).Count -ne 0)
[Environment]::SetEnvironmentVariable("TEMP", "$env:SystemRoot\TEMP", "Machine") {
[Environment]::SetEnvironmentVariable("TEMP", "$env:LOCALAPPDATA\Temp", "Process") # https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-movefileexa
New-ItemProperty -Path HKCU:\Environment -Name TEMP -PropertyType ExpandString -Value $env:LOCALAPPDATA\Temp -Force # 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);
}
"@
}
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TMP -PropertyType ExpandString -Value $env:SystemRoot\TEMP -Force if (-not ("WinAPI.DeleteFiles" -as [type]))
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name TEMP -PropertyType ExpandString -Value $env:SystemRoot\TEMP -Force {
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
"@
# 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
[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
}
} }
} }
} }
@ -5104,6 +5213,8 @@ function WinPrtScrFolder
# In order for the changes to take effect the File Explorer process has to be restarted # In order for the changes to take effect the File Explorer process has to be restarted
Stop-Process -Name explorer -Force Stop-Process -Name explorer -Force
Start-Sleep -Seconds 3
# Restoring closed folders # Restoring closed folders
foreach ($OpenedFolder in $OpenedFolders) foreach ($OpenedFolder in $OpenedFolders)
{ {
@ -5628,7 +5739,7 @@ function Set-Association
Param Param
( (
[Parameter( [Parameter(
Mandatory = $false, Mandatory = $true,
Position = 0 Position = 0
)] )]
[String] [String]
@ -5647,6 +5758,7 @@ function Set-Association
) )
$ProgramPath = [System.Environment]::ExpandEnvironmentVariables($ProgramPath) $ProgramPath = [System.Environment]::ExpandEnvironmentVariables($ProgramPath)
$Icon = [System.Environment]::ExpandEnvironmentVariables($Icon)
if (Test-Path -Path $ProgramPath) if (Test-Path -Path $ProgramPath)
{ {
@ -5819,6 +5931,7 @@ namespace RegistryUtils
$OpenSubKey = [Microsoft.Win32.Registry]::CurrentUser.OpenSubKey($SubKey,'ReadWriteSubTree','TakeOwnership') $OpenSubKey = [Microsoft.Win32.Registry]::CurrentUser.OpenSubKey($SubKey,'ReadWriteSubTree','TakeOwnership')
$Acl = [System.Security.AccessControl.RegistrySecurity]::new() $Acl = [System.Security.AccessControl.RegistrySecurity]::new()
# Get current user SID
$UserSID = (Get-CimInstance -ClassName Win32_UserAccount | Where-Object -FilterScript {$_.Name -eq $env:USERNAME}).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)") $Acl.SetSecurityDescriptorSddlForm("O:$UserSID`G:$UserSID`D:AI(D;;DC;;;$UserSID)")
$OpenSubKey.SetAccessControl($Acl) $OpenSubKey.SetAccessControl($Acl)
@ -5846,6 +5959,20 @@ namespace RegistryUtils
$OrigProgID = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Classes\$Extension" -Name "(default)" -ErrorAction Ignore)."(default)" $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 ProgId doesn't exist set the specified ProgId for the extansions
if (-not $OrigProgID) if (-not $OrigProgID)
{ {
@ -5856,7 +5983,7 @@ namespace RegistryUtils
New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force 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")) if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids"))
{ {
New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force
@ -5872,14 +5999,12 @@ namespace RegistryUtils
} }
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Name $OrigProgID -PropertyType None -Value ([byte[]]@()) -Force 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-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-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\OpenWithProgids" -Name $ProgID -PropertyType None -Value ([byte[]]@()) -Force
# Removing the UserChoice key # Removing the UserChoice key
Remove-UserChoiceKey -SubKey "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\UserChoice" Remove-UserChoiceKey -SubKey "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$Extension\UserChoice"
@ -5933,13 +6058,6 @@ namespace RegistryUtils
New-ItemProperty -Path Registry::HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\FileAssociations\ProgIds -Name "_$Extension" -PropertyType DWord -Value 1 -Force 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 # 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 [psobject]$OpenSubkey = Get-Item -Path "Registry::HKEY_CLASSES_ROOT\$Extension\OpenWithProgids" -ErrorAction Ignore | Select-Object -ExpandProperty Property
@ -6124,7 +6242,9 @@ namespace FileAssoc
{ {
[OutputType([array])] [OutputType([array])]
# Secret static string stored in %SystemRoot%\SysWOW64\shell32.dll
$userExperience = "User Choice set via Windows User Experience {D18B6DD5-6124-4341-9318-804003BAFA0B}" $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 $userSid = (Get-CimInstance -ClassName Win32_UserAccount | Where-Object -FilterScript {$_.Name -eq $env:USERNAME}).SID
$KeyLastWriteTime = Get-KeyLastWriteTime -SubKey $SubKey $KeyLastWriteTime = Get-KeyLastWriteTime -SubKey $SubKey
$baseInfo = ("{0}{1}{2}{3}{4}" -f $Extension, $userSid, $ProgId, $KeyLastWriteTime, $userExperience).ToLowerInvariant() $baseInfo = ("{0}{1}{2}{3}{4}" -f $Extension, $userSid, $ProgId, $KeyLastWriteTime, $userExperience).ToLowerInvariant()
@ -6846,7 +6966,7 @@ function SoftwareDistributionTask
$SoftwareDistributionTask = @" $SoftwareDistributionTask = @"
(Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') (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.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null
@ -6941,7 +7061,7 @@ function TempTask
"Register" "Register"
{ {
$TempTask = @" $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.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null
@ -7384,6 +7504,8 @@ function DismissSmartScreenFilter
.EXAMPLE .EXAMPLE
AuditProcess -Enable AuditProcess -Enable
.NOTES
Machine-wide Machine-wide
#> #>
function AuditProcess function AuditProcess
@ -7436,6 +7558,8 @@ function AuditProcess
.NOTES .NOTES
In order this feature to work events auditing ("AuditProcess -Enable" function) will be enabled In order this feature to work events auditing ("AuditProcess -Enable" function) will be enabled
.NOTES
Machine-wide Machine-wide
#> #>
function AuditCommandLineProcess function AuditCommandLineProcess
@ -7491,6 +7615,8 @@ function AuditCommandLineProcess
.NOTES .NOTES
In order this feature to work events auditing ("AuditProcess -Enable" function) and command line in process creation events will be enabled In order this feature to work events auditing ("AuditProcess -Enable" function) and command line in process creation events will be enabled
.NOTES
Machine-wide Machine-wide
#> #>
function EventViewerCustomView function EventViewerCustomView
@ -7570,6 +7696,8 @@ function EventViewerCustomView
.EXAMPLE .EXAMPLE
PowerShellModulesLogging -Enable PowerShellModulesLogging -Enable
.NOTES
Machine-wide Machine-wide
#> #>
function PowerShellModulesLogging function PowerShellModulesLogging
@ -7625,6 +7753,8 @@ function PowerShellModulesLogging
.EXAMPLE .EXAMPLE
PowerShellScriptsLogging -Enable PowerShellScriptsLogging -Enable
.NOTES
Machine-wide Machine-wide
#> #>
function PowerShellScriptsLogging function PowerShellScriptsLogging
@ -7678,6 +7808,8 @@ function PowerShellScriptsLogging
.EXAMPLE .EXAMPLE
AppsSmartScreen -Enable AppsSmartScreen -Enable
.NOTES
Machine-wide Machine-wide
#> #>
function AppsSmartScreen function AppsSmartScreen
@ -7785,6 +7917,8 @@ function SaveZoneInformation
.NOTES .NOTES
Blocks WSH from executing .js and .vbs files Blocks WSH from executing .js and .vbs files
.NOTES
Current user Current user
#> #>
function WindowsScriptHost function WindowsScriptHost
@ -7838,6 +7972,8 @@ function WindowsScriptHost
.EXAMPLE .EXAMPLE
WindowsSandbox -Enable WindowsSandbox -Enable
.NOTES
Current user Current user
#> #>
function WindowsSandbox function WindowsSandbox
@ -7933,6 +8069,8 @@ function WindowsSandbox
.EXAMPLE .EXAMPLE
MSIExtractContext -Add MSIExtractContext -Add
.NOTES
Current user Current user
#> #>
function MSIExtractContext function MSIExtractContext
@ -7989,6 +8127,8 @@ function MSIExtractContext
.EXAMPLE .EXAMPLE
CABInstallContext -Add CABInstallContext -Add
.NOTES
Current user Current user
#> #>
function CABInstallContext function CABInstallContext
@ -8045,6 +8185,8 @@ function CABInstallContext
.EXAMPLE .EXAMPLE
RunAsDifferentUserContext -Add RunAsDifferentUserContext -Add
.NOTES
Current user Current user
#> #>
function RunAsDifferentUserContext function RunAsDifferentUserContext
@ -8094,6 +8236,8 @@ function RunAsDifferentUserContext
.EXAMPLE .EXAMPLE
CastToDeviceContext -Show CastToDeviceContext -Show
.NOTES
Current user Current user
#> #>
function CastToDeviceContext function CastToDeviceContext
@ -8147,6 +8291,8 @@ function CastToDeviceContext
.EXAMPLE .EXAMPLE
ShareContext -Show ShareContext -Show
.NOTES
Current user Current user
#> #>
function ShareContext function ShareContext
@ -8200,6 +8346,8 @@ function ShareContext
.EXAMPLE .EXAMPLE
EditWithPaint3DContext -Show EditWithPaint3DContext -Show
.NOTES
Current user Current user
#> #>
function EditWithPaint3DContext function EditWithPaint3DContext
@ -8257,6 +8405,8 @@ function EditWithPaint3DContext
.EXAMPLE .EXAMPLE
PrintCMDContext -Show PrintCMDContext -Show
.NOTES
Current user Current user
#> #>
function PrintCMDContext function PrintCMDContext
@ -8308,6 +8458,8 @@ function PrintCMDContext
.EXAMPLE .EXAMPLE
IncludeInLibraryContext -Show IncludeInLibraryContext -Show
.NOTES
Current user Current user
#> #>
function IncludeInLibraryContext function IncludeInLibraryContext
@ -8357,6 +8509,8 @@ function IncludeInLibraryContext
.EXAMPLE .EXAMPLE
SendToContext -Show SendToContext -Show
.NOTES
Current user Current user
#> #>
function SendToContext function SendToContext
@ -8406,6 +8560,8 @@ function SendToContext
.EXAMPLE .EXAMPLE
BitLockerContext -Show BitLockerContext -Show
.NOTES
Current user Current user
#> #>
function BitLockerContext function BitLockerContext
@ -8471,6 +8627,8 @@ function BitLockerContext
.EXAMPLE .EXAMPLE
BitmapImageNewContext -Add BitmapImageNewContext -Add
.NOTES
Current user Current user
#> #>
function BitmapImageNewContext function BitmapImageNewContext
@ -8547,6 +8705,8 @@ function BitmapImageNewContext
.EXAMPLE .EXAMPLE
RichTextDocumentNewContext -Add RichTextDocumentNewContext -Add
.NOTES
Current user Current user
#> #>
function RichTextDocumentNewContext function RichTextDocumentNewContext
@ -8623,6 +8783,8 @@ function RichTextDocumentNewContext
.EXAMPLE .EXAMPLE
CompressedFolderNewContext -Add CompressedFolderNewContext -Add
.NOTES
Current user Current user
#> #>
function CompressedFolderNewContext function CompressedFolderNewContext
@ -8677,6 +8839,8 @@ function CompressedFolderNewContext
.EXAMPLE .EXAMPLE
MultipleInvokeContext -Disable MultipleInvokeContext -Disable
.NOTES
Current user Current user
#> #>
function MultipleInvokeContext function MultipleInvokeContext
@ -8726,6 +8890,8 @@ function MultipleInvokeContext
.EXAMPLE .EXAMPLE
UseStoreOpenWith -Show UseStoreOpenWith -Show
.NOTES
Current user Current user
#> #>
function UseStoreOpenWith function UseStoreOpenWith
@ -8779,6 +8945,8 @@ function UseStoreOpenWith
.EXAMPLE .EXAMPLE
PreviousVersionsPage -Show PreviousVersionsPage -Show
.NOTES
Current user Current user
#> #>
function PreviousVersionsPage function PreviousVersionsPage

4
Sophia/LTSC/cn-CN/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = 该脚本支持Windows 10版本1809
UnsupportedRelease = 找到新版本 UnsupportedRelease = 找到新版本
ControlledFolderAccessDisabled = 受控文件夹访问禁用 ControlledFolderAccessDisabled = 受控文件夹访问禁用
ScheduledTasks = 计划任务 ScheduledTasks = 计划任务
ClearFolder = 删除{0}文件夹中的所有文件
FilesBlocked = 以下文件被第三方应用程序阻止手动删除它们并继续
TempNotEmpty = {0}文件夹不为空 手动清除
WindowsFeaturesTitle = Windows功能 WindowsFeaturesTitle = Windows功能
OptionalFeaturesTitle = 可选功能 OptionalFeaturesTitle = 可选功能
EnableHardwareVT = UEFI中开启虚拟化 EnableHardwareVT = UEFI中开启虚拟化
@ -46,7 +43,6 @@ ErrorsMessage = 错误/警告
Add = 添加 Add = 添加
AllFilesFilter = 所有文件 (*.*)|*.* AllFilesFilter = 所有文件 (*.*)|*.*
Change = 更改 Change = 更改
Delete = 删除
DialogBoxOpening = 显示对话窗口 DialogBoxOpening = 显示对话窗口
Disable = 禁用 Disable = 禁用
Dismiss = 解雇 Dismiss = 解雇

4
Sophia/LTSC/de-DE/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Das Skript unterstützt Windows 10 1
UnsupportedRelease = Neue Version gefunden UnsupportedRelease = Neue Version gefunden
ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert
ScheduledTasks = Geplante Aufgaben ScheduledTasks = Geplante Aufgaben
ClearFolder = Löscht alle Dateien im Ordner "{0}"?
FilesBlocked = Die folgenden Dateien werden von Apps von Drittanbietern blockiert. 'nEntfernen Sie sie manuell und fahren Sie fort
TempNotEmpty = Der Ordner "{0}" ist nicht leer. Löschen Sie ihn manuell
WindowsFeaturesTitle = Windows Eigenschaften WindowsFeaturesTitle = Windows Eigenschaften
OptionalFeaturesTitle = Optionale Eigenschaften OptionalFeaturesTitle = Optionale Eigenschaften
EnableHardwareVT = Virtualisierung in UEFI aktivieren EnableHardwareVT = Virtualisierung in UEFI aktivieren
@ -46,7 +43,6 @@ ErrorsMessage = Fehler/Warnungen
Add = Hinzufügen Add = Hinzufügen
AllFilesFilter = Alle Dateien (*.*)|*.* AllFilesFilter = Alle Dateien (*.*)|*.*
Change = Ändern Change = Ändern
Delete = Löschen
DialogBoxOpening = Anzeigen des Dialogfensters... DialogBoxOpening = Anzeigen des Dialogfensters...
Disable = Deaktivieren Disable = Deaktivieren
Dismiss = Stornieren Dismiss = Stornieren

4
Sophia/LTSC/en-US/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = The script supports Windows 10 1809
UnsupportedRelease = New version found UnsupportedRelease = New version found
ControlledFolderAccessDisabled = Controlled folder access disabled ControlledFolderAccessDisabled = Controlled folder access disabled
ScheduledTasks = Scheduled tasks ScheduledTasks = Scheduled tasks
ClearFolder = Delete all files in the "{0}" folder?
FilesBlocked = The following files are being blocked by third-party party apps. Remove them manually and continue
TempNotEmpty = The "{0}" folder is not empty. Clear it manually
WindowsFeaturesTitle = Windows features WindowsFeaturesTitle = Windows features
OptionalFeaturesTitle = Optional features OptionalFeaturesTitle = Optional features
EnableHardwareVT = Enable Virtualization in UEFI EnableHardwareVT = Enable Virtualization in UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Errors/Warnings
Add = Add Add = Add
AllFilesFilter = All Files (*.*)|*.* AllFilesFilter = All Files (*.*)|*.*
Change = Change Change = Change
Delete = Delete
DialogBoxOpening = Displaying the dialog box... DialogBoxOpening = Displaying the dialog box...
Disable = Disable Disable = Disable
Dismiss = Dismiss Dismiss = Dismiss

4
Sophia/LTSC/es-ES/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Este script solo soporta Windows 10
UnsupportedRelease = Nueva versión encontrada UnsupportedRelease = Nueva versión encontrada
ControlledFolderAccessDisabled = Acceso a carpetas controlado desactivado ControlledFolderAccessDisabled = Acceso a carpetas controlado desactivado
ScheduledTasks = Tareas programadas ScheduledTasks = Tareas programadas
ClearFolder = Elimine todos los archivos en la carpeta "{0}"?
FilesBlocked = Los siguientes archivos están siendo bloqueados por una aplicación de terceros. Elimínelos manualmente y continúe
TempNotEmpty = La carpeta "{0}" no está vacía. Límpiela manualmente
WindowsFeaturesTitle = Características de Windows WindowsFeaturesTitle = Características de Windows
OptionalFeaturesTitle = Características opcionales OptionalFeaturesTitle = Características opcionales
EnableHardwareVT = Activar virtualización en UEFI EnableHardwareVT = Activar virtualización en UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Errores/Advertencias
Add = Añadir Add = Añadir
AllFilesFilter = Tutti i file (*.*)|*.* AllFilesFilter = Tutti i file (*.*)|*.*
Change = Cambiar Change = Cambiar
Delete = Borrar
DialogBoxOpening = Mostrando caja de diálogo... DialogBoxOpening = Mostrando caja de diálogo...
Disable = Desactivar Disable = Desactivar
Dismiss = Despedir Dismiss = Despedir

4
Sophia/LTSC/fr-FR/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Le script supporte le version Window
UnsupportedRelease = Nouvelle version trouvée UnsupportedRelease = Nouvelle version trouvée
ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé ControlledFolderAccessDisabled = Contrôle d'accès aux dossiers désactivé
ScheduledTasks = Tâches planifiées ScheduledTasks = Tâches planifiées
ClearFolder = Supprimer tous les fichiers dans le dossier "{0}"?
FilesBlocked = Les fichiers suivants sont bloqués par une application tierce \nRetirer les manuellement et continuer
TempNotEmpty = Le dossier "{0}" n'est pas vide. L'effacer manuellement
WindowsFeaturesTitle = Fonctionnalités WindowsFeaturesTitle = Fonctionnalités
OptionalFeaturesTitle = Fonctionnalités optionnelles OptionalFeaturesTitle = Fonctionnalités optionnelles
EnableHardwareVT = Activer la virtualisation dans UEFI EnableHardwareVT = Activer la virtualisation dans UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Erreurs/Avertissements
Add = Ajouter Add = Ajouter
AllFilesFilter = Tous les Fichiers (*.*)|*.* AllFilesFilter = Tous les Fichiers (*.*)|*.*
Change = Changer Change = Changer
Delete = Effacer
DialogBoxOpening = Afficher la boîte de dialogue... DialogBoxOpening = Afficher la boîte de dialogue...
Disable = Désactiver Disable = Désactiver
Dismiss = Annuler Dismiss = Annuler

4
Sophia/LTSC/it-IT/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Lo script supporta Windows 10 versio
UnsupportedRelease = Nuova versione trovata UnsupportedRelease = Nuova versione trovata
ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata ControlledFolderAccessDisabled = l'accesso alle cartelle controllata disattivata
ScheduledTasks = Attività pianificate ScheduledTasks = Attività pianificate
ClearFolder = Eliminare tutti i file nella cartella "{0}"?
FilesBlocked = I seguenti file vengono bloccati da app di terze parti. Rimuovili manualmente e continua
TempNotEmpty = La cartella "{0}" non è vuota. Cancellare manualmente
WindowsFeaturesTitle = Funzionalità di Windows WindowsFeaturesTitle = Funzionalità di Windows
OptionalFeaturesTitle = Caratteristiche opzionali OptionalFeaturesTitle = Caratteristiche opzionali
EnableHardwareVT = Abilita virtualizzazione in UEFI EnableHardwareVT = Abilita virtualizzazione in UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Errori/avvisi
Add = Inserisci Add = Inserisci
AllFilesFilter = Tutti i file (*.*)|*.* AllFilesFilter = Tutti i file (*.*)|*.*
Change = Modificare Change = Modificare
Delete = Elimina
DialogBoxOpening = Visualizzazione della finestra di dialogo... DialogBoxOpening = Visualizzazione della finestra di dialogo...
Disable = Disattivare Disable = Disattivare
Dismiss = Ignorare Dismiss = Ignorare

4
Sophia/LTSC/pt-BR/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = O script suporta versões Windows 10
UnsupportedRelease = Nova versão encontrada UnsupportedRelease = Nova versão encontrada
ControlledFolderAccessDisabled = Acesso controlado a pasta desativada ControlledFolderAccessDisabled = Acesso controlado a pasta desativada
ScheduledTasks = Tarefas agendadas ScheduledTasks = Tarefas agendadas
ClearFolder = Exclua todos os arquivos na pasta "{0}"?
FilesBlocked = Os seguintes arquivos estão sendo bloqueados pelos apps de terceiros. Removê-los manualmente e continuar
TempNotEmpty = A pasta "{0}" não está vazia. Limpá-la manualmente
WindowsFeaturesTitle = Recursos do Windows WindowsFeaturesTitle = Recursos do Windows
OptionalFeaturesTitle = Recursos opcionais OptionalFeaturesTitle = Recursos opcionais
EnableHardwareVT = Habilitar virtualização em UEFI EnableHardwareVT = Habilitar virtualização em UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Erros/Avisos
Add = Adicionar Add = Adicionar
AllFilesFilter = Todos os arquivos (*.*)|*.* AllFilesFilter = Todos os arquivos (*.*)|*.*
Change = Mudar Change = Mudar
Delete = Excluir
DialogBoxOpening = Exibindo a caixa de diálogo... DialogBoxOpening = Exibindo a caixa de diálogo...
Disable = Desativar Disable = Desativar
Dismiss = Ignorar Dismiss = Ignorar

4
Sophia/LTSC/ru-RU/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Скрипт поддерживае
UnsupportedRelease = Обнаружена новая версия UnsupportedRelease = Обнаружена новая версия
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен
ScheduledTasks = Запланированные задания ScheduledTasks = Запланированные задания
ClearFolder = Удалить все файлы в папке "{0}"?
FilesBlocked = Следующие файлы блокируются сторонними приложениями. Удалите их вручную и продолжите
TempNotEmpty = Папка "{0}" не пуста. Очистите ее вручную
WindowsFeaturesTitle = Компоненты Windows WindowsFeaturesTitle = Компоненты Windows
OptionalFeaturesTitle = Дополнительные компоненты OptionalFeaturesTitle = Дополнительные компоненты
EnableHardwareVT = Включите виртуализацию в UEFI EnableHardwareVT = Включите виртуализацию в UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Ошибки/предупрежде
Add = Добавить Add = Добавить
AllFilesFilter = Все файлы (*.*)|*.* AllFilesFilter = Все файлы (*.*)|*.*
Change = Изменить Change = Изменить
Delete = Удалить
DialogBoxOpening = Диалоговое окно открывается... DialogBoxOpening = Диалоговое окно открывается...
Disable = Отключить Disable = Отключить
Dismiss = Отмена Dismiss = Отмена

4
Sophia/LTSC/tr-TR/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Bu betik sadece Windows 10 1809 Ente
UnsupportedRelease = Yeni sürüm bulundu UnsupportedRelease = Yeni sürüm bulundu
ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı ControlledFolderAccessDisabled = Kontrollü klasör erişimi devre dışı bırakıldı
ScheduledTasks = Zamanlanan görevler ScheduledTasks = Zamanlanan görevler
ClearFolder = "{0}" klasöründeki tüm dosyaları silin?
FilesBlocked = Aşağıdaki dosyalar 3. parti uygulamalar tarafından engelleniyor. \nKendiniz silin ve devam edin
TempNotEmpty = "{0}" klasörü boş değil. Kendiniz temizleyin
WindowsFeaturesTitle = Windows özellikleri WindowsFeaturesTitle = Windows özellikleri
OptionalFeaturesTitle = İsteğe bağlı özellikler OptionalFeaturesTitle = İsteğe bağlı özellikler
EnableHardwareVT = UEFI'dan sanallaştırmayı aktifleştirin EnableHardwareVT = UEFI'dan sanallaştırmayı aktifleştirin
@ -46,7 +43,6 @@ ErrorsMessage = Hatalar/Uyarılar
Add = Ekle Add = Ekle
AllFilesFilter = Tüm Dosyalar (*.*)|*.* AllFilesFilter = Tüm Dosyalar (*.*)|*.*
Change = Değiştir Change = Değiştir
Delete = Sil
DialogBoxOpening = İletişim kutusu görüntüleniyor... DialogBoxOpening = İletişim kutusu görüntüleniyor...
Disable = Devre dışı bırak Disable = Devre dışı bırak
Dismiss = İptal Dismiss = İptal

4
Sophia/LTSC/uk-UA/Sophia.psd1

@ -4,9 +4,6 @@ UnsupportedOSBuild = Скрипт підтримує ті
UnsupportedRelease = Виявлено нову версію UnsupportedRelease = Виявлено нову версію
ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений ControlledFolderAccessDisabled = Контрольований доступ до папок вимкнений
ScheduledTasks = Заплановані задачі ScheduledTasks = Заплановані задачі
ClearFolder = Видаліть всі файли у папці "{0}"?
FilesBlocked = Наступні файли блокуються сторонніми програмами\nВидаліть їх вручну та продовжуйте
TempNotEmpty = Папка "{0}" не порожня. Очистіть її вручну
WindowsFeaturesTitle = Компоненти Windows WindowsFeaturesTitle = Компоненти Windows
OptionalFeaturesTitle = Додаткові компоненти OptionalFeaturesTitle = Додаткові компоненти
EnableHardwareVT = Увімкніть віртуалізацію в UEFI EnableHardwareVT = Увімкніть віртуалізацію в UEFI
@ -46,7 +43,6 @@ ErrorsMessage = Помилки/попереджен
Add = Додати Add = Додати
AllFilesFilter = Усі файли (*.*)|*.* AllFilesFilter = Усі файли (*.*)|*.*
Change = Змінити Change = Змінити
Delete = Видалити
DialogBoxOpening = Діалогове вікно відкривається... DialogBoxOpening = Діалогове вікно відкривається...
Disable = Вимкнути Disable = Вимкнути
Dismiss = Відміна Dismiss = Відміна

Loading…
Cancel
Save