Win7RegEdit-x64.reg – A Reduced Version for Virtual Machines

I had previously worked up a registry edit (.reg) file called Win7RegEdit-x64.reg. That .reg file contained a number of registry tweaks that I used to customize my Windows 7 installations. Now, as described in another post, I was customizing a Windows 7 virtual machine (VM) in VirtualBox. I needed another version of that .reg file, reduced and modified to suit the VM. This post presents the text of the .reg file that I created. It ran successfully and made desired changes in my VM.

The same caveats apply here as in the previous Win7RegEdit post. Among other things, registry edits can ruin Windows systems and can probably result in data loss; I would have no idea and could not guarantee how these edits might affect someone else’s computer; people who do not know what they are doing (in the registry or anywhere else) probably should not be doing it; some of these lines may need editing to work for others; and a backup before proceeding would be wise. The previous post also contains information regarding the “Cannot import” error.

Windows Registry Editor Version 5.00

; Win7RegEdit-x64-for-VMs.reg

; This version is for minimal virtual machines. It assumes C:\Workspace.

; Run Ultimate Windows Tweaker first.  This adds (in some cases duplicates) options not available there.

; The item to "Remove User folder from navigation pane" (below) requires these manual permissions changes:
;   1. Navigate in registry to HKEY_CLASSES_ROOT\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}\ShellFolder
;   2. Right-click on ShellFolder > Permissions > select Administrators > Allow Full Control > OK.
;   3. Do the same thing at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}\ShellFolder


; ************* WINDOWS EXPLORER *************


; Disable libraries
[-HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
“{031E4825-7B94-4dc3-B131-E946B44C8DD5}”=-

; Turn off Details pane (at bottom of WinEx)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer]
"PreviewPaneSizer"=hex:45,00,00,00,00,00,00,00,00,00,00,00,0c,02,00,00

; Automatically expand to current folder
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"NavPaneExpandToCurrentFolder"=dword:00000001
; To undo, change to =dword:00000000

; Show file extensions and hidden files
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001
"HideFileExt"=dword:00000000
"ShowSuperHidden"=dword:00000001

; Hiding or removing the Organize bar is reportedly feasible but risky

; Remove Favorites from navigation pane
; Alternative for this and other items: see Windows 7 Navigation Pane Customizer (https://goo.gl/ji04Ud).
[HKEY_CURRENT_USER\Software\Classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder]
"Attributes"=dword:a9400100
; To undo:
; [-HKEY_CURRENT_USER\Software\Classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}]

; Remove User folder from navigation pane
[HKEY_CLASSES_ROOT\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}\ShellFolder]
"Attributes"=dword:f094012d
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}\ShellFolder]
"Attributes"=dword:f094012d
; To add user folder back to navigation pane, replace both of those Attributes with this one:
; "Attributes"=dword:f084012d

; Set Documents folder template as default
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="Documents"

; Add context menu option to open files with Notepad
[HKEY_CLASSES_ROOT\*\shell\Notepad]
@="Open with Notepad"
[HKEY_CLASSES_ROOT\*\shell\Notepad\command]
@="notepad.exe \"%1\""

; Disable Windows from asking "Do you want to open this file?"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download] 
"CheckExeSignatures"="no" 
"RunInvalidSignatures"=dword:00000001 
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments] 
"SaveZoneInformation"=dword:00000001 
[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;"

; Disable annoying web service dialog for opening files
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoInternetOpenWith"=dword:00000001
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoInternetOpenWith"=dword:00000001

; Disable Windows 7 built-in CD burning
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoCDBurning"=dword:00000001

; Allow selecting more than 15 items for right-click Print command
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"MultipleInvokePromptMinimum"=dword:00000016

; Prevent Windows tools from changing EML file date and time to now
; This line deletes the key that causes the problem
; After running this, run EML Atributer.exe to reset those
;   EML dates and times that have already been changed
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.eml]
; To restore the registry so that it contains the bug (i.e., changes the
;   EML time and date), run these lines instead
; [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.eml]
; @="{5FA29220-36A1-40f9-89C6-F4B384B7642E}"
revent win

; Add "Take Ownership" to right-click context menu
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"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\Directory\shell\runas]
@="Take Ownership"
"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"
; To remove, run these two lines
; [-HKEY_CLASSES_ROOT\*\shell\runas]
; [-HKEY_CLASSES_ROOT\Directory\shell\runas]


; ************* START MENU, TASKBAR, AND THUMBNAILS ************* 


; Make Aero Peek happen quickly (200 milliseconds; default is 500)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DesktopLivePreviewHoverTime"=dword:00000200

; Increase Start Menu display speed (default delay is 400ms)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="200"


; ************* FILE LOCATIONS ************* 


; Point to Workspace folder for Music, Video, Pictures, etc.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"My Music"="C:\\Workspace"
"My Pictures"="C:\\Workspace"
"My Video"="C:\\Workspace"
"Personal"="C:\\Workspace"
"{374DE290-123F-4565-9164-39C4925E467B}"="C:\\Workspace"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"My Music"="C:\\Workspace"
"My Pictures"="C:\\Workspace"
"My Video"="C:\\Workspace"
"Personal"="C:\\Workspace"
"{374DE290-123F-4565-9164-39C4925E467B}"="C:\\Workspace"

; Customize default places bar in Win7's common file dialog box
; Commented out here, because not presently needed.
; To use, uncomment (i.e., remove leading semicolons from) all of these lines).
; [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32]
; [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\Placesbar]
; "Place0"="MyDocuments"
; "Place1"="Recent"
; "Place2"="D:\\Career"
; "Place3"="X:\\Start Menu\\Programs"


