Windows Registry Hacks
Syntax of REG files
RegistryEditorVersion
Blank line
[RegistryPath1]
"DataItemName1"="DataType1:DataValue1"
"DataItemName2"="DataType2:DataValue2"
Blank line
[RegistryPath2]
"DataItemName3"="DataType3:DataValue3"
Blank line
Important: Each registration path must be terminated with a blank line (return). This also applies to the last registration path.
Add, Delete, Rename and Change Registry Subkeys and Values using a REG File
Add Key
[NewRegistryPath]
Delete Key
[-RegistryPath]
Rename Key
[-RegistryPath]
[NewRegistryPath]
Add value
[RegistryPath]
"NewDataItemName"="DataType:DataValue"
Delete value
[RegistryPath]
"DataItemName"=-
Rename value
[RegistryPath]
"DataItemName"=-
"NewDataItemName"="DataType:DataValue"
Change value
[RegistryPath]
"DataItemName"="DataType:NewDataValue"
Add comments
; Note
Executing a REG file within a batch file
regedit.exe /s "[Path of the .reg file]"
/s (silent) = no message is displayed
Display seconds on the clock
Simply download the following REG files, unzip them and execute the desired file to add or remove the seconds.
Windows 10 - Remove "This PC" folders
Simply download the following REG files, unzip them and execute the desired file to add or remove the folders.
Note: If you open the user folder with the path "C:\User\[Your Name]
", the folders are still visible after deactivation. However, if you open your user folder with "%userprofile%
" in the address bar, the hidden folders are not displayed.
Prevent creation of the "thumbs.db" file
There is another solution under Windows Pro. Go to the detailed tutorial Switch off the caching of thumbnails.
Simply download the following REG files, unzip them and execute the desired file to add or remove the "thumbs.db" file.