Browse Source

Add files via upload

pull/23/head
farag2 5 years ago
committed by GitHub
parent
commit
61a6fc263e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 175
      Win 10.ps1

175
Win 10.ps1

@ -18,7 +18,7 @@
.EXAMPLE .EXAMPLE
PS C:\WINDOWS\system32> & '.\Win 10.ps1' PS C:\WINDOWS\system32> & '.\Win 10.ps1'
.NOTES .NOTES
Version: v4.0.32 Version: v4.0.33
Date: 20.04.2020 Date: 20.04.2020
Written by: farag Written by: farag
Thanks to all http://forum.ru-board.com members involved Thanks to all http://forum.ru-board.com members involved
@ -36,7 +36,7 @@
#Requires -Version 5 #Requires -Version 5
#region Preparation #region Preparation
Set-StrictMode -Version Latest # Set-StrictMode -Version Latest
Clear-Host Clear-Host
# Get information about the current culture settings # Get information about the current culture settings
@ -587,7 +587,7 @@ if ($UninstallString)
# Save all opened folders in order to restore them after File Explorer restarting # Save all opened folders in order to restore them after File Explorer restarting
# Сохранить все открытые папки, чтобы восстановить их после перезапуска проводника # Сохранить все открытые папки, чтобы восстановить их после перезапуска проводника
Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore
$OpenedFolders = {(New-Object -ComObject "Shell.Application").Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() $OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke()
# Getting link to the OneDriveSetup.exe and its' argument(s) # Getting link to the OneDriveSetup.exe and its' argument(s)
# Получаем ссылку на OneDriveSetup.exe и его аргумент(ы) # Получаем ссылку на OneDriveSetup.exe и его аргумент(ы)
[string[]] $OneDriveSetup = ($UninstallString -Replace("\s*/",",/")).Trim().Split(",") [string[]] $OneDriveSetup = ($UninstallString -Replace("\s*/",",/")).Trim().Split(",")
@ -624,7 +624,7 @@ if ($UninstallString)
} }
else else
{ {
Write-Error -Message "$OneDriveUserFolder folder is not empty. Delete it manually" -ErrorAction SilentlyContinue Write-Error -Message "The $OneDriveUserFolder folder is not empty. Delete it manually" -ErrorAction SilentlyContinue
} }
Invoke-Item -Path $OneDriveUserFolder Invoke-Item -Path $OneDriveUserFolder
} }
@ -906,10 +906,17 @@ if (Get-WindowsEdition -Online | Where-Object -FilterScript {$_.Edition -eq "Pro
} }
} }
catch [Exception] catch [Exception]
{
if ($RU)
{
Write-Error -Message "Включите в BIOS виртуализацию" -ErrorAction SilentlyContinue
}
else
{ {
Write-Error -Message "Enable Virtualization in BIOS" -ErrorAction SilentlyContinue Write-Error -Message "Enable Virtualization in BIOS" -ErrorAction SilentlyContinue
} }
} }
}
} }
# Set location of the user folders to %SystemDrive% # Set location of the user folders to %SystemDrive%
# Установить расположение пользовательских папок на %SystemDrive% # Установить расположение пользовательских папок на %SystemDrive%
@ -1026,9 +1033,16 @@ do
if ($DesktopReg -ne $DesktopFolder) if ($DesktopReg -ne $DesktopFolder)
{ {
if ((Get-ChildItem -Path $DesktopReg | Measure-Object).Count -ne 0) if ((Get-ChildItem -Path $DesktopReg | Measure-Object).Count -ne 0)
{
if ($RU)
{ {
Write-Error -Message "В папке $DesktopReg осталась информация" -ErrorAction SilentlyContinue Write-Error -Message "В папке $DesktopReg осталась информация" -ErrorAction SilentlyContinue
} }
else
{
Write-Error -Message "The $DesktopReg folder is not empty" -ErrorAction SilentlyContinue
}
}
if (-not (Test-Path -Path $DesktopFolder)) if (-not (Test-Path -Path $DesktopFolder))
{ {
New-Item -Path $DesktopFolder -ItemType Directory -Force New-Item -Path $DesktopFolder -ItemType Directory -Force
@ -1046,7 +1060,7 @@ do
# Save all opened folders in order to restore them after File Explorer restart # Save all opened folders in order to restore them after File Explorer restart
# Сохранить все открытые папки, чтобы восстановить их после перезапуска проводника # Сохранить все открытые папки, чтобы восстановить их после перезапуска проводника
Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore
$OpenedFolders = {(New-Object -ComObject "Shell.Application").Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() $OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke()
# 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
@ -1109,9 +1123,16 @@ do
if ($DocumentsReg -ne $DocumentsFolder) if ($DocumentsReg -ne $DocumentsFolder)
{ {
if ((Get-ChildItem -Path $DocumentsReg | Measure-Object).Count -ne 0) if ((Get-ChildItem -Path $DocumentsReg | Measure-Object).Count -ne 0)
{
if ($RU)
{ {
Write-Error -Message "В папке $DocumentsReg осталась информация" -ErrorAction SilentlyContinue Write-Error -Message "В папке $DocumentsReg осталась информация" -ErrorAction SilentlyContinue
} }
else
{
Write-Error -Message "The $DocumentsReg folder is not empty" -ErrorAction SilentlyContinue
}
}
if (-not (Test-Path -Path $DocumentsFolder)) if (-not (Test-Path -Path $DocumentsFolder))
{ {
New-Item -Path $DocumentsFolder -ItemType Directory -Force New-Item -Path $DocumentsFolder -ItemType Directory -Force
@ -1172,9 +1193,16 @@ do
if ($DownloadsReg -ne $DownloadsFolder) if ($DownloadsReg -ne $DownloadsFolder)
{ {
if ((Get-ChildItem -Path $DownloadsReg | Measure-Object).Count -ne 0) if ((Get-ChildItem -Path $DownloadsReg | Measure-Object).Count -ne 0)
{
if ($RU)
{ {
Write-Error -Message "В папке $DownloadsReg осталась информация" -ErrorAction SilentlyContinue Write-Error -Message "В папке $DownloadsReg осталась информация" -ErrorAction SilentlyContinue
} }
else
{
Write-Error -Message "The $DownloadsReg folder is not empty" -ErrorAction SilentlyContinue
}
}
if (-not (Test-Path -Path $DownloadsFolder)) if (-not (Test-Path -Path $DownloadsFolder))
{ {
New-Item -Path $DownloadsFolder -ItemType Directory -Force New-Item -Path $DownloadsFolder -ItemType Directory -Force
@ -1239,9 +1267,16 @@ do
if ($MusicReg -ne $MusicFolder) if ($MusicReg -ne $MusicFolder)
{ {
if ((Get-ChildItem -Path $MusicReg | Measure-Object).Count -ne 0) if ((Get-ChildItem -Path $MusicReg | Measure-Object).Count -ne 0)
{
if ($RU)
{ {
Write-Error -Message "В папке $MusicReg осталась информация" -ErrorAction SilentlyContinue Write-Error -Message "В папке $MusicReg осталась информация" -ErrorAction SilentlyContinue
} }
else
{
Write-Error -Message "The $MusicReg folder is not empty" -ErrorAction SilentlyContinue
}
}
if (-not (Test-Path -Path $MusicFolder)) if (-not (Test-Path -Path $MusicFolder))
{ {
New-Item -Path $MusicFolder -ItemType Directory -Force New-Item -Path $MusicFolder -ItemType Directory -Force
@ -1302,9 +1337,16 @@ do
if ($PicturesReg -ne $PicturesFolder) if ($PicturesReg -ne $PicturesFolder)
{ {
if ((Get-ChildItem -Path $PicturesReg | Measure-Object).Count -ne 0) if ((Get-ChildItem -Path $PicturesReg | Measure-Object).Count -ne 0)
{
if ($RU)
{ {
Write-Error -Message "В папке $PicturesReg осталась информация" -ErrorAction SilentlyContinue Write-Error -Message "В папке $PicturesReg осталась информация" -ErrorAction SilentlyContinue
} }
else
{
Write-Error -Message "The $PicturesReg folder is not empty" -ErrorAction SilentlyContinue
}
}
if (-not (Test-Path -Path $PicturesFolder)) if (-not (Test-Path -Path $PicturesFolder))
{ {
New-Item -Path $PicturesFolder -ItemType Directory -Force New-Item -Path $PicturesFolder -ItemType Directory -Force
@ -1365,9 +1407,16 @@ do
if ($VideosReg -ne $VideosFolder) if ($VideosReg -ne $VideosFolder)
{ {
if ((Get-ChildItem -Path $VideosReg | Measure-Object).Count -ne 0) if ((Get-ChildItem -Path $VideosReg | Measure-Object).Count -ne 0)
{
if ($RU)
{ {
Write-Error -Message "В папке $VideosReg осталась информация" -ErrorAction SilentlyContinue Write-Error -Message "В папке $VideosReg осталась информация" -ErrorAction SilentlyContinue
} }
else
{
Write-Error -Message "The $PicturesReg folder is not empty" -ErrorAction SilentlyContinue
}
}
if (-not (Test-Path -Path $VideosFolder)) if (-not (Test-Path -Path $VideosFolder))
{ {
New-Item -Path $VideosFolder -ItemType Directory -Force New-Item -Path $VideosFolder -ItemType Directory -Force
@ -1412,71 +1461,94 @@ New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsMitigation -Name UserPref
# Установить параметры производительности графики для отдельных приложений на "Высокая производительность" # Установить параметры производительности графики для отдельных приложений на "Высокая производительность"
if (Get-CimInstance -ClassName Win32_VideoController | Where-Object -FilterScript {$_.AdapterDACType -ne "Internal" -and $null -ne $_.AdapterDACType}) if (Get-CimInstance -ClassName Win32_VideoController | Where-Object -FilterScript {$_.AdapterDACType -ne "Internal" -and $null -ne $_.AdapterDACType})
{ {
do
{
if ($RU) if ($RU)
{ {
Write-Host "`nВведите полные пути до .exe файлов, " -NoNewline Write-Host "`nЧтобы добавить приложение, для которого будет установлена настройка производительности графики"
Write-Host "для которого следует установить" Write-Host "на `"Высокая производительность`", введите букву: "
Write-Host "параметры производительности графики на `"Высокая производительность`"." Write-Host "[Y]es" -ForegroundColor Yellow -NoNewline
Write-Host "Пути должны быть разделены запятыми и взяты в кавычки." -ForegroundColor Yellow Write-Host " или " -NoNewline
Write-Host "`nЧтобы пропустить, нажмите Enter" -NoNewline Write-Host "[N]o" -ForegroundColor Yellow -NoNewline
Write-Host ", чтобы пропустить" -NoNewline
Write-Host "`nТакже, чтобы пропустить, нажмите Enter" -NoNewline
} }
else else
{ {
Write-Host "`nType the full paths to .exe files for which to set" Write-Host "`nTo add an app for which the graphics performance preference"
Write-Host "graphics performance preference to `"High performance GPU`"." Write-Host "will be set to `"High performance`" type: "
Write-Host "The paths must be separated by commas and taken in quotes." -ForegroundColor Yellow Write-Host "[Y]es" -ForegroundColor Yellow -NoNewline
Write-Host "`nPress Enter to skip" -NoNewline Write-Host " or " -NoNewline
Write-Host "[N]o" -ForegroundColor Yellow -NoNewline
Write-Host " to skip" -NoNewline
Write-Host "`nAlso press Enter to skip" -NoNewline
} }
if (Test-Path -Path "${env:ProgramFiles(x86)}\Steam") $Prompt = Read-Host -Prompt " "
if ([string]::IsNullOrEmpty($Prompt))
{ {
Invoke-Item -Path "${env:ProgramFiles(x86)}\Steam\steamapps\common" break
} }
function GpuPreference else
{
switch ($Prompt)
{
"Y"
{ {
[CmdletBinding()]
Param
(
[Parameter(Mandatory = $True)]
[string[]]$apps
)
if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences))
{ {
New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force
} }
$apps = $apps.Replace("`"", "").Split(",").Trim() Add-Type -AssemblyName System.Windows.Forms
foreach ($app in $apps) $OpenFileDialog = New-Object -TypeName System.Windows.Forms.OpenFileDialog
if ($RU)
{ {
New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $app -PropertyType String -Value "GpuPreference=2;" -Force $OpenFileDialog.Filter = "*.exe|*.exe|Все файлы (*.*)|*.*"
}
} }
do else
{
$apps = Read-Host -Prompt " "
if ($apps -match ".exe" -and $apps -match "`"")
{ {
GpuPreference $apps $OpenFileDialog.Filter = "*.exe|*.exe|All Files (*.*)|*.*"
} }
elseif ([string]::IsNullOrEmpty($apps)) $OpenFileDialog.InitialDirectory = "$env:ProgramFiles}"
$OpenFileDialog.Multiselect = $false
# Focus on open file dialog
# Перевести фокус на диалог открытия файла
$tmp = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true}
$OpenFileDialog.ShowDialog($tmp)
if ($OpenFileDialog.FileName)
{ {
break New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force
} }
else }
"N" {}
Default
{ {
if ($RU) if ($RU)
{ {
Write-Host "`nПути не взяты в кавычки или не содержат ссылки на .exe файлы." -ForegroundColor Yellow Write-Host "`nНеправильная буква." -ForegroundColor Yellow
Write-Host "Введите полные пути до .exe файлов, взяв в кавычки и разделив запятыми." Write-Host "`nЧтобы добавить приложение, для которого будет установлена настройка производительности графики"
Write-Host "`nЧтобы пропустить, нажмите Enter" -NoNewline Write-Host "на `"Высокая производительность`", введите букву: "
Write-Host "[Y]es" -ForegroundColor Yellow -NoNewline
Write-Host " или " -NoNewline
Write-Host "[N]o" -ForegroundColor Yellow -NoNewline
Write-Host ", чтобы пропустить" -NoNewline
Write-Host "`nТакже, чтобы пропустить, нажмите Enter" -NoNewline
} }
else else
{ {
Write-Host "`nThe paths hasn't been taken in quotes or do not contain links to .exe files" -ForegroundColor Yellow Write-Host "`nInvalid letter." -ForegroundColor Yellow
Write-Host "Type the full paths to .exe files by quoting and separating by commas." Write-Host "`nTo add an app for which the graphics performance preference"
Write-Host "`nPress Enter to skip" -NoNewline Write-Host "will be set to `"High performance`" type: "
Write-Host "[Y]es" -ForegroundColor Yellow -NoNewline
Write-Host " or " -NoNewline
Write-Host "[N]o" -ForegroundColor Yellow -NoNewline
Write-Host " to skip" -NoNewline
Write-Host "`nAlso press Enter to skip" -NoNewline
} }
} }
} }
until ($apps -match ".exe" -and $apps -match "`"") }
}
while ($Prompt -ne "N")
} }
# Launch folder in a separate process # Launch folder in a separate process
# Запускать окна с папками в отдельном процессе # Запускать окна с папками в отдельном процессе
@ -1635,6 +1707,7 @@ else
Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Windows.Forms
$OpenFileDialog = New-Object -TypeName System.Windows.Forms.OpenFileDialog $OpenFileDialog = New-Object -TypeName System.Windows.Forms.OpenFileDialog
$OpenFileDialog.InitialDirectory = $DownloadsFolder $OpenFileDialog.InitialDirectory = $DownloadsFolder
$OpenFileDialog.Multiselect = $false
if ($RU) if ($RU)
{ {
$OpenFileDialog.Filter = "*.exe|*.exe|Все файлы (*.*)|*.*" $OpenFileDialog.Filter = "*.exe|*.exe|Все файлы (*.*)|*.*"
@ -1645,7 +1718,7 @@ else
} }
# Focus on open file dialog # Focus on open file dialog
# Перевести фокус на диалог открытия файла # Перевести фокус на диалог открытия файла
$tmp = New-Object System.Windows.Forms.Form -Property @{TopMost = $true} $tmp = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true}
$OpenFileDialog.ShowDialog($tmp) $OpenFileDialog.ShowDialog($tmp)
if ($OpenFileDialog.FileName) if ($OpenFileDialog.FileName)
{ {
@ -1993,7 +2066,7 @@ do
$OpenFileDialog.RootFolder = "MyComputer" $OpenFileDialog.RootFolder = "MyComputer"
# Focus on open file dialog # Focus on open file dialog
# Перевести фокус на диалог открытия файла # Перевести фокус на диалог открытия файла
$tmp = New-Object System.Windows.Forms.Form -Property @{TopMost = $true} $tmp = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true}
$OpenFileDialog.ShowDialog($tmp) $OpenFileDialog.ShowDialog($tmp)
if ($OpenFileDialog.SelectedPath) if ($OpenFileDialog.SelectedPath)
{ {
@ -2077,9 +2150,10 @@ if ((Get-MpPreference).EnableControlledFolderAccess -eq 1)
$OpenFileDialog.Filter = "*.exe|*.exe|All Files (*.*)|*.*" $OpenFileDialog.Filter = "*.exe|*.exe|All Files (*.*)|*.*"
} }
$OpenFileDialog.InitialDirectory = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" $OpenFileDialog.InitialDirectory = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
$OpenFileDialog.Multiselect = $false
# Focus on open file dialog # Focus on open file dialog
# Перевести фокус на диалог открытия файла # Перевести фокус на диалог открытия файла
$tmp = New-Object System.Windows.Forms.Form -Property @{TopMost = $true} $tmp = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true}
$OpenFileDialog.ShowDialog($tmp) $OpenFileDialog.ShowDialog($tmp)
if ($OpenFileDialog.FileName) if ($OpenFileDialog.FileName)
{ {
@ -2162,7 +2236,7 @@ do
$OpenFileDialog.RootFolder = "MyComputer" $OpenFileDialog.RootFolder = "MyComputer"
# Focus on open file dialog # Focus on open file dialog
# Перевести фокус на диалог открытия файла # Перевести фокус на диалог открытия файла
$tmp = New-Object System.Windows.Forms.Form -Property @{TopMost = $true} $tmp = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true}
$OpenFileDialog.ShowDialog($tmp) $OpenFileDialog.ShowDialog($tmp)
if ($OpenFileDialog.SelectedPath) if ($OpenFileDialog.SelectedPath)
{ {
@ -2243,9 +2317,10 @@ do
$OpenFileDialog.Filter = "*.exe|*.exe|All Files (*.*)|*.*" $OpenFileDialog.Filter = "*.exe|*.exe|All Files (*.*)|*.*"
} }
$OpenFileDialog.InitialDirectory = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" $OpenFileDialog.InitialDirectory = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
$OpenFileDialog.Multiselect = $false
# Focus on open file dialog # Focus on open file dialog
# Перевести фокус на диалог открытия файла # Перевести фокус на диалог открытия файла
$tmp = New-Object System.Windows.Forms.Form -Property @{TopMost = $true} $tmp = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true}
$OpenFileDialog.ShowDialog($tmp) $OpenFileDialog.ShowDialog($tmp)
if ($OpenFileDialog.FileName) if ($OpenFileDialog.FileName)
{ {
@ -2294,7 +2369,7 @@ setx /M MP_FORCE_USE_SANDBOX 1
# Отклонить предложение Windows Defender в "Безопасность Windows" о входе в аккаунт Microsoft # Отклонить предложение Windows Defender в "Безопасность Windows" о входе в аккаунт Microsoft
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force
# Dismiss Windows Defender offer in the Windows Security about to turn on the SmartScreen filter for Microsoft Edge # Dismiss Windows Defender offer in the Windows Security about to turn on the SmartScreen filter for Microsoft Edge
# Отклонить предложение Windows Defender в "Безопасность Windows" включить фильтр SmartScreen для Microsoft Edge # Отклонить предложение Microsoft Defender в "Безопасность Windows" включить фильтр SmartScreen для Microsoft Edge
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force
# Turn on logging for all Windows PowerShell modules # Turn on logging for all Windows PowerShell modules
# Включить ведение журнала для всех модулей Windows PowerShell # Включить ведение журнала для всех модулей Windows PowerShell
@ -2419,8 +2494,8 @@ New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\SystemFileAssociations\image\
# Удалить пункт "Печать" из контекстного меню .bat и .cmd файлов # Удалить пункт "Печать" из контекстного меню .bat и .cmd файлов
New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\batfile\shell\print -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\batfile\shell\print -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force
New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\cmdfile\shell\print -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\cmdfile\shell\print -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force
# Remove "Compressed (zipped) Folder" from context menu # Remove "Compressed (zipped) Folder" from the "New" context menu
# Удалить пункт "Сжатая ZIP-папка" из контекстного меню # Удалить пункт "Сжатая ZIP-папка" из контекстного меню "Создать"
Remove-Item -Path Registry::HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew -Force -ErrorAction Ignore Remove-Item -Path Registry::HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew -Force -ErrorAction Ignore
# Remove "Rich Text Document" from the "New" context menu # Remove "Rich Text Document" from the "New" context menu
# Удалить пункт "Документ в формате RTF" из контекстного меню "Создать" # Удалить пункт "Документ в формате RTF" из контекстного меню "Создать"

Loading…
Cancel
Save