找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 317|回复: 0

[电脑资讯] WIN7优化(优化不在于多少内容而在于精)

[复制链接]
发表于 2015-7-30 17:46:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
1、WIN7手动减肥极设置:
组策略: 关闭应用兼容性助手  
        设置带宽保留
        删除操作中心图标(用户配置-管理模板-开始菜单-删除操作中心图标)

关闭自动更新
关闭远程协助  关闭系统还原并删除还原点
关闭磁盘计划整理

第一步:减肥前先运行“取得管理员所有权.reg”
    1.C:WindowsWebWall*** (Windows自带墙纸)   
    2.C:perflogsSystemDiagnostics
    3.C:WindowsDownloaded Program Files 可以安全删除。几十M到几百M不等。         
    4.C:WindowsHelp
    5.C:WindowsIMEIMESC5 IMEJP10 imekr8  IMETC10  (四个文件夹全部删除)     
    6.C:WindowswinsxsBackup
    7.C:windowssoftwaredistributiondownload
    8.C:UsersPublic(删除)。所有用户公用文件夹,里面有一些示例图片、视频等,可以删除之(217M),

   9.控制面板-打开:添加删除程序-打开或关闭windows功能-去掉:"Tablet PC组件,XPS Viewer,XPS服务,媒体功能只保留Windows Media Player,远程查分压缩,游戏(可保留5个纸牌游戏)。    去掉小钩钩够点击确定重启。


2、win7_全自动个性减肥程序:


3、注册表reg优化+服务bat批处理:(注册表类:请自行复制以下内容到 新建文本文档 合并格式为".reg"右键合并到注册表即可)

Windows Registry Editor Version 5.00

;管理员取得所有权
[HKEY_CLASSES_ROOT*shell管理员取得所有权]
@="管理员取得所有权"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT*shell管理员取得所有权command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"

[HKEY_CLASSES_ROOTexefileshell管理员取得所有权]
@="管理员取得所有权"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTexefileshell管理员取得所有权command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"

[HKEY_CLASSES_ROOTDirectoryshell管理员取得所有权]
@="管理员取得所有权"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTDirectoryshell管理员取得所有权command]
@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"

;在新窗口中打开
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshell在新窗口中打开]
@="在新窗口中打开"
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshell在新窗口中打开Command]
@="explorer %1"

;右键用记事本打开
[HKEY_LOCAL_MACHINESOFTWAREClasses*shell用记事本打开]
@="用记事本打开"
[HKEY_LOCAL_MACHINESOFTWAREClasses*shell用记事本打开command]
@="notepad.exe %1"

;注册与反注册右键
[HKEY_CLASSES_ROOT.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOTocxfileShell反注册command]
@="regsvr32.exe /u
[url=]"%1[/url]""
[HKEY_CLASSES_ROOTocxfileShell注册command]
@="regsvr32.exe
[url=]"%1[/url]""

[HKEY_CLASSES_ROOT.dll]
@="Application Extension"
"Content Type"="application/x-msdownload"
[HKEY_CLASSES_ROOTdllfileShell反注册command]
@="regsvr32.exe /u
[url=]"%1[/url]""
[HKEY_CLASSES_ROOTdllfileShell注册command]
@="regsvr32.exe
[url=]"%1[/url]""

;提高WMP的编码能力
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftMediaPlayerSettingsMP3Encoding]
"HighRate"=dword:0002EE00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftMediaPlayerSettingsMP3Encoding]
"LowRate"=dword:0000DAC0

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftMediaPlayerSettingsMP3Encoding]
"MediumHighRate"=dword:0001F400

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftMediaPlayerSettingsMP3Encoding]
"MediumRate"=dword:0000FA00

;跳过WMP首次运行出现的协议窗口
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsMediaPlayer]
"GroupPrivacyAcceptance"=dword:00000001

