Skip to main content
WinSux applies a large set of registry changes, UI adjustments, and system configuration tweaks during the second and third boots. This page documents every category of change with the relevant registry paths.

Start menu and taskbar

Classic context menu

The Windows 11 modern context menu is replaced with the classic full context menu:
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""

Context menu items removed

ItemRegistry operation
Customize this folderHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoCustomizeThisFolder=1
Pin to Quick AccessHKCR\Folder\shell\pintohome deleted
Add to FavoritesHKCR\*\shell\pintohomefile deleted
Troubleshoot CompatibilityHKCR\exefile\shellex\ContextMenuHandlers\Compatibility deleted
Open in Terminal{9F156763-7844-4DC4-B2B1-901F640F5155} added to Shell Extensions\Blocked
Scan with Defender{09A47860-11B0-4DA5-AFA5-26D86198A780} added to Shell Extensions\Blocked
Give access to{f81e9010-6ea4-11ce-a7ff-00aa003ca9f6} added to Shell Extensions\Blocked
Include in libraryHKCR\Folder\ShellEx\ContextMenuHandlers\Library Location deleted
ShareHKCR\AllFilesystemObjects\shellex\ContextMenuHandlers\ModernSharing deleted
Restore previous versionsHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ExplorerNoPreviousVersionsPage=1
Send toHKCR\AllFilesystemObjects\shellex\ContextMenuHandlers\SendTo deleted, HKCR\UserLibraryFolder\shellex\ContextMenuHandlers\SendTo deleted

Taskbar icons

All system tray icons are set to visible (IsPromoted=1) by iterating over every subkey of:
HKEY_CURRENT_USER\Control Panel\NotifyIconSettings

Start Menu layout

Windows 10: A blank StartMenuLayout.xml is applied via group policy, then the policy is immediately relaxed. This clears all pinned tiles without locking the layout permanently. Windows 11: The start2.bin file is replaced with a pre-built binary (decoded from start2.txt using certutil) that has no pinned items.

Apps list view

The Start Menu app list is set to list mode instead of grid:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start]
"AllAppsViewMode"=dword:00000002

Accessibility folders

The Accessibility and Accessories folders in the Start Menu are hidden using the +h file attribute, along with all their contents.

Start Menu shortcuts created

WinSux adds five shortcuts to %ProgramData%\Microsoft\Windows\Start Menu\Programs so these locations are reachable directly from the Start Menu:
ShortcutTarget
Start Menu Shortcuts 1%ProgramData%\Microsoft\Windows\Start Menu\Programs
Start Menu Shortcuts 2%AppData%\Microsoft\Windows\Start Menu\Programs
Startup Programs 1%AppData%\Microsoft\Windows\Start Menu\Programs\Startup
Startup Programs 2%ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp
Recycle Bin::{645ff040-5081-101b-9f08-00aa002f954e}

Lock screen and wallpaper

A pure black JPEG is generated at runtime matching the primary monitor resolution using System.Drawing, saved to C:\Windows\Black.jpg, and applied to both the desktop wallpaper and the lock screen.
$screenWidth  = [System.Windows.Forms.SystemInformation]::PrimaryMonitorSize.Width
$screenHeight = [System.Windows.Forms.SystemInformation]::PrimaryMonitorSize.Height
$bitmap = New-Object System.Drawing.Bitmap $screenWidth, $screenHeight
$graphics = [System.Drawing.Graphics]::FromImage($bitmap)
$graphics.FillRectangle([System.Drawing.Brushes]::Black, 0, 0, $bitmap.Width, $bitmap.Height)
$bitmap.Save("C:\Windows\Black.jpg")
The lock screen image is set via PersonalizationCSP:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP]
"LockScreenImagePath"="C:\\Windows\\Black.jpg"
"LockScreenImageStatus"=dword:00000001
The wallpaper is set via the Desktop registry key, then immediately applied:
[HKEY_CURRENT_USER\Control Panel\Desktop]
"Wallpaper"="C:\\Windows\\Black.jpg"

Notepad

