📜 ⬆️ ⬇️

Comprehensive Registry Tweak for Windows 7 + Bonus: Migrate User Data

Quick Windows Setup


Installing the Windows operating system has become commonplace for many users. Someone uses original images, and someone is experimenting with assemblies - there is no particular difference. If you go in a standard way, rather than deploying from a prepared image, the installation process should not cause problems on a working iron. After a few reboots, we see a clean worker - further we are waiting for the setting.

You can long and tediously adjust various system parameters for different applets of the Control Panel, etc., by checking and unchecking checkboxes, by writing the necessary parameters. But there is a faster way - to apply all the necessary settings "in two clicks" - through the finished registry settings file. About system registry tweaks, system administrators should know. Surely many have their own set of settings collected in the * .reg file. With the help of tweaks, you can not only quickly set up a “clean” operating system, but also change the parameters of the working machine without reinstalling the OS.

I have compiled my * .reg registry tweaks file for several years. The basis was taken from the OSZone forum, but he added a lot of his own. Some tweaks were found empirically using RegShot 1.8.2. Also, something was found in the depths of the Microsoft documentation. I literally went through some registry branches and searched for information on unknown configuration keys. The main purpose of these tweaks is to increase speed, free up memory and create usability.

Windows Registry Editor Version 5.00 ;  "  ..."     [HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\CopyTo] @="{C2FBB630-2971-11d1-A18C-00C04FD75D13}" ;  "  ..."     [HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\MoveTo] @="{C2FBB631-2971-11d1-A18C-00C04FD75D13}" [HKEY_CURRENT_USER\Control Panel\Desktop] ;    "CursorBlinkRate"="200" ;     "FontSmoothing"="0" ;  ClearType "FontSmoothingType"=dword:00000000 ;   [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics] ;       "IconTitleWrap"="0" ;       "MinAnimate"="0" [HKEY_CURRENT_USER\Control Panel\Keyboard] ;      "KeyboardDelay"="0" [HKEY_CURRENT_USER\Environment] ; %WinDir%\Temp       "TEMP"=- "TMP"=- [HKEY_CURRENT_USER\Keyboard Layout\Preload] ;   ,       "1"="00000409" "2"="00000419" "3"="00000422" [HKEY_CURRENT_USER\Keyboard Layout\Toggle] ;    Ctrl+Shift "Hotkey"="2" "Language Hotkey"="2" "Layout Hotkey"="3" [HKEY_CURRENT_USER\Software\Microsoft\FTP] ;   FTP-    "Use Web Based FTP"="yes" ;   Internet Explorer 8 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\CommandBar] ;    "CommandBarEnabled"=dword:00000000 ;    "ShowCompatibilityViewButton"=dword:00000000 ;     [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download] ;      "CheckExeSignatures"="no" ;      "RunInvalidSignatures"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LinksBar] ;    "Enabled"=dword:00000000 ;  Internet Explorer 8 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] ;      "AutoSearch"=dword:00000000 ;  Internet Explorer    "Check_Associations"="no" ;    "Enable Browser Extensions"="no" ;   "IE8RunOnceCompletionTime"=hex:00 ; IE8   "IE8RunOnceLastShown"=dword:00000001 ;   "IE8RunOnceLastShown_TIMESTAMP"=hex:00 ;  IE8  "IE8RunOncePerInstallCompleted"=dword:00000001 ;   IE8  "IE8TourShown"=dword:00000001 ;     IE8 "IE8TourShownTime"=hex:00 ;      "NotifyDownloadComplete"="no" ;          "Page_Transitions"=dword:00000000 ;     Internet Explorer "Start Page"="about:blank" [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN] ;        "iexplore.exe"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings] ;    -    "LOCALMACHINE_CD_UNLOCK"=dword:00000001 ;  Windows Media Player 12 [HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences] ;   "AcceptedPrivacyStatement"=dword:00000001 ;   ,     "AddVideosFromPicturesLibrary"=dword:00000000 ;      "AutoAddMusicToLibrary"=dword:00000000 ;         "DeleteRemovesFromComputer"=dword:00000000 ;      "DisableLicenseRefresh"=dword:00000001 ;   "FirstRun"=dword:00000000 ;      "FlushRatingsToFiles"=dword:00000000 ;     - "HTMLViewAsk"=dword:00000000 ;       "LibraryHasBeenRun"=dword:00000001 ;           "MetadataRetrieval"=dword:00000000 ;       "SilentAcquisition"=dword:00000000 ;      "SilentDRMConfiguration"=dword:00000000 ;      "UpgradeCheckFrequency"=dword:00000002 ;   [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] ;      "EnableAutoTray"=dword:00000000 ;He oa "- p"  coaaex po "link"=hex:00,00,00,00 ;     "" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;  ,    "Hidden"=dword:00000001 ;     "" "HideDrivesWithNoMedia"=dword:00000000 ;      "HideFileExt"=dword:00000000 ;     "Start_LargeMFUIcons"=dword:00000000 ;     "Start_NotifyNewApps"=dword:00000000 ;  "" "Start_ShowMyDocs"=dword:00000000 ;  "" "Start_ShowMyMusic"=dword:00000000 ;  "" "Start_ShowMyPics"=dword:00000000 ;  " " "Start_ShowNetConn"=dword:00000000 ;  "" "Start_ShowRun"=dword:00000001 ;  "  " "Start_ShowSetProgramAccessAndDefaults"=dword:00000000 ;     "TaskbarAnimations"=dword:00000000 ;      "TaskbarGlomLevel"=dword:00000002 ;      "TaskbarSmallIcons"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete] ;   "Append Completion"="yes" [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection] [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers] ;       [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDOpen\Modules\GlobalSettings\Sizer] ;     "" "PageSpaceControlSizer"=hex:a0,00,00,00,00,00,00,00,00,00,00,00,9b,02,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDSave\Modules\GlobalSettings\Sizer] ;     "" "PageSpaceControlSizer"=hex:a0,00,00,00,00,00,00,00,00,00,00,00,9b,02,00,00 ;   [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel] ;   "AllItemsIconView"=dword:00000000 ;     "StartupPage"=dword:00000001 ;    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] ;     "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 ; %UserName%    "{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000 ;      [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer] ;     "PageSpaceControlSizer"=hex:a0,00,00,00,00,00,00,00,00,00,00,00,56,05,00,00 ;     "PreviewPaneSizer"=hex:35,00,00,00,00,00,00,00,00,00,00,00,9f,02,00,00 ;      [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband] ;        "Favorites"=hex:ff ;        "FavoritesResolve"=- ;    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] ;    Windows "EnableNegotiate"=dword:00000000 ;     "WarnonBadCertRecving"=dword:00000000 ;       "WarnOnIntranet"=dword:00000000 ;     "WarnOnPostRedirect"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] ; ""       "LowRiskFileTypes"=".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments] ;    ,    "SaveZoneInformation"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] ;  " "    "HideSCAHealth"=dword:00000001 ;   ,  CD- "NoDriveTypeAutoRun"=dword:000000dd ;  "  "    "NoSMConfigurePrograms"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata] ;     "PreventDeviceMetadataFromNetwork"=dword:00000000 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{863aa9fd-42df-457b-8e4d-0de1b8015c60}] ;       ;    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] ;     "ConsentPromptBehaviorAdmin"=dword:00000000 ;    (UAC) "EnableLUA"=dword:00000000 ;     "PromptOnSecureDesktop"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update] ;    "AUOptions"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy] ;        "EnableQueryRemoteServer"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting] ;     "Disabled"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore] ;      "RPSessionInterval"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex\WorkingSetRules\16] ;    "Include"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex\WorkingSetRules\17] ;   IE8 "Include"=dword:00000000 ;     (BSOD) [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] ;    "AutoReboot"=dword:00000000 ;    "CrashDumpEnabled"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard] ;          "HideWizard"=dword:00000001 ;   [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Remote Assistance] ;     "fAllowFullControl"=dword:00000000 ;       "fAllowToGetHelp"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CSC] ;    "Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CscService] ;    "Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Parameters] ;     (C$  ..) "AutoShareWks"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpsSvc] ;   Windows "Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile] ;    Windows "EnableFirewall"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\PublicProfile] ;    Windows "EnableFirewall"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile] ;    Windows "EnableFirewall"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time] ;   Windows "Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters] ;        "Type"="NoSync" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend] ;   Windows "Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc] ;     "Start"=dword:00000004 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv] ;    Windows "Start"=dword:00000004 

