REG篇
REG篇: Windows Registry Editor Version 5.00 ; ;(一)资源管理器选项 ;禁止U盘等所有磁盘自动运行
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:000000ff [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:000000ff [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\cdrom] "Autorun"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom] "Autorun"=dword:00000000 ;;桌面显示快捷图标[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 ;桌面显示计算机"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000001 ;桌面不显示用户 "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000001 ;桌面不显示网络 "{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001 ;桌面不显示回收站 "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001 ;桌面不显示控制面板
;;桌面显示IE图标[-HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}][-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}][HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}]@="Internet Explorer"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\DefaultIcon]@="C:\\Program Files\\Internet Explorer\\iexplore.exe,-32528"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell]@=""[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\NoAddOns]@="在没有加载项的情况下启动(&N)"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\NoAddOns\Command]@="C:\\Program Files\\Internet Explorer\\iexplore.exe about:NoAdd-ons"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Open]@="打开主页(&H)"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Open\Command]@="C:\\Program Files\\Internet Explorer\\iexplore.exe"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Set]@="属性(&R)"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Set\Command]@="Rundll32.exe Shell32.dll,Control_RunDLL Inetcpl.cpl"[HKEY_CLASSES_ROOT\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\ShellFolder]@="C:\\Windows\\system32\\ieframe.dll,-190""Attributes"=dword:00000030"HideFolderVerbs"="""WantsParseDisplayName"="""HideOnDesktopPerUser"="""HideAsDeletePerUser"=""[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}]@="Internet Explorer"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\DefaultIcon]@="C:\\Program Files\\Internet Explorer\\iexplore.exe,-32528"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell]@=""[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\NoAddOns]@="在没有加载项的情况下启动(&N)"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\NoAddOns\Command]@="C:\\Program Files\\Internet Explorer\\iexplore.exe about:NoAdd-ons"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Open]@="打开主页(&H)"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Open\Command]@="C:\\Program Files\\Internet Explorer\\iexplore.exe"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Set]@="属性(&R)"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\Shell\Set\Command]@="Rundll32.exe Shell32.dll,Control_RunDLL Inetcpl.cpl"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}\ShellFolder]@="C:\\Windows\\system32\\ieframe.dll,-190""Attributes"=dword:00000030"HideFolderVerbs"="""WantsParseDisplayName"="""HideOnDesktopPerUser"="""HideAsDeletePerUser"=""[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}]@="Internet Explorer"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{B416D21B-3B22-B6D4-BBD3-BBD452DB3D5B}]@="Internet Explorer";;提高前台程序的显示速度[HKEY_CURRENT_USER\Control Panel\Desktop]"ForegroundLockTimeout"=dword:00000000;;拖动窗口时不再显示窗口内容,避免在拖动窗口时留下残影卡住界面[HKEY_CURRENT_USER\Control Panel\Desktop]"DragFullWindows"="0";;开启自动刷新,防止假死[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"AutoRestartShell"=dword:00000001;;禁止登录后创建成功登录报告功能[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"ReportBootOk"="0";;删除图标快捷方式的字样[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer]"Link"=hex:00,00,00,00;;去掉“新建快捷方式”字样[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]"Link"=hex:00,00,00,00;;设定蓝屏时自启动[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000001"CrashDumpEnabled"=dword:00000003"DumpFile"=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,4d,00,45,00,4d,00,4f,00,52,00,59,00,2e,00,44,00,4d,00,50,\ 00,00,00"LogEvent"=dword:00000001"MinidumpDir"=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,4d,00,69,00,6e,00,69,00,64,00,75,00,6d,00,70,00,00,00"Overwrite"=dword:00000001"SendAlert"=dword:00000001;;开启记事本的自动换行[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"fWrap"=dword:00000001;;资源管理器窗口最小化时显示完整路径[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]"FullPath"=dword:00000001;;在最大化和最小化时显示动态窗口[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\AnimateMinMax]"DefaultApplied"=dword:00000000;;拖动时显示窗口内容[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows]"DefaultApplied"=dword:00000000;(三)网络设置选项;设置IE主页[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"Start Page"="http://www.baidu.com/""Default_Page_URL"="http://www.aidu.com/";;把IE可同时下载数目增到10[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"MaxConnectionsPer1_0Server"=dword:0000000A"MaxConnectionsPerServer"=dword:dword:0000000A[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPERSERVER]"iexplore.exe"=dword:0000000A[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPER1_0SERVER]"iexplore.exe"=dword:0000000A;;跳过IE首次运行自定义设置[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"RunOnceHasShown"=dword:00000001"RunOnceComplete"=dword:00000001[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]"DisableFirstRunCustomize"=dword:00000001;;在IE的新标签中打开链接窗口页面[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing]"PopupsUseNewWindow"=dword:00000002;;IE开启图像自动缩放[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"Enable AutoImageResize"="yes";;IE开启ClearType[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"UseClearType"="yes" ;;从不进行拨号连接〔避免弹窗〕[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"EnableAutodial"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"EnableAutodial"=dword:00000000;;关闭默认共享(禁止 $C $D,禁止 $Admin)[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]"AutoShareServer"=dword:00000000"AutoShareWks"=dword:00000000;;禁止远程修改注册表[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg]"RemoteRegAccess"=dword:00000001;;取消远程协助[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Remote Assistance]"fAllowToGetHelp"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Remote Assistance]"fAllowToGetHelp"=dword:00000000;;(四)右键设置选项;为右键菜单中加上记事本打开项[HKEY_CLASSES_ROOT\*\shell\Notepad]@="用记事本打开该文件"[HKEY_CLASSES_ROOT\*\shell\Notepad\Command]@="notepad %1";为右键加上“管理员取得所有权菜单”[HKEY_CLASSES_ROOT\*\shell\runas]@="管理员取得所有权""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\*\shell\runas\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_ROOT\exefile\shell\runas2]@="管理员取得所有权""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\exefile\shell\runas2\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_ROOT\Directory\shell\runas]@="管理员取得所有权""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\Directory\shell\runas\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";

来自: 卡饭 百度 beta
|