大佬教程收集整理的这篇文章主要介绍了Windows 10 系统优化脚本大全,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
目录
@ECHO off ECHO 关闭Windows Defender reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 1 /t REG_DWORD /f echo 完成
ECHO 关闭Windows防火墙 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f sc stop Mpssvc Mpssvc & sc config Mpssvc start=disabled echo 完成
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "ConsentPromptBehaviorAdmin" /d 0 /t REG_DWORD /f echo 完成
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "smartScreenEnabled" /d off /t REG_SZ /f echo 完成
powercfg.exe -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c echo 完成
powercfg -change -monitor-timeout-ac 0 powercfg -change -monitor-timeout-dc 0 echo 完成
powercfg -h off echo 完成
sc config "Sysmain" start= delayed-auto echo 完成
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\scheduledDiagnostics" /v "EnabledExecution" /d 0 /t REG_DWORD /f echo 完成
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /d 0 /t REG_DWORD /f echo 完成@H_489_142@关闭自动播放
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /d 255 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /d 255 /t REG_DWORD /f echo 完成
reg add "HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control" /v "WaitToKillserviCETimeout" /d 0 /t REG_SZ /f echo 完成
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal services" /v "fallowToGetHelp" /d 0 /t REG_dword /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal services" /v "fallowUnsolicited" /d 0 /t REG_dword /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal services" /v "fDenyTSConnections" /d 1 /t REG_dword /f echo 完成
reg add "HKEY_CURRENT_USER\Control Panel\International" /v "sLongDate" /d "yyyy'年'M'月'd'日',dddd" /t REG_SZ /f reg add "HKEY_CURRENT_USER\Control Panel\International" /v "sShortDate" /d "yyyy/M/d/ddd" /t REG_SZ /f echo 完成
SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\Defrag\scheduledDefrag" echo 完成
sc stop WdiSystemHost sc stop WdiserviceHost sc stop DPS sc config DPS start= disabled sc config WdiserviceHost start= disabled sc config WdiSystemHost start= disabled echo 完成@H_197_166@启用防火墙Windows Firewall服务(并非启用防火墙)
ECHO 启用防火墙Windows Firewall服务(并非启用防火墙) sc config Mpssvc start= auto net start Mpssvc echo 完成
ECHO 删除回收站右键固定到开始屏幕 reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\sHellex\ContextMenuHandlers\PintoStartScreen" /f echo 完成
ECHO 关闭Windows10 要使用本计算机,用户必需输入用户名和密码 reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v AutoadR_657_11845@inlogon /d 1 reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v DefaultUserName /d Administrator reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v DefaultDomainName /d My pc reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v Defaultpassword /d 1234 echo 完成
ECHO 关闭家庭组 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\HomeGroup" /v "DisableHomeGroup" /d 1 /t REG_DWORD /f echo 完成
ECHO 隐藏资源管理器导航窗格家庭组和网络 reg add "HKEY_CLASSES_ROOT\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\SHellFolder" /v Attributes /d 2962489612 /t REG_DWORD /f reg add "HKEY_CLASSES_ROOT\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\SHellFolder" /v Attributes /d 2962489444 /t REG_DWORD /f echo 完成
ECHO 关闭开机画面 bcdedit /set quietboot on echo 完成
ECHO 禁用"最近使用的项目" reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackProgs" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Classes\Local SetTings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v "IconStreams" /t REG_BINARY /f reg add "HKEY_CURRENT_USER\Software\Classes\Local SetTings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v "PastIconsStream" /t REG_BINARY /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoRecentDocsHistory" /d 1 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "Noinstrumentation" /d 1 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v "DisableSearch@L_874_85@Suggestions" /d 1 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v "DisableSearchHistory" /d 1 /t REG_DWORD /f echo 完成
ECHO 开启“快速启动” reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" /v "HiberbootEnabled" /d 1 /t REG_DWORD /f echo 完成
ECHO 关闭程序兼容性助手 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisablePCA" /d 1 /t REG_DWORD /f echo 完成
ECHO 关闭不必要的视觉动画效果 reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\DWM" /v "DisallowAnimations" /d 1 /t REG_dword /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "TurnOffSPIAnimations" /d 1 /t REG_dword /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" /d 0 /t REG_SZ /f echo 完成
ECHO 关闭不需要的视觉效果 reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /v "VisualFXSetTing" /d 3 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v "AlwaysHibernateThumbnails" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "FontSmoothing" /d 2 /t REG_SZ /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v "EnableAeroPeek" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAnimations" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "DragFullWindows" /d 1 /t REG_SZ /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ListviewAlphaSELEct" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "IconsOnly" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ListviewShadow" /d 0 /t REG_DWORD /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" /d 0 /t REG_SZ /f reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "UserPreferencesmask" /d "9012038010000000" /t REG_BINARY /f echo 完成
ECHO IE11开启企业模式 reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v SiteList /d "HKCU\Software\policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /t reg_sz /f reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v Enable /d "" /t reg_sz /f echo 完成
ECHO 开始屏幕自动显示"应用"视图 reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v ShowAppsViewOnStart /d 1 /t REG_DWORD /f echo 完成
ECHO 清除右键多余菜单 regsvr32 /u /s igfxpph.dll reg delete HKEY_CLASSES_ROOT\Directory\BACkground\sHellex\ContextMenuHandlers /f reg add HKEY_CLASSES_ROOT\Directory\BACkground\sHellex\ContextMenuHandlers\new /ve /d {D969A300-E7FF-11d0-A93B-00A0C90F2719} reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v HotKeysCmds /f reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v IgfxTray /f echo 完成
ECHO 打开IE请勿追踪功能(Do Not Track) reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "DoNotTrack" /d "1" /t REG_DWORD /f taskkill /f /im iexplore.exe ECHO 完成
ECHO 设置窗口超窄边框 reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v "PaddedBorderWidth" /d 0 /t REG_SZ /f echo 完成
ECHO 禁止一联网就打开浏览器 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusInDicator" /v "NoActiveProbe" /d 1 /t REG_DWORD /f echo 完成
ECHO 禁用任务计划程序自启项 SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\Windows Error ReporTing\QueueReporTing" SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\SkyDrive\RoutIne Maintenance Task" SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\SkyDrive\Idle Sync Maintenance Task" SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticResolver" SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\Diagnosis\scheduled" SCHTASKS /Change /DISABLE /TN "\Microsoft\Windows\Defrag\scheduledDefrag" SCHTASKS /Change /DISABLE /TN "\GoogleupdateTaskMachineUA" SCHTASKS /Change /DISABLE /TN "\GoogleupdateTaskMachineCore" SCHTASKS /Change /DISABLE /TN "\Microsoft\Office\OffiCETelemetryAgentfallBACk" SCHTASKS /Change /DISABLE /TN "\Microsoft\Office\OffiCETelemetryAgentlogon" SCHTASKS /Change /DISABLE /TN "\AdobeAAMupdater-1.0-%computername%-%username%" SCHTASKS /Change /DISABLE /TN "\Microsoft\Office\Office 15 Subscription Heartbeat" echo 完成
ECHO 去除快捷方式小箭头和后缀 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SHell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" /v link /d "00000000" /t REG_BINARY /f del "%userprofile%\ApPDAta\Local\iconcache.db" /f /q echo 完成
ECHO 去除UAC小盾牌 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SHell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SHell Icons" /v 77 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f taskkill /f /im explorer.exe attrib -s -r -h "%userprofile%\ApPDAta\Local\iconcache.db" del "%userprofile%\ApPDAta\Local\iconcache.db" /f /q start explorer echo 完成
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SHell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f taskkill /f /im explorer.exe attrib -s -r -h "%userprofile%\ApPDAta\Local\iconcache.db" del "%userprofile%\ApPDAta\Local\iconcache.db" /f /q start explorer pause
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SHell Icons" /v 29 /f taskkill /f /im explorer.exe attrib -s -r -h "%userprofile%\ApPDAta\Local\iconcache.db" del "%userprofile%\ApPDAta\Local\iconcache.db" /f /q start explorer pause
以上是大佬教程为你收集整理的Windows 10 系统优化脚本大全全部内容,希望文章能够帮你解决Windows 10 系统优化脚本大全所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。