Notepad settings are written directly into the app’s settings.dat hive file after stopping the process. The hive is loaded temporarily under HKLM\Settings.
SettingValueEffect
OpenFilehex(5f5e104):01,...Opens the last file on launch
RewriteEnabledhex(5f5e10b):00,...Disables the AI Rewrite feature

Windows Store

The Store app’s settings.dat hive is loaded and modified directly.
SettingValueEffect
AutoDownload (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate)2Disables automatic app updates
VideoAutoplayhex(5f5e10b):00,...Disables video autoplay
EnableAppInstallNotificationshex(5f5e10b):00,...Disables app installation notifications
PersonalizationEnabledhex(5f5e10b):00,...Disables personalized experiences
The Store settings page (ms-windows-store:settings) is opened briefly before writing these values so that the settings.dat file is initialized. The Store process is then stopped before the hive is mounted.

App actions and Copilot

App actions (also called Cross-Device Resume) are disabled for Paint, Photos, and the CBS system app by writing to the MicrosoftWindows.Client.CBS settings hive. The following processes are stopped before the hive is modified: AppActions, CrossDeviceResume, DesktopStickerEditorWin32Exe, DiscoveryHubApp, FESearchHost, SearchHost, SoftLandingTask, TextInputHost, VisualAssistExe, WebExperienceHostApp, WindowsBackupClient, WindowsMigration

Sign-in options

SettingRegistry pathValueEffect
Allow password sign-inHKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\DeviceDevicePasswordLessBuildVersion0Enables password sign-in even on passwordless-capable hardware
No sign-in required after wakepowercfg /setacvalueindex scheme_current sub_none consolelock 0Screen does not lock when waking from sleep
Default terminal to conhostHKCU\Console\%StartupDelegationConsole / DelegationTerminal{B23D10C0-E52E-411E-9D5B-C09FDF709C7D}Prevents Windows Terminal from opening by default

Windows Update

Updates are paused for 365 days from the time of installation:
$pause = (Get-Date).AddDays(365).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" `
  -Name "PauseUpdatesExpiryTime" -Value $pause
Driver updates are blocked via multiple policy keys:
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Device Metadata]
"PreventDeviceMetadataFromNetwork"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings]
"DisableSendGenericDriverNotFoundToWER"=dword:00000001
"DisableSendRequestAdditionalSoftwareToWER"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DriverSearching]
"SearchOrderConfig"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]
"SetAllowOptionalContent"=dword:00000000
"AllowTemporaryEnterpriseFeatureControl"=dword:00000000
"ExcludeWUDriversInQualityUpdate"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]
"IncludeRecommendedUpdates"=dword:00000000
"EnableFeaturedSoftware"=dword:00000000
Windows driver searching is also disabled independently during the WinSux.ps1 stage:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\DriverSearching]
"SearchOrderConfig"=dword:00000000

Network adapters

The following protocol bindings are disabled on all network adapters. Only IPv4 (ms_tcpip) is left active.
Component IDProtocol
ms_lldpLink Layer Discovery Protocol
ms_lltdioLink Layer Topology Discovery I/O driver
ms_implatNetwork Platform
ms_rspndrLink Layer Topology Discovery Responder
ms_tcpip6IPv6
ms_serverFile and Printer Sharing
ms_msclientClient for Microsoft Networks
ms_pacerQoS Packet Scheduler

Startup cleanup

All startup locations are cleared to prevent third-party programs from running at logon.
# HKCU
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunNotification" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f

# HKLM
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\RunOnce" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /f
All keys are immediately recreated (empty) after deletion.
Startup folders are deleted and recreated empty:
  • %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
  • %ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp
All non-Microsoft scheduled tasks are removed. The task tree at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree is enumerated and every root-level key that is not Microsoft is deleted via Run-Trusted, then the corresponding files under C:\Windows\System32\Tasks are also removed.

Miscellaneous