;关闭UAC
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
"EnableLUA"=dword:00000000
"PromptOnSecureDesktop"=dword:00000000
"ConsentPromptBehaviorAdmin"=dword:00000000

;开始菜单设置模块
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced]
"Start_SearchFiles"=dword:00000002
"ServerAdminUI"=dword:00000000
"Hidden"=dword:00000002
"ShowCompColor"=dword:00000001
"HideFileExt"=dword:00000001
"DontPrettyPath"=dword:00000000
"ShowInfoTip"=dword:00000001
"HideIcons"=dword:00000000
"MapNetDrvBtn"=dword:00000000
"WebView"=dword:00000001
"Filter"=dword:00000000
"SuperHidden"=dword:00000000
"SeparateProcess"=dword:00000000
"AutoCheckSelect"=dword:00000000
"IconsOnly"=dword:00000000
"ShowTypeOverlay"=dword:00000001
"ListviewAlphaSelect"=dword:00000001
"ListviewShadow"=dword:00000001
"TaskbarAnimations"=dword:00000001
"Start_ShowSetProgramAccessAndDefaults"=dword:00000000
"StartMenuInit"=dword:00000004
"Start_ShowRecentDocs"=dword:00000000
"Start_TrackDocs"=dword:00000000
"DesktopLivePreviewHoverTime"=dword:000000f4
"Start_SortByName"=dword:00000000
"Start_ShowHelp"=dword:00000000
"Start_ShowRun"=dword:00000001
"Start_MinMFU"=dword:0000000f
"Start_AdminToolsRoot"=dword:00000002
"StartMenuAdminTools"=dword:00000001
"TaskbarSizeMove"=dword:00000000
"DisablePreviewDesktop"=dword:00000000
"TaskbarSmallIcons"=dword:00000000
"TaskbarGlomLevel"=dword:00000000
"Start_PowerButtonAction"=dword:00000002
"Start_NotifyNewApps"=dword:00000000


;桌面图标

[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu]
"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel]
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000
"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001

;资源管理器设置模块
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer]
"NoDriveTypeAutoRun"=dword:000000ff
"NoLowDiskSpaceChecks"=dword:00000001
"NoRecentDocsHistory"=dword:00000001
"AlwaysShowClassicMenu"=dword:00000001

;隐藏操作中心图标
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer]
"HideSCAHealth"=dword:00000001

;删除图标“快捷方式”的字样
[HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorer]
"Link"=hex:00,00,00,00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer]
"Link"=hex:00,00,00,00

;删除多余新建
[-HKEY_CLASSES_ROOTBriefcase]
[-HKEY_CLASSES_ROOT.contact]
[-HKEY_CLASSES_ROOT.bmp]
[-HKEY_CLASSES_ROOT.rtf]

;设置IE主页为百度
[HKEY_USERS.DEFAULTSoftwareMicrosoftInternet ExplorerMain]
"Start Page"="
www.baidu.com"
[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain]
"Start Page"="
www.baidu.com"
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet ExplorerMain]
"Start Page"="
www.baidu.com"
"Default_Page_URL"="
www.baidu.com"
;IE可以进行10个下载任务
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet Settings]
"MaxConnectionsPer1_0Server"=dword:00000064
"MaxConnectionsPerServer"=dword:00000064

;打开启动优化功能
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftDfrgBootOptimizeFunction]
"Enable"="Y"

;在独立的内存空间中运行16位程序

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlWOW]
"DefaultSeparateVDM"="Yes"

;优化开关机,系统加速优化,网络优化....
[HKEY_CURRENT_USERSoftwareMicrosoftInternet Explorer**]
"LinksFolderName"=" "
"Locked"=dword:00000001
"ShowDiscussionButton"="Yes"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
"ConsentPromptBehaviorAdmin"=dword:00000000
"EnableLUA"=dword:00000000
"PromptOnSecureDesktop"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMControlSet001Servicescdrom]
"Autorun"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicescdrom]
"Autorun"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
"DisablePagingExecutive"=dword:00000001