; ************* INTERNET EXPLORER ************* 


; Specify IE download directory
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer]
"Download Directory"="C:\\Workspace"

; Force IE to launch shortcuts in a new window
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000

; Disable “Speed up Browsing by Disabling Add-ons” popup notification
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Ext]
"DisableAddonLoadTimePerformanceNotifications"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\Ext]
"DisableAddonLoadTimePerformanceNotifications"=dword:00000001


; ************* LOGIN, LOGOUT, SHUTDOWN *************


; Save settings on exit
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

; Disable automatic restart after crash so you can see error messages
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot "=dword:00000000

; Information at bootup and shutdown
"VerboseStatus"=dword:00000001

; Delete paging file at shutdown
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001


; ************* UNBLOCK MICROSOFT OFFICE *************


; Some older files cannot be opened in Office without these fixes.
; Uncomment these lines and re-run this reg file if MS Office is installed later.

; Unblock Word

; [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Security\FileOpenBlock]
; "FilesBeforeVersion"=dword:00000000

; Unblock Excel

; [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Security\FileOpenBlock]
; "LotusandQuattroFiles"=dword:00000000
; "LegacyBinaryFiles"=dword:00000000
; "LegacyDatabaseAndDatasourceFiles"=dword:00000000

; [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Security\FileSaveBlock]
; "LotusandQuattroFiles"=dword:00000000
; "LegacyBinaryFiles"=dword:00000000
; "LegacyDatabaseAndDatasourceFiles"=dword:00000000

; Unblock PowerPoint

; [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\PowerPoint\Security\FileOpenBlock]
; "FilesBeforePowerPoint97"=dword:00000000

; [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\PowerPoint\Security\FileSaveBlock]
; "FilesBeforePowerPoint97"=dword:00000000

; Unblock Corel Draw

; [HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters\Import\CDR]
; "Enabled"=dword:00000001


; ************* ADD SAFE MODE TO DESKTOP CONTEXT MENU *************

; Created by: Shawn Brink
; Tutorial: http://www.eightforums.com/tutorials/27510-safe-mode-add-desktop-context-menu-windows.html 

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode]
"MUIVerb"="Safe Mode"
"SubCommands"="NormalMode;SafeMode;SafeModeNetworking;SafeModeCommandPrompt"
"icon"="imageres.dll,-149"
"Position"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeMode]
@="Restart in Safe Mode"
"HasLUAShield"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeMode\command]
@="WScript C:\\Windows\\Safe_Mode\\Safe_Mode.vbs"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeModeNetworking]
@="Restart in Safe Mode with Networking"
"HasLUAShield"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeModeNetworking\command]
@="WScript C:\\Windows\\Safe_Mode\\Safe_Mode_Networking.vbs"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NormalMode]
@="Restart in Normal Mode"
"HasLUAShield"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NormalMode\command]
@="WScript C:\\Windows\\Safe_Mode\\Normal_Mode.vbs"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeModeCommandPrompt]
@="Restart in Safe Mode with Command Prompt"
"HasLUAShield"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeModeCommandPrompt\command]
@="WScript C:\\Windows\\Safe_Mode\\Safe_Mode_Command_Prompt.vbs"

; To remove Safe Mode option from desktop context menu,
;   insert the following lines in a batch file.

; Reg Delete "HKCR\DesktopBackground\Shell\SafeMode" /F
; Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NormalMode" /F
; Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeMode" /F
; Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeModeNetworking" /F
; Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SafeModeCommandPrompt" /F
; RD /S /Q "%windir%\Safe_Mode"


; ************* OTHER TWEAKS *************


; Turn off Diagnostics Tracking Service for privacy
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\DiagTrack]
"Start"=dword:00000004

; Remove "Shortcut" from title of shortcuts    
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"link"=hex:00,00,00,00

; Disable creation of Thumbs.db
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DisableThumbnailCache"=dword:00000001

; Disable beep on error
[HKEY_CURRENT_USER\Control Panel\Sound]
"Beep"="No"

; Increase Internet download connections to 10
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPerServer"=dword:0000000a
"MaxConnectionsPer1_0Server"=dword:0000000a

; Disable User Account Control (UAC)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000

; Eliminate "Could not find this item" error
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4ffe-A368-0DE96E47012E}\PropertyBag]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4af4-A7EB-4E7A138D8174}\PropertyBag]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7b0db17d-9cd2-4a93-9733-46cc89022e7c}\PropertyBag]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464b-ABE8-61C8648D939B}\PropertyBag]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4e80-94BC-9912D7504104}\PropertyBag]

; This may help the screen refresh better
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpdateMode"=dword:00000000

; Add commonly-used choices to Run box
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU]
"a"="diskmgmt.msc\\1"
"MRUList"="kadojefgcbnmlih"
"b"="taskmgr.exe\\1"
"c"="SystemPropertiesAdvanced.exe\\1"
"d"="services.msc\\1"
"e"="msconfig\\1"
"f"="cleanmgr\\1"
"g"="cmd\\1"
"h"="mdsched.exe\\1"
"i"="perfmon.exe\\1"
"j"="taskschd.msc\\1"
"k"="regedit\\1"
"l"="msinfo32.exe\\1"
"m"="explorer.exe\\1"
"n"="dfrgui.exe\\1"
"o"="compmgmt.msc\\1"

; Prevent system from storing recently opened files
;    in C:\Users\Ray\AppData\Roaming\Microsoft\Windows\Recent
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_TrackDocs"=dword:00000000
;    Use dword:00000001 to turn it back on
Advertisements
This entry was posted in Uncategorized and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s