Thursday, February 16, 2023

Windows 10 optimization & some windows registry keys

open lid option: admin cmd:
powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE
powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 +ATTRIB_HIDE

powershell: Set-MpPreference -DisableScanningNetworkFiles 1

multiple "Language Pack Removal" found in RestorePoint:
in Task Scheduler: disable Microsoft\Windows\MUI\LPRemove

disable service:  (minimal/limited networking)
SysMain  (superfetch)
Print Spooler (if not using printer)
Connected user experiences and telemetry
nahimic service (if any)
net.tcp port sharing service
routing and remote access
windows push notification system service
   ~ user service (might affect Alarm&Clock countDown)

which scheduler run at idle:
powershell: Get-ScheduledTask | Where-Object { $_.State -ne "Disabled" } | Select-Object TaskName, TaskPath, Triggers | Where-Object { $_.Triggers -match "MSFT_TaskIdleTrigger" }


HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Window Search
DWORD "AllowCortana"=0

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRemoteShutdownRPCInterface=1

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\DisableRpcOverTcp=1

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\
DWORD DisableRealtimeMonitoring=1    use at your own risk

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
DWORD Disabled=1

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}\Commands\on-logon-autolaunch
DWORD AutoRunOnLogon=0

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}\Commands\on-logon-startup-boost
DWORD AutoRunOnLogon=0

Chrome to disable periodically scan malware:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome
this key exist wld cause "browser is managed by your organization"

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection\
"AllowTelemetry"=0
"DisableOneSettingsDownloads"=1
DoNotShowFeedbackNotifications=1

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
DWORD DisableBandwidthThrottling=1


No comments:

Post a Comment