Начал для себя разбирать твики семерки. Хочу поделиться. Проверены и работают точно. Мот кому пригодятся. Со временем выложу остальные что найду.
Код:
![Выделить весь код](images/misc/selectcode.png)
[Version]
Signature="$Windows NT$"
[Optional Components]
MyRegTweaks
[DefaultInstall]
AddReg =REGEntries.AddReg
DelReg =REGEntries.DelReg
[MyRegTweaks]
OptionDesc ="Registry Entries"
Tip ="Registry Entries"
Modes =0,1,2,3
AddReg =REGEntries.AddReg
DelReg =REGEntries.DelReg
[REGEntries.AddReg]
;=========================================================================================
;========================================== HKCR ==================================
;=========================================================================================
;добовление в контекстное меню Службы
HKCR,"CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Службы\command",,0x0,"mmc -s services.msc"
;Добавить "Открыть еще чем-то..." в контекстное меню
HKCR,"*\Shell\openas",,0x0,"Открыть еще чем-то..."
HKCR,"*\Shell\openas\command",,0x0,"rundll32.exe shell32.dll,OpenAs_RunDLL ""%%1"""
HKCR,"*\shellex\ContextMenuHandlers\Open With",,0x0,"{09799AFB-AD67-11d1-ABCD-00C04FC30936}"
;Добавить в контекстное меню dll-файлов команду register/unregister
HKCR,".dll","Content Type",0x0,"application/x-msdownload"
HKCR,".dll",,0x0,"dllfile"
HKCR,"dllfile",,0x0,"Application Extension"
HKCR,"dllfile\Shell\Register\command",,0x0,"regsvr32.exe ""%%1"""
HKCR,"dllfile\Shell\UnRegister\command",,0x0,"regsvr32.exe /u ""%%1"""
;Добавить в контекстное меню осх-файлов команду register/unregister
HKCR,".ocx",,0x0,"ocxfile"
HKCR,"ocxfile",,0x0,"OCX"
HKCR,"ocxfile\Shell\Register\command",,0x0,"regsvr32.exe ""%%1"""
HKCR,"ocxfile\Shell\UnRegister\command",,0x0,"regsvr32.exe /u ""%%1"""
;Стать владельцем и задать полный доступ к объекту
HKCR,"*\shell\runas",,0x0,"Стать владельцем и задать полный доступ к объекту"
HKCR,"*\shell\runas","Extended",0x0
HKCR,"*\shell\runas","NoWorkingDirectory",0x0
HKCR,"*\shell\runas\command",,0x0,"cmd.exe /c takeown /f ""%%1"" && icacls ""%%1"" /grant administrators:F"
HKCR,"*\shell\runas\command","IsolatedCommand",0x0,"cmd.exe /c takeown /f ""%%1"" && icacls ""%%1"" /grant administrators:F"
HKCR,"Directory\shell\runas",,0x0,"Стать владельцем и задать полный доступ к объекту"
HKCR,"Directory\shell\runas","Extended",0x0
HKCR,"Directory\shell\runas","NoWorkingDirectory",0x0
HKCR,"Directory\shell\runas\command",,0x0,"cmd.exe /c takeown /f ""%%1"" /r /d y && icacls ""%%1"" /grant administrators:F /t"
HKCR,"Directory\shell\runas\command","IsolatedCommand",0x0,"cmd.exe /c takeown /f ""%%1"" /r /d y && icacls ""%%1"" /grant administrators:F /t"
;=========================================================================================
;========================================== HKCU ==================================
;=========================================================================================
;Настройка меню игр
HKCU,"Software\Classes\Local Settings\Software\Microsoft\Windows\GameUX","FirstRunDialogLaunched",0x10001,01,00,00,00
HKCU,"Software\Classes\Local Settings\Software\Microsoft\Windows\GameUX","DownLoadGameInfo",0x10001,00,00,00,00
HKCU,"Software\Classes\Local Settings\Software\Microsoft\Windows\GameUX","ListRecentlyPlayed",0x10001,00,00,00,00
HKCU,"Software\Classes\Local Settings\Software\Microsoft\Windows\GameUX","GameUpdateOptions",0x10001,02,00,00,00
;Не выделять недавно установленные программы
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_NotifyNewApps",0x10001,00,00,00,00
;Не отоброжать папку Документы в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyDocs",0x10001,00,00,00,00
;Не отоброжать папку Изображения в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyPics",0x10001,00,00,00,00
;Не отоброжать Личную папку в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowUser",0x10001,00,00,00,00
;Не отоброжать папку Музыка в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyMusic",0x10001,00,00,00,00
;Отоброжать папку Подключение к в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowNetConn",0x10001,01,00,00,00
;Не отоброжать папку Программы по умолчанию в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowSetProgramAccessAndDefaults",0x10001,00,00,00,00
;Не отоброжать папку Справка в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowHelp",0x10001,00,00,00,00
;Не отоброжать папку Устройства и принтеры в меню Пуск
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowPrinters",0x10001,00,00,00,00
;Размер меню пуск - 14
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_MinMFU",0x10001,0e,00,00,00
;Убрать Мой компьютер с рабочего стола
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{20D04FE0-3AEA-1069-A2D8-08002B30309D}",0x10001,01,00,00,00
;Убрать Корзину с рабочего стола
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{645FF040-5081-101B-9F08-00AA002F954E}",0x10001,01,00,00,00
;Просмотр Панели управления - крупные значки
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel","AllItemsIconView",0x10001,00,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel","StartupPage",0x10001,01,00,00,00
;Настройка клавы и мыши
HKCU,"Control Panel\Keyboard","KeyboardDelay",0x0,"0"
HKCU,"Control Panel\Keyboard","InitialKeyboardIndicators",0x0,"2"
HKCU,"Control Panel\Mouse","DoubleClickSpeed",0x0,"900"
HKCU,"Control Panel\Mouse","MouseSensitivity",0x0,"20"
HKCU,"Control Panel\Desktop","WheelScrollLines",0x0,"5"
;Переключение языка ввода - Ctrl+Shift
HKCU,"Keyboard Layout\Toggle","Language Hotkey",0x0,"2"
HKCU,"Keyboard Layout\Toggle","Hotkey",0x0,"2"
;Отключение анимации окон при свертывании и развертывании
HKCU,"Control Panel\Desktop\WindowMetrics","MinAnimate",0x0,"0"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects","VisualFXSetting",0x10001,03,00,00,00
;Настройка командной строки, синий фон и шрифт Lucinda Console
HKCU,"Console","ColorTable00",0x10001,00,00,00,00
HKCU,"Console","ColorTable01",0x10001,00,00,80,00
HKCU,"Console","ColorTable02",0x10001,00,80,00,00
HKCU,"Console","ColorTable03",0x10001,00,80,80,00
HKCU,"Console","ColorTable04",0x10001,80,00,00,00
HKCU,"Console","ColorTable05",0x10001,80,00,80,00
HKCU,"Console","ColorTable06",0x10001,80,80,00,00
HKCU,"Console","ColorTable07",0x10001,c0,c0,c0,00
HKCU,"Console","ColorTable08",0x10001,80,80,80,00
HKCU,"Console","ColorTable09",0x10001,00,00,ff,00
HKCU,"Console","ColorTable10",0x10001,00,ff,00,00
HKCU,"Console","ColorTable11",0x10001,00,ff,ff,00
HKCU,"Console","ColorTable12",0x10001,ff,00,00,00
HKCU,"Console","ColorTable13",0x10001,ff,00,ff,00
HKCU,"Console","ColorTable14",0x10001,ff,ff,00,00
HKCU,"Console","ColorTable15",0x10001,ff,ff,ff,00
HKCU,"Console","CursorSize",0x10001,19,00,00,00
HKCU,"Console","FaceName",0x0,"Lucida Console"
HKCU,"Console","FontFamily",0x10001,36,00,00,00
HKCU,"Console","FontSize",0x10001,00,00,0e,00
HKCU,"Console","FontWeight",0x10001,90,01,00,00
HKCU,"Console","FullScreen",0x10001,00,00,00,00
HKCU,"Console","HistoryBufferSize",0x10001,32,00,00,00
HKCU,"Console","InsertMode",0x10001,01,00,00,00
HKCU,"Console","LoadConIme",0x10001,01,00,00,00
HKCU,"Console","NumberOfHistoryBuffers",0x10001,04,00,00,00
HKCU,"Console","PopupColors",0x10001,f5,00,00,00
HKCU,"Console","QuickEdit",0x10001,00,00,00,00
HKCU,"Console","ScreenBufferSize",0x10001,50,00,2c,01
HKCU,"Console","ScreenColors",0x10001,1f,00,00,00
HKCU,"Console","WindowSize",0x10001,50,00,19,00
HKCU,"Console","CurrentPage",0x10001,01,00,00,00
HKCU,"Console","HistoryNoDup",0x10001,00,00,00,00
;=========================================================================================
;========================================== HKLM ==================================
;=========================================================================================
;========================================== Службы ==================================
;Отключение защитника Windows
HKLM,"SYSTEM\ControlSet001\services\WinDefend","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\WinDefend","Start",0x10001,04,00,00,00
;Отключениее центра обнавления Windows
HKLM,"SYSTEM\ControlSet001\services\wuauserv","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\wuauserv","Start",0x10001,04,00,00,00
;Отключение защиты программного обеспечения
HKLM,"SYSTEM\ControlSet001\services\sppsvc","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\sppsvc","Start",0x10001,04,00,00,00
;отключение службы регистрации ошибок Windows
HKLM,"SYSTEM\ControlSet001\services\WerSvc","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\WerSvc","Start",0x10001,04,00,00,00
;Отключение теневого копирования тома
HKLM,"SYSTEM\ControlSet001\services\VSS","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\VSS","Start",0x10001,04,00,00,00
;Отключение удаленного реестра
HKLM,"SYSTEM\ControlSet001\services\RemoteRegistry","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\RemoteRegistry","Start",0x10001,04,00,00,00
;Отключение вторичного входа в систему
HKLM,"SYSTEM\ControlSet001\services\seclogon","Start",0x10001,04,00,00,00
HKLM,"SYSTEM\CurrentControlSet\services\seclogon","Start",0x10001,04,00,00,00
;========================================== IE8 ==================================
;Автоматическая подстановка доменов зоны RU BY в IE
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Main\UrlTemplate","5",0x0,"www.%%s.ru"
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Main\UrlTemplate","6",0x0,"www.%%s.by"
;Отключить предупреждения при открытии локальных HTML-файлов
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN","iexplore.exe",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN","explorer.exe",0x10001,01,00,00,00
;ускорение загрузки веб страниц
HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider","DnsPriority",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider","HostsPriority",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider","LocalPriority",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider","NetbtPriority",0x10001,01,00,00,00
;========================================== Разные ==================================
;Управление отображением Корзина в Сервис - Свойства папки - Вид
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","RegPath",0x0,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","Text",0x0,"Показать Корзину на рабочем столе"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","Type",0x0,"checkbox"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","ValueName",0x0,"{645FF040-5081-101B-9F08-00AA002F954E}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","CheckedValue",0x10001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","UncheckedValue",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","DefaultValue",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\RecycleBinOnDesktop","HKeyRoot",0x10001,01,00,00,80
;Управление отображением Мой компьютер в Сервис - Свойства папки - Вид
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","RegPath",0x0,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons\NewStartPanel"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","Text",0x0,"Показать Мой компьютер на рабочем столе"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","Type",0x0,"checkbox"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","ValueName",0x0,"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","CheckedValue",0x10001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","UncheckedValue",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","DefaultValue",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\MyCompOnDesktop","HKeyRoot",0x10001,01,00,00,80
;Временная зона - Минск
HKLM,"SYSTEM\ControlSet001\Control\TimeZoneInformation","Bias",0x10001,88,ff,ff,ff
HKLM,"SYSTEM\ControlSet001\Control\TimeZoneInformation","DaylightName",0x0,"@tzres.dll,-331"
HKLM,"SYSTEM\ControlSet001\Control\TimeZoneInformation","StandardName",0x0,"@tzres.dll,-332"
HKLM,"SYSTEM\ControlSet001\Control\TimeZoneInformation","TimeZoneKeyName",0x0,"E. Europe Standard Time"
HKLM,"SYSTEM\ControlSet001\Control\TimeZoneInformation","ActiveTimeBias",0x10001,88,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x10001,88,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x0,"@tzres.dll,-331"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x0,"@tzres.dll,-332"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","TimeZoneKeyName",0x0,"E. Europe Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x10001,88,ff,ff,ff
;Отключить поиск в сети Интернет при открытии файла с неизвестными расширением (не уверен в работе)
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system","NoInternetOpenWith",0x10001,01,00,00,00
;Отображать сначала метку, а потом букву диска
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer","ShowDriveLettersFirst",0x10001,04,00,00,00
;Не проверять наличие обнавлений
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AUOptions",0x10001,01,00,00,00
;Отключить файл подкачки
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management","DisablePagingExecutive",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management","PagingFiles",0x10000