SettingCommand / RegistryEffect
Memory compressionDisable-MMAgent -MemoryCompressionDisables RAM compression; reduces CPU overhead at the cost of higher physical memory usage
BitLockerDisable-BitLocker on all volumesDecrypts all BitLocker-protected volumes
Windows Backup (CDPUserSvc)HKLM\SYSTEM\ControlSet001\Services\CDPUserSvcStart=4Disables the Connected Devices Platform user service
Priority notificationsCloudStore hive modifiedDisables Focus Assist priority notification list
Defrag scheduled taskschtasks /Change /TN "ScheduledDefrag" /DisableDisables the automatic defragmentation task
Defender scheduled tasksschtasks /Change /DisableDisables four Defender maintenance tasks: Cache Maintenance, Cleanup, Scheduled Scan, Verification, and ExploitGuard MDM policy Refresh
Color managementAutoColorManagementEnabled=0 per monitorDisables automatic color management for apps
Taskbar itemsQuick Launch folder removedRemoves all pinned taskbar shortcuts

Registry file (reg.reg)

During Phase 3, WinSux imports a comprehensive registry file (reg.reg) that applies hundreds of additional settings. These are grouped by category below.
SettingEffect
Taskbar alignmentLeft-aligned (TaskbarAl=0)
Search removed from taskbarSearchboxTaskbarMode=0
Task View removedShowTaskViewButton=0
Chat/Teams removedTaskbarMn=0
Copilot button removedShowCopilotButton=0
Widgets removedAllowNewsAndInterests=0
Share window button removedTaskbarSn=0
Meet Now removedHideSCAMeetNow=1
End Task in taskbarEnabled (TaskbarEndTask=1)
Desktop previewDisabled (TaskbarSd=0)
Dark modeApps and system (AppsUseLightTheme=0, SystemUsesLightTheme=0)
TransparencyDisabled (EnableTransparency=0)
Accent colorDark grey (#191919)
Recycle BinHidden from desktop
Security tray iconDisabled (SecurityHealth startup entry disabled)
Dynamic Lighting (RGB)Disabled (AmbientLightingEnabled=0)
Snap AssistDisabled (SnapAssist, EnableSnapBar, EnableSnapAssistFlyout, EnableTaskGroups, SnapFill, JointResize all 0)
SettingEffect
Recommended sectionHidden (HideRecommendedSection=1)
Recently added appsHidden (HideRecentlyAddedApps=1)
Most used appsHidden (ShowOrHideMostUsedApps=2)
Recent files in Jump ListsDisabled (Start_TrackDocs=0)
Browsing history suggestionsDisabled (Start_RecoPersonalizedSites=0)
Account notificationsDisabled (Start_AccountNotifications=0)
AI recommendationsDisabled (Start_IrisRecommendations=0)
Recently opened itemsDisabled (ShowRecentList=0)
Apps list viewList mode (AllAppsViewMode=2)
Phone CompanionDisabled
Feature flagsFour FeatureManagement overrides applied for new Start behavior
SettingEffect
Visual effectsCustom — disables fade menus, tooltips, shadows, combo box slide, smooth-scroll; keeps thumbnails and animate controls (required for Instagram scrolling)
Window animationsDisabled (MinAnimate=0)
Taskbar animationsDisabled
Aero PeekDisabled (EnableAeroPeek=0)
Taskbar thumbnail cacheDisabled (AlwaysHibernateThumbnails=0)
DWM window dragDisabled (DragFullWindows=0)
DPI scaling100% (LogPixels=96), per-process DPI disabled
Font smoothingEnabled (FontSmoothing=2)
Process priorityPrograms preferred (Win32PrioritySeparation=38)
Hardware Accelerated GPU SchedulingEnabled (HwSchMode=2)
Variable Refresh RateDisabled; windowed game optimizations enabled
Menu show delay0 ms
SettingEffect
TelemetryDisabled (AllowTelemetry=0)
Tailored experiencesDisabled
Activity historyDisabled (PublishUserActivities=0)
Find My DeviceDisabled
LocationDenied for all apps
CameraAllowed
MicrophoneAllowed
Voice activationDisabled
App permissionsDenied: notifications, contacts, calendar, phone calls, email, messaging, radios, Bluetooth sync, app diagnostics, file libraries, AI models, passkeys
Feedback frequencyNever
Language list exposureDisabled (HttpAcceptLanguageOptOut=1)
App launch trackingDisabled
Personal inking/typing dictionaryDisabled
Search historyDisabled
Cloud content searchDisabled (AAD and MSA)
Delivery OptimizationDisabled (DownloadMode=0)
SettingEffect
Game Bar / Game DVRDisabled (GameDVR_Enabled=0, AppCaptureEnabled=0)
Xbox controller Guide buttonDisabled (UseNexusForGameBarEnabled=0)
Game ModeEnabled (AutoGameModeEnabled=1)
ms-gamebar protocolRedirected to systray.exe — prevents Game Bar popup on Xbox controller connect
Game Bar Presence WriterDeactivated (ActivationType=0)
SettingEffect
Windows CopilotDisabled system-wide (TurnOffWindowsCopilot=1)
RecallDisabled (AllowRecallEnablement=0)
AI data analysisDisabled (DisableAIDataAnalysis=1)
Click To DoDisabled (DisableClickToDo=1)
Paint AI (Generative Fill, Cocreator, Image Creator)Disabled via policy
Notepad AI featuresDisabled (DisableAIFeatures=1)
Bing ChatCleared (IsUserEligible=0)
Widgets / News and InterestsDisabled
SettingEffect
All toast notificationsDisabled (ToastEnabled=0)
Toast above lock screenDisabled
Notification soundDisabled
App notificationsSkyDrive, AutoPlay, Security Center, Settings, Capability Access, Startup Apps — all disabled
Focus AssistSet to unrestricted; all quiet moment profiles disabled
Suggested actionsDisabled (SmartClipboard Disabled=1)
SettingEffect
Mouse pointer precisionDisabled (MouseSpeed=0, all thresholds 0)
Mouse pointer schemeCleared — removes cursor theme
Mouse sensitivity10 (Windows default mid-point)
Mouse acceleration curvesLinear (no acceleration with EPP off)
Background polling rate capRemoved (RawMouseThrottleEnabled=0)
AutoplayDisabled
Touch keyboardNever shown
Language hotkeyDisabled
Typing insightsDisabled
Voice typing mic buttonDisabled
SettingEffect
File Explorer opens toThis PC
Frequent foldersHidden in Quick Access
File extensionsShown (HideFileExt=0)
Full path in title barEnabled (FullPath=1)
Preview handlersDisabled
Status barDisabled
Sharing wizardDisabled
Network in navigationHidden
3D Objects in This PCRemoved
Quick AccessDisabled (HubMode=1)
Gallery in navigationHidden
Alt+TabOpen windows only (no Edge tabs)
Long path supportEnabled (LongPathsEnabled=1)
BSOD extra infoEnabled (DisplayParameters=1)
Windows Platform Binary TableDisabled (DisableWpbtExecution=1)
Web services in ExplorerDisabled (NoWebServices=1)
Cross-device resumeDisabled
SettingEffect
Sound schemeNone — all system sounds cleared
Startup soundDisabled (DisableStartupSound=1)
Sound communicationsDo nothing (UserDuckingPreference=3)
SettingEffect
NarratorAll features disabled
Sticky Keys, Toggle Keys, Sound SentryDisabled
High ContrastDisabled
Magnifier follow modesAll disabled
Print Screen opens Snipping ToolDisabled
Keyboard auto-repeatDisabled
SettingEffect
Automatic maintenanceDisabled (MaintenanceDisabled=1)
Windows Error ReportingDisabled
Remote AssistanceDisabled (fAllowToGetHelp=0)
Clock change notificationsDisabled
Maps auto-updateDisabled
App archivingDisabled
Storage SenseDisabled — no auto-delete of temp files, downloads, or recycle bin
Background appsDisabled for all UWP (LetAppsRunInBackground=2)
Shared internet connection controlDisabled
USB error notificationsDisabled
Default printer managementLegacy mode
Advertising/promotional contentAll ContentDeliveryManager flags disabled
Share across devices (CDP)Disabled
Recommended troubleshooterSet to user preference
Write with fingertipDisabled

Build docs developers (and LLMs) love