[HKEY_CURRENT_USERControl PanelMouse]
"MouseHoverTime"="100"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSecurePipeServerswinreg]
"RemoteRegAccess"=dword:00000001

[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer]
"Link"=hex:00,00,00,00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSidebarSettings]
"AllowElevatedProcess"=dword:00000001

[HKEY_CURRENT_USERControl PanelDesktop]
"MenuShowDelay"="10"
"AutoEndTasks"="1"
"WaitToKillAppTimeout"="1000"
"HungAppTimeout"="500"

[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{00021400-0000-0000-C000-000000000046}]
"MenuShowDelay"="10"

[HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWinlogon]
"AutoRestartShell"=dword:00000001

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWSearch]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINESYSTEMControlSet001ServicesWSearch]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl]
"AutoReboot"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMControlSet001ControlCrashControl]
"AutoReboot"=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionexplorer]
"AlwaysUnloadDll"=dword:00000001

[HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWinlogon]
"AutoRestartShell"=dword:00000001

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem]
"ConfigFileAllocSize"=dword:000001f4
"NtfsDisableLastAccessUpdate"=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftRpc]
"MaxRpcSize"=dword:00100000

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanworkstationparameters]
"MaxCmds"=dword:00000064

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanworkstationparameters]
"MaxThreads"=dword:00000064

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanworkstationparameters]
"MaxCollectionCount"=Rdword:00000064

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesAFDParameters]
"BufferMultiplier"=dword:00000400

[HKEY_LOCAL_MACHINESYSTEMControlSet001Control]
"WaitToKillServiceTimeout"="1000"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
"WaitToKillServiceTimeout"="1000"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]
"ReportBootOk"="0"

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementPrefetchParameters]
"EnablePrefetcher"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerMemory ManagementPrefetchParameters]
"EnablePrefetcher"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMControlSet001ControlClass{4D36E96A-E325-11CE-BFC1-08002BE10318}001]
"UserMasterDeviceType"=dword:00000003

[HKEY_LOCAL_MACHINESYSTEMControlSet001ControlClass{4D36E96A-E325-11CE-BFC1-08002BE10318}002]
"UserMasterDeviceType"=dword:00000003

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{4D36E96A-E325-11CE-BFC1-08002BE10318}001]
"UserMasterDeviceType"=dword:00000003

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{4D36E96A-E325-11CE-BFC1-08002BE10318}002]
"UserMasterDeviceType"=dword:00000003

;我的电脑右键
[-HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell]

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellManage]
@=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,
  00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,
  79,00,63,00,6f,00,6d,00,70,00,75,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,
  00,34,00,30,00,30,00,00,00
"MUIVerb"=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,
  6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,
  00,6d,00,79,00,63,00,6f,00,6d,00,70,00,75,00,74,00,2e,00,64,00,6c,00,6c,00,
  2c,00,2d,00,34,00,30,00,30,00,00,00
"SuppressionPolicy"=dword:4000003c
"HasLUAShield"=""

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellManagecommand]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,6f,00,
  6d,00,70,00,4d,00,67,00,6d,00,74,00,4c,00,61,00,75,00,6e,00,63,00,68,00,65,
  00,72,00,2e,00,65,00,78,00,65,00,00,00

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell2服务]
@="服务"

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell2服务command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73,
  00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00,
  65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,
  00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,
  32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73,
  00,63,00,20,00,2f,00,73,00,00,00

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell3Regedit]
@="注册表"

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell3RegeditCommand]
@=""C:WINDOWSRegedit.exe""

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell4Gpedit]
@="组策略"

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell4GpeditCommand]
@=""C:WINDOWSsystem32mmc.exe" "C:WINDOWSsystem32gpedit.msc""

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell5Msconfig]
@="系统配置"

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell5MsconfigCommand]
@=""C:WINDOWSsystem32Msconfig.exe""

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell6控制面板]
@="控制面板"

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell6控制面板command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,
  00,20,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,
  2c,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,5f,00,52,00,75,00,6e,00,44,
  00,4c,00,4c,00,00,00

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell7DevMgr]
@=hex(2):40,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,
  00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,76,00,6d,00,67,00,
  72,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,00,00,00
