winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Ensure undo tweaks are correct values

Open DeveloperDurp opened this issue 2 years ago • 1 comments

I am spinning up a lab environment so I can pull the original values from a base install.

Using this simple script

$config = Get-Content .\config\tweaks.json | convertfrom-json

Foreach ($item in $($config | gm -MemberType NoteProperty | Select-Object -ExpandProperty name )){

    if ($config.$item.registry){

        Foreach ($registry in $config.$item.registry) {
            Try{
                Write-Output "$($registry.path)\$($registry.name) = $(Get-ItemPropertyValue -Path $registry.path -Name $registry.name -ErrorAction stop)"
                
            }Catch{}
        }
    }
}

Win 10 21H2 HKCU:\System\GameConfigStore\GameDVR_Enabled = 1 HKCU:\System\GameConfigStore\GameDVR_DXGIHonorFSEWindowsCompatible = 0 HKCU:\System\GameConfigStore\GameDVR_HonorUserFSEBehaviorMode = 0 HKCU:\System\GameConfigStore\GameDVR_EFSEFeatureFlags = 0 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location\Value = Deny HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides{BFA794E4-F964-4FDB-90F6-51056BFE4B44}\SensorPermissionState = 0 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection\AllowTelemetry = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\ContentDeliveryAllowed = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\OemPreInstalledAppsEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\PreInstalledAppsEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\PreInstalledAppsEverEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SilentInstalledAppsEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SubscribedContent-338388Enabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SubscribedContent-338389Enabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SystemPaneSuggestionsEnabled = 1 HKLM:\SYSTEM\CurrentControlSet\Control\Remote Assistance\fAllowToGetHelp = 1 HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 0 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching\SearchOrderConfig = 1 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\SystemResponsiveness = 20 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\NetworkThrottlingIndex = 10 HKCU:\Control Panel\Desktop\MenuShowDelay = 400 HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown = 0 HKLM:\SYSTEM\ControlSet001\Services\Ndu\Start = 2 HKCU:\Control Panel\Mouse\MouseHoverTime = 400 HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds\ShellFeedsTaskbarViewMode = 0 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\GPU Priority = 8 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\Priority = 2 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\Scheduling Category = Medium HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots\Value = 1 HKCU:\Control Panel\Mouse\MouseSpeed = 1 HKCU:\Control Panel\Mouse\MouseThreshold1 = 6 HKCU:\Control Panel\Mouse\MouseThreshold2 = 10 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin = 5 HKCU:\Control Panel\Desktop\DragFullWindows = 1 HKCU:\Control Panel\Desktop\MenuShowDelay = 400 HKCU:\Control Panel\Desktop\WindowMetrics\MinAnimate = 1 HKCU:\Control Panel\Keyboard\KeyboardDelay = 1 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewAlphaSelect = 1 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow = 1 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarAnimations = 1 HKCU:\Software\Microsoft\Windows\DWM\EnableAeroPeek = 1 HKCU:\Control Panel\Mouse\MouseSpeed = 1 HKCU:\Control Panel\Mouse\MouseThreshold1 = 6 HKCU:\Control Panel\Mouse\MouseThreshold2 = 10 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt = 1 HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled = 1 HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled = 1

DeveloperDurp avatar Mar 25 '23 01:03 DeveloperDurp

Win10 22H2

HKCU:\System\GameConfigStore\GameDVR_Enabled = 1 HKCU:\System\GameConfigStore\GameDVR_DXGIHonorFSEWindowsCompatible = 0 HKCU:\System\GameConfigStore\GameDVR_HonorUserFSEBehaviorMode = 0 HKCU:\System\GameConfigStore\GameDVR_EFSEFeatureFlags = 0 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location\Value = Deny HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides{BFA794E4-F964-4FDB-90F6-51056BFE4B44}\SensorPermissionState = 0 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection\AllowTelemetry = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\ContentDeliveryAllowed = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\OemPreInstalledAppsEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\PreInstalledAppsEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\PreInstalledAppsEverEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SilentInstalledAppsEnabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SubscribedContent-338388Enabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SubscribedContent-338389Enabled = 1 HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SystemPaneSuggestionsEnabled = 1 HKLM:\SYSTEM\CurrentControlSet\Control\Remote Assistance\fAllowToGetHelp = 1 HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 0 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching\SearchOrderConfig = 1 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\SystemResponsiveness = 20 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\NetworkThrottlingIndex = 10 HKCU:\Control Panel\Desktop\MenuShowDelay = 400 HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown = 0 HKLM:\SYSTEM\ControlSet001\Services\Ndu\Start = 2 HKCU:\Control Panel\Mouse\MouseHoverTime = 400 HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds\ShellFeedsTaskbarViewMode = 0 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\GPU Priority = 8 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\Priority = 2 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games\Scheduling Category = Medium HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots\Value = 1 HKCU:\Control Panel\Mouse\MouseSpeed = 1 HKCU:\Control Panel\Mouse\MouseThreshold1 = 6 HKCU:\Control Panel\Mouse\MouseThreshold2 = 10 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin = 5 HKCU:\Control Panel\Desktop\DragFullWindows = 1 HKCU:\Control Panel\Desktop\MenuShowDelay = 400 HKCU:\Control Panel\Desktop\WindowMetrics\MinAnimate = 1 HKCU:\Control Panel\Keyboard\KeyboardDelay = 1 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewAlphaSelect = 1 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow = 1 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarAnimations = 1 HKCU:\Software\Microsoft\Windows\DWM\EnableAeroPeek = 1 HKCU:\Control Panel\Mouse\MouseSpeed = 1 HKCU:\Control Panel\Mouse\MouseThreshold1 = 6 HKCU:\Control Panel\Mouse\MouseThreshold2 = 10 HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt = 1 HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled = 1 HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled = 1

DeveloperDurp avatar Mar 28 '23 14:03 DeveloperDurp

Closed due to inactivity

github-actions[bot] avatar Feb 23 '24 00:02 github-actions[bot]