A lot of Windows and even third party software settings are stored in the registry. Editing the registry is mostly performed by advanced users rather than beginners because wrongly deleting or changing an important registry value can result in an unbootable Windows. This is why it is always good to backup the whole branch of the registry that you want to edit by using the Export function. The exported registry file will be saved as a .reg extension. Importing back the exported .reg file is as easy as running it and clicking the Yes button on the scary warning window that says “Adding information can unintentionally change or delete values and cause components to stop working.”
Since registry editing is not really meant for computer beginners, there is a DisableRegistryTools setting in the registry that prevents the user from launching regedit and the command line reg.exe tool. This will also effectively block the ability to import a .reg file. This restriction is useful in a corporate environment to prevent users from messing up their computers but malware also uses this method to prevent the not-so-advanced user from attempting to disable the malware from the registry startup locations.
Use the convert program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See Command Line Processing for advice on how to structure your convert command or see below for example usages of the command. We list a few examples of the convert command here to illustrate its usefulness and ease of use. PS2EXE-GUI: 'Convert' PowerShell Scripts to EXE Files with GUI Overworking of the great script of Ingo Karstein with GUI support. The GUI output and input is activated with one switch, real windows executables are generated.
A simple way to bypass this restriction is to convert the .reg file to other file format such as .exe and .vbs. Here we have 2 freeware tools that can assist in converting .reg file to various formats including batch (.bat) and AutoIt script (AU3).
1. Reg2exeReg2exe is a free and open source program that can easily convert a .reg file to an executable .exe file. To use Reg2exe, run the program (Reg2exe.exe) as administrator and click the Register button. The Register button will turn to “Unregister” to show that you’ve successfully registered the command into right click context menu.
To convert a .reg file to .exe, simply right click on the .reg file and select “Convert to .exe” which will create an executable file with the same path and file name as the original .reg file.
Do take note that it is necessary to run the EXE file that was converted from the registry file as administrator, unless User Account Control is disabled. There is a bug in Reg2exe where you cannot unregister the “Convert to exe” command in right click context menu. You can manually delete it in the registry by going to the path below and deleting the whole Reg2exe key.
HKEY_CLASSES_ROOTregfileshellReg2exe
Alternatively you can download this pre-made .reg file and run it to remove the “Convert to exe” from your right click context menu.
Download Reg2exe
2. Reg Converter
Reg Converter is also freeware and it is able to convert a .reg file into .BAT, .VBS and .AU3 format. After running Reg Converter, first of all select the output format, then browse for the .reg file that you want to convert. Click the Convert button and the registry file content will be converted to the selected output code. You can make changes in the code if you want to and finally click the Save button to create the output file based on the .reg file.
If you find yourself converting .reg files quite often, the context menu options found in the Menu button will be very useful to add commands to right click.
Download Reg Converter
Additional Notes: Basically the converted file will do exact same thing as the .reg file except it is just a different format and method. From what we’ve tested, a converted .reg file to .EXE, .VBS and .AU3 (with AutoIt installed) will work even if the DisableRegistryTools is enabled. However the .bat format will not work since it uses the command line based reg.exe tool which is blocked when the DisableRegistryTools is enabled. Another possible problem with the converted .EXE is some antivirus such as Comodo, McAfee and Symantec will flag it as infected.
You might also like:
4 Tools to Decode and Convert Windows Registry Hex Values to Text7 Online Ways to Convert Any Files Without Using Software3 Ways to Convert Archives Into Different Compression Formats5 Ways to Solve Error While Deleting Key Problem When Editing Restricted Registry7 Easy to Use Tools that Extract and Convert Audio from Video Files 12 Comments - Write a Comment
Thank you raymond Here is the new version of The Reg Converter
Reg Converter v1.1 – What’s New – (Friday , 18. August 2017)
1. [ Fixed ] – Reg_Dword is not fully supported
2. [ Fixed ] – Comments at the end of the Registry Key or values are not supported
3. [ Fixed ] – Minor BUGS and some code weakness
4. [ Added ] – Language Support
5. [ Added ] – open Registry key with regedit feature
6. [ Added ] – Jump to Registry key feature
1. [ Fixed ] – Reg_Dword is not fully supported
2. [ Fixed ] – Comments at the end of the Registry Key or values are not supported
3. [ Fixed ] – Minor BUGS and some code weakness
4. [ Added ] – Language Support
5. [ Added ] – open Registry key with regedit feature
6. [ Added ] – Jump to Registry key feature
sordum.org/8478/reg-converter-v1-1/
Replynice
ReplyThis program may be useful for beginners and people who have malware and can’t get rid of it somehow and needs to urgently merge some registry scripts into the registry.
One can easily bypass this restriction by using a vbscript file (Wscript.Shell object has a method called RegWrite, in which you can edit the registry under the Wscript.exe program. Other programs can instantiate activex such as IE, Windows Explorer, mshta, HTML Help, etc because they utilize the IE web browser control.
Also it is possible to edit the registry using an INF file. This type of script has among other features the ability to write to the windows registry under Rundll32.exe.
You can use the command line registry editor too, the command line tool reg.exe, that comes on Windows 2000 and above.
ReplyNice Hack! Thanks for the Excellent Idea!
![Exe Exe](/uploads/1/2/6/3/126361725/843858750.png)
Thanks Raymond very useful for me. I’m a software developer. Many thanks again
ReplyAnother Nice tool Raymond :-)
ReplyWith more and more programs mucking with permissions, this is a nice tool.
Replygreat tip.
ReplySometimes when clicking on the reg the reg key is not imported and this tiny soft can come to help. Good soft did it again. Thanks.
ReplyAnother great and useful tip, thanks mate, cheers!
Replyvery nice ray! xD
ReplyNice info.
ReplyLeave a Reply
Released:
Converts .py to .exe using a simple graphical interface.
Project description
A .py to .exe converter using a simple graphical interface built using Eel and PyInstaller in Python.
Getting Started
Prerequisites
- Python : Python >= 2.7 ( including 3.7 🎉 )
To have the interface displayed in the images, you will need chrome. If chrome is not installed or --no-chrome is supplied, the default browser will be used.
Installation and Usage
Installing Via PyPI
You can install this project using PyPI:
Then to run it, execute the following in the terminal:
Installing Via GitHub
Then to run it, execute the following in the terminal:
Running Locally Via Github (no install)
You can run this project locally by following these steps:
- Clone/download the repo
- Open cmd/terminal and cd into the project
- Execute
python -m pip install -r requirements.txt
Now to run the application, execute
python -m auto_py_to_exe
. A Chrome window in app mode will open with the project running inside.Make sure you are in the directory below auto_py_to_exe (you will be after step 3) when calling
python -m auto_py_to_exe
or you will need to reference the folder auto_py_to_exe absolutely/relatively to where you currently are.Using the Application
- Select your script location (paste in or use a file explorer)
- Outline will become blue when file exists
- Select other options and add things like an icon or other files
- Click the big blue button at the bottom to convert
- Find your converted files in /output when completed
Easy.
Arguments
Usage:
auto-py-to-exe [-nc] [-c [CONFIG]] [filename]
Argument | Type | Description |
---|---|---|
filename | positional | Pre-fill the 'Script Location' field in the UI. |
-nc, --no-chrome | optional | Open the UI using the default browser (which may be Chrome). Will not try to find Chrome |
-c [CONFIG], --config [CONFIG] | optional | Provide a configuration file (json) to pre-fill the UI. These can be generated from the bottom of the advanced tab when you have setup your options. |
If you are running this package locally, you will need to call
python -m auto_py_to_exe
instead of auto-py-to-exe
Configurations
Instead of inserting the same data into the UI over and over again, you can export the current state of the UI by going to the section 'Configuration Import and Export' at the bottom of the advanced tab and exporting a JSON string to the clipboard or a file. This can then be imported into the UI again to re-populate all fields.
Video
If you need something visual to help you get started, I made a video for the original release of this project; some things may be different but the same concepts still apply.
Issues Using the Tool
If you're having issues with the packaged executable or using this tool in general, I recommend you read my blog post on common issues when using auto-py-to-exe. This post covers things you should know about packaging Python scripts and fixes for things that commonly go wrong.
Making GitHub Issues
Before making an issue on GitHub, make sure you have read through the blog post above and tried to debug your application. Also please take some time to look through older GitHub issues to see if your issue has already been discussed.
A lot of questions commonly asked relate to the fact that people have not tried debugging their application themselves. Please make sure you do this otherwise it makes it a lot harder to help.
Screenshots
Release historyRelease notifications
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.3
2.5.2
2.5.1
2.5.0
2.4.2
2.4.1
2.4
2.3
2.2
2.1.1
2.0.0
1.3.0
1.2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size auto_py_to_exe-2.6.6-py2.py3-none-any.whl (65.8 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Filename, size auto-py-to-exe-2.6.6.tar.gz (66.7 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for auto_py_to_exe-2.6.6-py2.py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 672809b15b8f62751e8b957c93876a964a68579101144143f6b098fd1d0600bf |
MD5 | 4941b00f83f8d03f836d6ee357e1a7de |
BLAKE2-256 | 36e6a92fccadf953f5b95d3d932d4fde61b53ab2ae174bf6f526f9bc0de98f0f |
Hashes for auto-py-to-exe-2.6.6.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 10c0dc11d06422f417638fdf7d84f20ea97f4073d03ecdc70b7e8fa38c6437ba |
MD5 | 033a268e9c3eb498e41366522cb64b47 |
BLAKE2-256 | d23f26a725b94330ef693633bebde0eda982aee19692f2d360deb358137ac4b5 |