"SuppressionPolicy"=dword:4000003c

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shell7DevMgrcommand]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73,
  00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00,
  65,00,20,00,2f,00,73,00,20,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,
  76,00,6d,00,67,00,6d,00,74,00,2e,00,6d,00,73,00,63,00,00,00

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellDezinstall]
@="添加或删除程序"
"SuppressionPolicy"=dword:4000003c

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellDezinstallcommand]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,
  00,20,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,
  2c,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,5f,00,52,00,75,00,6e,00,44,
  00,4c,00,4c,00,20,00,61,00,70,00,70,00,77,00,69,00,7a,00,2e,00,63,00,70,00,
  6c,00,00,00

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellGodMode]
@=hex(2):47,00,6f,00,64,00,20,00,4d,00,6f,00,64,00,65,00,00,00
"Icon"=hex(2):63,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,2e,00,65,00,78,00,65,
  00,00,00

[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellGodModecommand]
@="explorer shell:::{ED7BA470-8E54-465E-825C-99712043E01C}"

服务批处理类:请自行复制以下内容 新建文本文档并更改格式为".bat"右键运行一下或双击鼠标即可!
@echo off
if "%1"=="h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin

::导入注册表优化系统
regedit /s WIN7YouHua.reg

::关闭休眠
powercfg -h off

