### Install Drivers from Folder Source: https://context7.com/martyfiles/winclick/llms.txt Installs drivers from a 'Drivers' folder located on the Desktop. The folder should contain .inf files, which can be exported using DriverStoreExplorer. Uses pnputil for installation. ```bat :: Установка драйверов из папки Drivers на Рабочем столе :: Папка должна содержать .inf-файлы (можно экспортировать через DriverStoreExplorer) call WinClick.bat /InstallDrivers :: pnputil /add-driver "%USERPROFILE%\Desktop\Drivers\*.inf" /subdirs /install ``` -------------------------------- ### Install Visual C++ Redistributable Source: https://context7.com/martyfiles/winclick/llms.txt Installs Visual C++ Redistributable packages from 2005 to 2022 for both x86 and x64 architectures using a silent installation method. ```bat :: Установка Visual C++ Redistributable 2005–2022 (x86 + x64, тихая установка) call WinClick.bat /InstallVC :: VisualCppRedist_AIO_x86_x64.exe /aiA /gm2 ``` -------------------------------- ### Remove Lock Screen, Shadows, and Recommended Section Source: https://context7.com/martyfiles/winclick/llms.txt Hides the lock screen, icon shadows, and the 'Recommended' section in the Start Menu. This streamlines the user interface and startup experience. ```bat :: Скрыть экран блокировки, тени иконок, раздел «Рекомендуем» call WinClick.bat /RemoveLockScreen /NoIconShadow /HideRecommended ``` -------------------------------- ### Install DirectX Source: https://context7.com/martyfiles/winclick/llms.txt Installs DirectX versions 9 through 11. This is essential for running many older games and applications that rely on these DirectX versions. ```bat :: Установка DirectX 9–11 call WinClick.bat /InstallDX ``` -------------------------------- ### Install Icaros for Thumbnails Source: https://context7.com/martyfiles/winclick/llms.txt Installs Icaros, a utility that enables thumbnail previews for video, audio, image, and archive files within File Explorer. It registers IcarosThumbnailProvider.dll as a Shell Extension. ```bat :: Установить Icaros — эскизы для видео, аудио, изображений и архивов в Проводнике call WinClick.bat /Icaros :: Регистрирует IcarosThumbnailProvider.dll как Shell Extension для 100+ расширений файлов ``` -------------------------------- ### Uninstall Pre-installed Apps with WinClick Source: https://context7.com/martyfiles/winclick/llms.txt Removes pre-installed UWP applications, OneDrive, Remote Assistant, and cleans up Start Menu folders. The /RemoveAppx command is equivalent to a PowerShell command for removing non-removable apps. ```bat :: Удаление всех UWP-приложений для всех пользователей :: Эквивалент: Get-AppxPackage | Where NonRemovable -eq $false | Remove-AppxPackage -AllUsers call WinClick.bat /RemoveAppx ``` ```bat :: Удаление OneDrive (завершает процесс, запускает /uninstall, чистит папки и ключи реестра) call WinClick.bat /RemoveOneDrive ``` ```bat :: Удаление Помощника по удалённому подключению (mstsc /uninstall) call WinClick.bat /RemoveRemoteAssistant ``` ```bat :: Удаление папок «Специальные возможности» и «Стандартные - Windows» из Пуска call WinClick.bat /CleanStartMenu ``` -------------------------------- ### Set Ultimate Performance Power Plan Source: https://context7.com/martyfiles/winclick/llms.txt Activates the 'Ultimate Performance' power scheme. This GUID corresponds to the highest performance power plan available on the system. ```bat :: Схема питания «Максимальная производительность» call WinClick.bat /UltimatePerformance :: GUID: e9a42b02-d5df-448d-aa00-03f14749eb61 ``` -------------------------------- ### Disable Notifications and Ads Source: https://context7.com/martyfiles/winclick/llms.txt Disables notifications, recommendations, and advertisements within the Start Menu and File Explorer. This aims to provide a cleaner user interface. ```bat :: Отключение уведомлений, рекомендаций и рекламы в Пуске и Проводнике call WinClick.bat /DisableNotificationsAds ``` -------------------------------- ### Prevent Windows Update Driver Installation Source: https://context7.com/martyfiles/winclick/llms.txt Prevents Windows Update from automatically installing device drivers. This ensures that only manually selected drivers are installed. ```bat :: Запрет установки драйверов через Windows Update call WinClick.bat /DisableWUDrivers ``` -------------------------------- ### Show File Extensions and Set Explorer Default View Source: https://context7.com/martyfiles/winclick/llms.txt Configures File Explorer to show file extensions and to open by default to 'This PC' instead of 'Quick access'. ```bat :: Показывать расширения файлов, открывать Проводник в «Этот компьютер» call WinClick.bat /ShowExtensions /ExplorerThisPC ``` -------------------------------- ### Compress System Files with WinClick Source: https://context7.com/martyfiles/winclick/llms.txt Use these commands to compress system files or the entire system drive. Ensure the WinClick.bat script is available. Manual verification of compression can be done using the 'compact' command. ```batch :: Сжатие только системных файлов (%SystemRoot%\) call WinClick.bat /CompressOS ``` ```batch :: Сжатие системных И программных файлов (%SystemDrive%\) — занимает значительно больше времени call WinClick.bat /CompressDrive ``` ```batch :: Проверить результат сжатия вручную: compact /q %SystemRoot%\System32\ntoskrnl.exe :: Ожидаемый вывод: ... [LZX] ``` -------------------------------- ### Load Custom Icons in PowerShell GUI Source: https://context7.com/martyfiles/winclick/llms.txt Loads custom icons from the 'Work\' directory. Ensure the icon files (e.g., Telegram.ico) exist in the specified path. ```powershell # Загрузка иконок из папки Work\ (Telegram.ico, YouTube.ico, GitHub.ico) $img = Get-CustomImage "Telegram.ico" ``` -------------------------------- ### Apply Multiple WinClick Tweaks Source: https://context7.com/martyfiles/winclick/llms.txt Applies a combination of system tweaks by passing multiple arguments to WinClick.bat. Arguments are processed independently. ```bat :: Применить несколько твиков одной командой call WinClick.bat /DisableHibernate /DisableVBS /UltimatePerformance /DisableUAC ``` ```bat :: Только очистка системы call WinClick.bat /RemoveUpdateFiles /RemoveStoreCache /RemoveExplorerCache /CleanWinSxS ``` ```bat :: Полная деинсталляция встроенного ПО call WinClick.bat /RemoveAppx /RemoveOneDrive /RemoveEdge /RemoveEdgeWebView ``` ```bat :: Отключение телеметрии и обновлений call WinClick.bat /DisableTasks /PauseUpdates /DisableAutoUpdates /DisableDefenderUpdates ``` -------------------------------- ### Launch GUI with PowerShell Source: https://context7.com/martyfiles/winclick/llms.txt Launches the graphical interface using PowerShell. The -ShowReboot flag forces the reboot dialog to appear after operations. ```bat :: Запуск основного GUI WinClick.bat ``` ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File "GUI.ps1" ``` ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File "GUI.ps1" -ShowReboot ``` -------------------------------- ### Apply Blue Icons Source: https://context7.com/martyfiles/winclick/llms.txt Applies blue folder icons by replacing the 'imageres.dll.mun' file. This provides a visual customization for folders. ```bat :: Установить синие папки (замена imageres.dll.mun) call WinClick.bat /BlueIcons ``` -------------------------------- ### Show Seconds and Date in Tray Clock Source: https://context7.com/martyfiles/winclick/llms.txt Displays seconds and the date in the system tray clock by setting 'ShowSecondsInSystemClock' to 1 and customizing 'sShortDate'. ```bat :: Секунды и дата в системном трее call WinClick.bat /TraySeconds /TrayDate :: ShowSecondsInSystemClock = 1; sShortDate = "ddd, dd.MM.yy" ``` -------------------------------- ### Apply Dark Theme Source: https://context7.com/martyfiles/winclick/llms.txt Applies the dark theme to both the system and applications by setting 'AppsUseLightTheme' and 'SystemUsesLightTheme' registry values to 0. ```bat :: Тёмная тема системы и приложений call WinClick.bat /DarkTheme :: AppsUseLightTheme = 0, SystemUsesLightTheme = 0 ``` -------------------------------- ### Set Cloudflare DNS Source: https://context7.com/martyfiles/winclick/llms.txt Configures all Wi-Fi adapters to use Cloudflare's DNS servers (1.1.1.1 and 1.0.0.1). This is done using the netsh command. ```bat :: Установка DNS Cloudflare (1.1.1.1 / 1.0.0.1) на все Wi-Fi адаптеры call WinClick.bat /DNS :: netsh interface ipv4 set dns name="Беспроводная сеть" static 1.1.1.1 ``` -------------------------------- ### Pass Selected Tweaks to Batch Script Source: https://context7.com/martyfiles/winclick/llms.txt This PowerShell code collects selected items from checkboxes, joins their tags into a space-separated string, and then executes a batch script with these arguments. Ensure 'cmd.exe' and the batch file are accessible. ```powershell # Передача выбранных твиков в батник при нажатии «ОПТИМИЗИРОВАТЬ» $selected = $allCBs | Where-Object { $_.IsChecked } $argsString = ($selected | ForEach-Object { $_.Tag }) -join " " # Пример argsString: "/DisableHibernate /DisableVBS /DarkTheme /ShowExtensions" Start-Process cmd.exe -ArgumentList "/c call `"$batPath`" $argsString" ``` -------------------------------- ### Animated Window Closing in WPF GUI Source: https://context7.com/martyfiles/winclick/llms.txt This PowerShell snippet demonstrates how to animate the window closing by fading out its opacity. It requires a reference to the window object. ```powershell # Анимированное закрытие окна (DoubleAnimation Opacity 1→0 за 200 мс) Close-WindowAnimated $window ``` -------------------------------- ### Clean System Files with WinClick Source: https://context7.com/martyfiles/winclick/llms.txt Performs various system cleaning operations, including removing update files, cleaning the WinSxS component store, and deleting junk folders. ```bat :: Удаление файлов обновлений (SoftwareDistribution\Download и EdgeUpdate\Download) call WinClick.bat /RemoveUpdateFiles ``` ```bat :: Очистка WinSxS (удаляет устаревшие версии компонентов, может занять несколько минут) call WinClick.bat /CleanWinSxS ``` ```bat :: Удаление лишних папок на диске C: call WinClick.bat /RemoveJunkFolders ``` ```bat :: Удаление старых драйверов через pnputil (PowerShell-скрипт находит дубликаты по имени) call WinClick.bat /RemoveOldDrivers ``` ```bat :: Удаление ShellBags (записи о просмотренных папках в реестре HKCU) call WinClick.bat /RemoveShellBags ``` -------------------------------- ### Boost Icon Cache Source: https://context7.com/martyfiles/winclick/llms.txt Increases the icon cache size to 4096, from the default of 500. This tweak is applied via registry modification and can improve explorer performance. ```bat :: Увеличение кэша иконок до 4096 (по умолчанию 500) call WinClick.bat /BoostIconCache :: Реестр: HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer -> MaxCachedIcons = 4096 ``` -------------------------------- ### Display Reboot Prompt in GUI Source: https://context7.com/martyfiles/winclick/llms.txt This PowerShell function displays a reboot prompt dialog to the user. It internally calls the shutdown command with specific arguments for an immediate reboot. ```powershell # Диалог перезагрузки после завершения оптимизации Show-RebootPrompt # Вызывает: Start-Process "shutdown.exe" -ArgumentList "/r /t 1 /f" ``` -------------------------------- ### Set TTL for Internet Sharing Source: https://context7.com/martyfiles/winclick/llms.txt Hides the real Time To Live (TTL) value by setting it to 65 (0x41). This is often used to mask internet connection sharing. ```bat :: Скрытие реального TTL (TTL = 65, маскировка раздачи интернета) call WinClick.bat /TTL :: HKLM\SYSTEM\...\Tcpip\Parameters -> DefaultTTL = 0x41 (65) ``` -------------------------------- ### Force End Frozen Applications Source: https://context7.com/martyfiles/winclick/llms.txt Configures the system to forcibly terminate unresponsive applications during shutdown. This is controlled by the 'AutoEndTasks' registry value. ```bat :: Принудительное завершение зависших приложений при выключении call WinClick.bat /KillFreezeApps :: HKCR\Control Panel\Desktop -> AutoEndTasks = 1 ``` -------------------------------- ### Disable Resume Feature Source: https://context7.com/martyfiles/winclick/llms.txt Disables the 'Resume' feature, which can free up approximately 200 MB of RAM. This functionality is managed using ViVeTool. ```bat :: Отключение функции «Возобновить» (освобождает ~200 МБ ОЗУ) call WinClick.bat /DisableResume :: Использует ViVeTool /disable /id:56517033 ``` -------------------------------- ### Remove File Explorer Sections Source: https://context7.com/martyfiles/winclick/llms.txt Removes the 'Home', 'Gallery', and 'Network' sections from the File Explorer sidebar. This simplifies the navigation pane. ```bat :: Удалить разделы «Главная», «Галерея» и «Сеть» из боковой панели Проводника call WinClick.bat /RemoveHome /RemoveGallery /RemoveNetwork ``` -------------------------------- ### Disable User Account Control (UAC) Source: https://context7.com/martyfiles/winclick/llms.txt Disables User Account Control (UAC) by setting 'EnableLUA' to 0, which removes the prompts for elevated privileges. This should be used with caution. ```bat :: Отключение UAC (EnableLUA = 0, убирает диалоги повышения прав) call WinClick.bat /DisableUAC ``` -------------------------------- ### Disable Restore Points Source: https://context7.com/martyfiles/winclick/llms.txt Disables system restore points using vssadmin and PowerShell commands. This action prevents the creation of new restore points. ```bat :: Отключение точек восстановления (vssadmin + PowerShell) call WinClick.bat /DisableRestorePoints ``` -------------------------------- ### Add 'End Task' Button to Taskbar Source: https://context7.com/martyfiles/winclick/llms.txt Adds a 'Finish task' button to the taskbar, accessible via a right-click context menu on application icons. This allows for quick termination of running applications. ```bat :: Кнопка «Завершить задачу» на панели задач (ПКМ по приложению) call WinClick.bat /TaskbarEndTask ``` -------------------------------- ### Disable VBS and HVCI Source: https://context7.com/martyfiles/winclick/llms.txt Disables Virtualization-based Security (VBS) and Hypervisor-Protected Code Integrity (HVCI). This can provide a performance boost on AMD CPUs but requires a system restart. ```bat :: Отключение VBS и HVCI (даёт прирост на CPU AMD, требует перезагрузку) call WinClick.bat /DisableVBS :: bcdedit /set hypervisorlaunchtype off ``` -------------------------------- ### Apply All Windows Update Restrictions Source: https://context7.com/martyfiles/winclick/llms.txt Applies a comprehensive set of Windows Update restrictions, including disabling driver updates, pausing updates, and disabling automatic updates. ```bat :: Применить все ограничения обновлений разом call WinClick.bat /DisableWUDrivers /DisableDefenderUpdates /PauseUpdates /DisableAutoUpdates ``` -------------------------------- ### Remove Windows Components with WinClick Source: https://context7.com/martyfiles/winclick/llms.txt Removes optional Windows components using DISM. This includes components like Notepad, PowerShell ISE, VBScript, and Internet Explorer. VBScript is noted as a dependency for some applications. ```bat :: Удаление всех дополнительных компонентов call WinClick.bat /RemoveComponents ``` ```text :: Внимание: VBScript нужен для Epic Games Launcher и некоторых драйверов AMD. :: Восстановить: Настройки > Система > Дополнительные компоненты > Посмотреть доступные функции ``` -------------------------------- ### Disable System Hibernation Source: https://context7.com/martyfiles/winclick/llms.txt Disables system hibernation using powercfg -h off and registry modifications. This frees up disk space previously used for hibernation files. ```bat :: Отключение гибернации (powercfg -h off + реестр) call WinClick.bat /DisableHibernate ``` -------------------------------- ### Remove Edge and WebView2 Components Source: https://context7.com/martyfiles/winclick/llms.txt Uninstalls Microsoft Edge and Edge WebView2. Note that Edge uninstallation requires no internet connection. Both components can be removed with a single command. ```bat :: Удаление Microsoft Edge (требуется отсутствие интернета!) call WinClick.bat /RemoveEdge ``` ```bat :: Удаление Edge WebView2 call WinClick.bat /RemoveEdgeWebView ``` ```bat :: Удаление обоих компонентов за один вызов call WinClick.bat /RemoveEdge /RemoveEdgeWebView ``` -------------------------------- ### Disable Reserved Storage Source: https://context7.com/martyfiles/winclick/llms.txt Disables reserved storage, which typically occupies around 7 GB of disk space. This can be useful for freeing up space on systems with limited storage. ```bat :: Отключение зарезервированного хранилища (~7 ГБ) call WinClick.bat /DisableReservedStorage ``` -------------------------------- ### Disable Telemetry Tasks Source: https://context7.com/martyfiles/winclick/llms.txt Disables over 100 telemetry, diagnostic, CEIP, Copilot, Recall, Edge, and Defender update tasks using schtasks /Change /Disable. Verify task status manually after application. ```bat :: Отключение всех задач телеметрии call WinClick.bat /DisableTasks :: Проверить состояние задачи вручную после применения: schtasks /Query /TN "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" :: Ожидаемый вывод: Status: Disabled ``` -------------------------------- ### Pause Windows Updates Source: https://context7.com/martyfiles/winclick/llms.txt Pauses all Windows updates until a specified future date (e.g., 07.07.2077). This is achieved by setting the 'PauseUpdatesExpiryTime' registry value. ```bat :: Пауза всех обновлений до 07.07.2077 call WinClick.bat /PauseUpdates :: Устанавливает PauseUpdatesExpiryTime = 2077-07-07T00:00:00Z в реестре ``` -------------------------------- ### Disable Automatic Windows Updates Source: https://context7.com/martyfiles/winclick/llms.txt Completely disables automatic Windows updates via Group Policy by setting 'NoAutoUpdate' to 1. This requires administrative privileges and registry modification. ```bat :: Полное отключение автоматических обновлений (групповая политика) call WinClick.bat /DisableAutoUpdates :: HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -> NoAutoUpdate = 1 ``` -------------------------------- ### Unlock Regional Restrictions Source: https://context7.com/martyfiles/winclick/llms.txt Removes regional restrictions by replacing the 'IntegratedServicesRegionPolicySet.json' file. This can enable features or content that are region-locked. ```bat :: Снятие региональных ограничений (замена IntegratedServicesRegionPolicySet.json) call WinClick.bat /UnlockRegion ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.