禁用任务管理器
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableTaskmgr"=dword:00000000
以管理员身份运行cmd,然后把下面的reg XXXXX 贴到cmd窗口中回车就可以实现相应设置了,如果要撤销设置就粘贴"撤销"对应的reg XXXX 。如果有时候由于某些原因比如乱用优化软件导致下面诸如XXX不可用的情况,也可以去注册表中的相应位置看看哦:HKLM=HKEY_LOCAL_MACHINE , HKCU=HKEY_CURRENT_USER。
计算机配置:
-系统-设备安装安装新硬件时不出现”发现新硬件“气泡提示
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings /v DisableBalloonTips /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings /v DisableBalloonTips /f
当一个通用驱动被安装时,不发送windows错误报告
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings /v DisableSendGenericDriverNotFoundToWER /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings /v DisableSendGenericDriverNotFoundToWER /f
更新或安装新驱动时不创建还原点
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings /v DisableSystemRestore /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Settings /v DisableSystemRestore /f-
驱动安装安装驱动时不提示在windows自动更新中搜索
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontPromptForWindowsUpdate /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontPromptForWindowsUpdate /f-
其它关闭启动声音
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DisableStartupSound /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DisableStartupSound /f
关闭系统还原及其配置界面
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows" "NT\SystemRestore /v DisableSR /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows" "NT\SystemRestore /v DisableSR /f
允许部分程序在运行时阻止或取消系统关机
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\System /v AllowBlockingAppsAtShutdown /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\System /v AllowBlockingAppsAtShutdown /f-
Windows 组件
-IE去除IE搜索框
reg add HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\Infodelivery\Restrictions /v NoSearchBox /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\Infodelivery\Restrictions /v NoSearchBox /f
总是显示菜单栏
reg add HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\Main /v AlwaysShowMenus /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\Main /v AlwaysShowMenus /f
不参与客户体验改善计划
reg add HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\SQM /v DisableCustomerImprovementProgram /t REG_DWORD /d 0 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\SQM /v DisableCustomerImprovementProgram /f
禁用页面缩放
reg add HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\ZOOM /v ZoomDisabled /t REG_DWORD /d 撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Internet" "Explorer\ZOOM /v ZoomDisabled /f-
备份关闭备份功能
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Backup\Client /v DisableBackupUI /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\Backup\Client /v DisableBackupUI /f
关闭恢复功能
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Backup\Client /v DisableRestoreUI /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\Backup\Client /v DisableRestoreUI /f
关闭Complete PC备份功能
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Backup\Client /v DisableSystemBackupUI /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\Backup\Client /v DisableSystemBackupUI /f-
桌面窗口管理器禁用窗口动画(如最大最小化时的动画效果)
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowAnimations /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowAnimations /f
禁止更改窗口边框颜色
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowColorizationColorChanges /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowColorizationColorChanges /f
关闭桌面合成(则失去aero玻璃效果、flip3d和任务栏窗口缩略图 等等...)
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowComposition /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowComposition /f
不使用Flip3d
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowFlip3d /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DWM /v DisallowFlip3d /f-
资源管理器为本地文件隐藏先前版本列表(即文件属性里将不出现"之前的版本"选项卡)
reg add HKLM\SOFTWARE\Policies\Microsoft\PreviousVersions /v DisableLocalPage /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\PreviousVersions /v DisableLocalPage /f
为远程文件隐藏先前版本列表
reg add HKLM\SOFTWARE\Policies\Microsoft\PreviousVersions /v DisableRemotePage /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\PreviousVersions /v DisableRemotePage /f-Windows Mail
不在新闻组服务器上检查社区支持
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows" "Mail /v DisableCommunities /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows" "Mail /v DisableCommunities /f
禁用Windows Mailreg
add HKLM\SOFTWARE\Policies\Microsoft\Windows" "Mail /v ManualLaunchAllowed /t REG_DWORD /d 0 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows" "Mail /v ManualLaunchAllowed /f-Windows Media Player
禁止wmp自动更新
reg add HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer /v DisableAutoUpdate /t REG_DWORD /d 1 /f
撤销reg delete
HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer /v DisableAutoUpdate /f
禁用媒体共享
reg add HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer /v PreventLibrarySharing /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer /v PreventLibrarySharing /f-
边栏关闭边栏
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar /v TurnOffSidebar /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar /v TurnOffSidebar /f
禁用用户安装的小工具
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar /v TurnOffUserInstalledGadgets /t REG_DWORD /d 1 /f
撤销
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar /v TurnOffUserInstalledGadgets /f-
其它关闭移动中心
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\MobilityCenter /v NoMobilityCenter /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\MobilityCenter /f关闭windows日历
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows /v TurnOffWinCal /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows /v TurnOffWinCal /f
关闭windows defenderreg
add HKLM\SOFTWARE\Policies\Microsoft\Windows" "Defender /v DisableAntiSpyware /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows" "Defender /v DisableAntiSpyware /f
禁用slideshow
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\SideShow /v Disabled /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\SideShow /v Disabled /f
禁用windows错误报告
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows" "Error" "Reporting /v Disabled /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows" "Error" "Reporting /v Disabled /f
禁用媒体中心
reg add HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaCenter /v MediaCenter /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\WindowsMediaCenter /v MediaCenter /f
禁用MovieMakerreg
add HKLM\SOFTWARE\Policies\Microsoft\WindowsMovieMaker /v MovieMaker /t REG_DWORD /d 1 /f撤销reg delete HKLM\SOFTWARE\Policies\Microsoft\WindowsMovieMaker /v MovieMaker /f
禁止配置自动更新(此时自动更新设置无法更改)
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 1 /f撤销 reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /f
用户设置-开始菜单及任务栏 注销时清空开始菜单上的“最近打开的文档”
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v ClearRecentDocsOnExit /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v ClearRecentDocsOnExit /f
不保留最近打开的文档的历史记录
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsHistory /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsHistory /f
去掉开始菜单中的"最近打开的文档
"reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsMenu /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRecentDocsMenu /f
去除开始菜单上的"连接到"
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoNetworkConnections /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoNetworkConnections /f
去掉开始菜单中的"帮助"
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoSMHelp /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoSMHelp /f
去掉开始菜单中的"文档"
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoSMMyDocs /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoSMMyDocs f
去掉开始菜单中的"图片"
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoSMMyPictures /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoSMMyPictures /f
去掉开始菜单中的"最近使用的程序列表"
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoStartMenuMFUprogramsList /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoStartMenuMFUprogramsList /f
去掉开始菜单中的"游戏"
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoStartMenuMyGames /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoStartMenuMyGames /f
去掉开始菜单中的"音乐"
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoStartMenuMyMusic /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoStartMenuMyMusic /f
锁定任务栏
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /vLockTaskbar /t REG_DWORD /d 1 /f 撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v LockTaskbar /f
禁止拖拽任务栏到屏幕其它边侧
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v TaskbarNoRedock /t REG_DWORD /d 1 /f 撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v TaskbarNoRedock /f
禁止更改任务栏大小
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v TaskbarNoResize /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v TaskbarNoResize /f-
其它强制使用控制面板经典视图
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v ForceClassicControlPanel /t REG_DWORD /d 1 /f撤销reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v ForceClassicControlPanel /f
先提取出开防火墙的注册表键值![HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]"EnableFirewall"=dword:00000000然后 按照REG的用法,在CMD中 输入:reg add hklm\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v EnableFirewall /t reg_dword /d 00000000 /f在本机测试成功将本地XP防火墙打开!(/f 是强制执行,不会出现提示对话框)对192.168.0.51这台远程主机进行测试:reg add \\192.168.0.51\hklm\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v EnableFirewall /t reg_dword /d 00000000 /fOK,成功打开远程主机的XP防火墙!写入BAT文件 ,执行,出错。提示“不是内部命令也不外部命令”等内容