::WIN7服务优化
REG DELETE HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesWinDefend /f
sc config   AeLookupSvc start= DEMAND
sc config   ALG start= DEMAND
sc config   AppIDSvc start= DEMAND
sc config   Appinfo start= DEMAND
sc config   AppMgmt start= DEMAND
sc config   AudioEndpointBuilder start= AUTO
sc config   AudioSrv start= AUTO
sc config   AxInstSV start= DEMAND
sc config   BDESVC start= DEMAND
sc config   BFE start= AUTO
sc config   BITS start= DEMAND
sc config   Browser start= DEMAND
sc config   bthserv start= DEMAND
sc config   CertPropSvc start= DEMAND
sc config   clr_optimization_v2.0.50727_32 start= DEMAND
sc config   clr_optimization_v2.0.50727_64 start= DEMAND
sc config   COMSysApp start= DEMAND
sc config   CryptSvc start= AUTO
sc config   CscService start= DEMAND
sc config   DcomLaunch start= AUTO
sc config   defragsvc start= DEMAND
sc config   Dhcp start= AUTO
sc config   Dnscache start= AUTO
sc config   dot3svc start= DEMAND
sc config   DPS start= DEMAND
sc config   EapHost start= DEMAND
sc config   EFS start= DEMAND
sc config   ehRecvr start= DEMAND
sc config   ehSched start= DEMAND
sc config   eventlog start= AUTO
sc config   EventSystem start= AUTO
sc config   Fax start= DEMAND
sc config   fdPHost start= DEMAND
sc config   FDResPub start= DEMAND
sc config   FontCache start= DEMAND
sc config   FontCache3.0.0.0 start= DEMAND
sc config   gpsvc start= AUTO
sc config   hidserv start= DEMAND
sc config   hkmsvc start= DEMAND
sc config   HomeGroupListener start= DEMAND
sc config   HomeGroupProvider start= DEMAND
sc config   idsvc start= DEMAND
sc config   IKEEXT start= DEMAND
sc config   IPBusEnum start= DEMAND
sc config   iphlpsvc start= DISABLED
sc config   KeyIso start= DEMAND
sc config   KtmRm start= DEMAND
sc config   LanmanServer start= AUTO
sc config   LanmanWorkstation start= AUTO
sc config   lltdsvc start= DEMAND
sc config   lmhosts start= AUTO
sc config   Mcx2Svc start= DISABLED
sc config   MMCSS start= AUTO
sc config   MpsSvc start= AUTO
sc config   MSDTC start= DEMAND
sc config   MSiSCSI start= DEMAND
sc config   msiserver start= DEMAND
sc config   napagent start= DEMAND
sc config   Netlogon start= DEMAND
sc config   Netman start= DEMAND
sc config   netprofm start= DEMAND
sc config   NetTcpPortSharing start= DISABLED
sc config   NlaSvc start= AUTO
sc config   nsi start= AUTO
sc config   p2pimsvc start= DEMAND
sc config   p2psvc start= DEMAND
sc config   PcaSvc start= DEMAND
sc config   PeerDistSvc start= DEMAND
sc config   PerfHost start= DEMAND
sc config   pla start= DEMAND
sc config   PlugPlay start= AUTO
sc config   PNRPAutoReg start= DEMAND
sc config   PNRPsvc start= DEMAND
sc config   PolicyAgent start= DEMAND
sc config   Power start= AUTO
sc config   ProfSvc start= AUTO
sc config   ProtectedStorage start= DEMAND
sc config   QWAVE start= DEMAND
sc config   RasAuto start= DEMAND
sc config   RasMan start= DEMAND
sc config   RemoteAccess start= DISABLED
sc config   RemoteRegistry start= DEMAND
sc config   RpcEptMapper start= AUTO
sc config   RpcLocator start= DEMAND
sc config   RpcSs start= AUTO
sc config   SamSs start= AUTO
sc config   SCardSvr start= DEMAND
sc config   Schedule start= AUTO
sc config   SCPolicySvc start= DEMAND
sc config   SDRSVC start= DEMAND
sc config   seclogon start= DEMAND
sc config   SENS start= DEMAND
sc config   SensrSvc start= DEMAND
sc config   SessionEnv start= DEMAND
sc config   SharedAccess start= DISABLED
sc config   ShellHWDetection start= AUTO
sc config   SNMPTRAP start= DEMAND
sc config   Spooler start= DEMAND
sc config   sppsvc start= AUTO
sc config   sppuinotify start= DEMAND
sc config   SSDPSRV start= DEMAND
sc config   SstpSvc start= DEMAND
sc config   stisvc start= DEMAND
sc config   swprv start= DEMAND
sc config   SysMain start= DEMAND
sc config   TabletInputService start= DEMAND
sc config   TapiSrv start= DEMAND
sc config   TBS start= DEMAND
sc config   TermService start= DEMAND
sc config   Themes start= AUTO
sc config   THREADORDER start= DEMAND
sc config   TrkWks start= DEMAND
sc config   TrustedInstaller start= DEMAND
sc config   UI0Detect start= DEMAND
sc config   UmRdpService start= DEMAND
sc config   upnphost start= DEMAND
sc config   UxSms start= AUTO
sc config   VaultSvc start= DEMAND
sc config   vds start= DEMAND
sc config   VSS start= DEMAND
sc config   W32Time start= DEMAND
sc config   wbengine start= DEMAND
sc config   WbioSrvc start= DEMAND
sc config   wcncsvc start= DEMAND
sc config   WcsPlugInService start= DEMAND
sc config   WdiServiceHost start= DEMAND
sc config   WdiSystemHost start= DEMAND
sc config   WebClient start= DEMAND
sc config   Wecsvc start= DEMAND
sc config   wercplsupport start= DEMAND
sc config   WerSvc start= DEMAND
sc config   WinHttpAutoProxySvc start= DEMAND
sc config   Winmgmt start= AUTO
sc config   WinRM start= DEMAND
sc config   Wlansvc start= AUTO
sc config   wmiApSrv start= DEMAND
sc config   WMPNetworkSvc start= DEMAND
sc config   WPCSvc start= DEMAND
sc config   WPDBusEnum start= DEMAND
sc config   wscsvc start= DEMAND
sc config   WSearch start= DISABLED
sc config   wuauserv start= DEMAND
sc config   wudfsvc start= DEMAND
sc config   WwanSvc start= DEMAND
sc config   WinDefend start= DEMAND