')
As you can see, there are quite a few points, but they all contain a description, so everyone will choose what they need. For those who do not know how to use: copy tweaks into a text file (you can not all, but always with the top line) and save. After the text file, you need to change the extension from * .txt to * .reg, and also note that some tweaks require Administrator rights.

Bonus: Moving user data.

By default, user data on computers running Windows 7 is stored in the C: \ Users \% username% folder, which is inconvenient. Inside the user's folder there are several sub-folders, which for some time, for “sloppy” users, “expand” considerably in volume. These folders are: Desktop, Downloads, Documents, Music, Images, Videos. I suggest immediately after reinstalling Windows to transfer these folders to the D: \ drive. Of course, you can do it manually - in the properties of each folder, change its location. And you can use my batch file, which will "carefully" copy all the contents to a new location and change the necessary registry settings.

 @ECHO OFF TITLE    XCOPY "%USERPROFILE%\ \ " D:\ /S /I /Q /H /K /O /Y XCOPY "%USERPROFILE%\ \ " D:\ /S /I /Q /H /K /O /Y XCOPY "%USERPROFILE%\ \ " D:\ /S /I /Q /H /K /O /Y MD D:\ MD D:\ MD D:\ REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Music" /t REG_SZ /d D:\ /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Pictures" /t REG_SZ /d D:\ /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Video" /t REG_SZ /d D:\ /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Music" /t REG_EXPAND_SZ /d D:\ /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Pictures" /t REG_EXPAND_SZ /d D:\ /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Video" /t REG_EXPAND_SZ /d D:\ /f RD /S /Q "%USERPROFILE%\ \ " RD /S /Q "%USERPROFILE%\ \ " RD /S /Q "%USERPROFILE%\ \ " XCOPY "%USERPROFILE%\ " "D:\ " /S /I /Q /H /K /O /Y XCOPY "%USERPROFILE%\ " "D:\ " /S /I /Q /H /K /O /Y MD "D:\ " MD "D:\ " REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop /t REG_SZ /d "D:\ " /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Desktop /t REG_EXPAND_SZ /d "D:\ " /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal /t REG_SZ /d "D:\ " /f REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal /t REG_EXPAND_SZ /d "D:\ " /f REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths" /v %USERNAME% /t REG_SZ /d "D:\ " /f RD /S /Q "%USERPROFILE%\ " RD /S /Q "%USERPROFILE%\ " PAUSE 


As you can see, everything is quite simple - the “important” folders listed above are created in the root of the D: \ drive. This solution is convenient to use for a single-user home computer. To use, you need to save the text to a file with the extension * .cmd. Encoding must be OEM 866.

Thank you for attention. Can someone come in handy.

Source: https://habr.com/ru/post/240609/


All Articles