@echo off
mode con cols=41 lines=5
title 右键菜单 显示/隐藏扩展名及文件
if not exist "%windir%SuperHidden.vbs" goto setup
color 0b
reg delete "HKCRCLSID{00000000-0000-0000-0000-000000000012}" /f >nul 2>nul
del /f /q "%windir%SuperHidden.vbs" >nul 2>nul

exit
:setup
color 0a
>"%windir%SuperHidden.vbs" echo Dim WSHShell
>>"%windir%SuperHidden.vbs" echo Set WSHShell = WScript.CreateObject("WScript.Shell")
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagCLSID", "{13709620-C279-11CE-A49E-444553540000}", "REG_SZ"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagmethod", "ShellExecute", "REG_SZ"
>>"%windir%SuperHidden.vbs" echo if WSHShell.RegRead("HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt") = 0 then
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden", "0", "REG_DWORD"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden", "2", "REG_DWORD"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt", "1", "REG_DWORD"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagcommand", "显示隐藏文件/扩展名", "REG_SZ"
>>"%windir%SuperHidden.vbs" echo WSHShell.SendKeys "{F5}+{F10}e"
>>"%windir%SuperHidden.vbs" echo else
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden", "1", "REG_DWORD"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden", "1", "REG_DWORD"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt", "0", "REG_DWORD"
>>"%windir%SuperHidden.vbs" echo WSHShell.RegWrite "HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagcommand", "隐藏保护文件/扩展名", "REG_SZ"
>>"%windir%SuperHidden.vbs" echo WSHShell.SendKeys "{F5}+{F10}e"
>>"%windir%SuperHidden.vbs" echo end if
>>"%windir%SuperHidden.vbs" echo Set WSHShell = Nothing
>>"%windir%SuperHidden.vbs" echo WScript.Quit(0)
reg export "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" "%temp%__.reg" >nul
for /f "tokens=2 delims==" %%. in ('find/i "HideFileExt" "%temp%__.reg"') do set v=%%~.
del "%temp%__.reg"
set v=%v:~-1%
if %v% equ 0 set vv=隐藏保护文件/扩展名
if %v% equ 1 set vv=显示隐藏文件/扩展名
>"%temp%_.reg" echo REGEDIT4
>>"%temp%_.reg" echo [HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersSuperHidden]
>>"%temp%_.reg" echo @="{00000000-0000-0000-0000-000000000012}"
>>"%temp%_.reg" echo [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InProcServer32]
>>"%temp%_.reg" echo @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,73,
>>"%temp%_.reg" echo   68,64,6f,63,76,77,2e,64,6c,6c,00
>>"%temp%_.reg" echo "ThreadingModel"="Apartment"
>>"%temp%_.reg" echo [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}Instance]
>>"%temp%_.reg" echo "CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"
>>"%temp%_.reg" echo [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBag]
>>"%temp%_.reg" echo "method"="ShellExecute"
>>"%temp%_.reg" echo "Param1"="SuperHidden.vbs"
>>"%temp%_.reg" echo "CLSID"="{13709620-C279-11CE-A49E-444553540000}"
>>"%temp%_.reg" echo "command"="%vv%"
regedit /s "%temp%_.reg"
del /f /q "%temp%_.reg"


@echo off
taskkill /f /im explorer.exe >nul
ping -n 1 127.0.1>nul
start "" "explorer.exe"
echo 进程加载成功啦!

exit

免费分享,就不设置隐藏了!!!

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部快速回复上一主题下一主题返回列表找客服手机访问
快速回复 返回顶部 返回列表