cancel
Showing results for 
Search instead for 
Did you mean: 

Executing a reg file with no notification

MatsobaneMokoma
Level 2
I have a few steps I want to share with you.
When you want to execute a .reg file without any notification you can do the below.

1. For testing open cmd and locate folder where you want to execute the .reg file
2. Run the reg File e.g. "C:\Temp\matsobane.reg", which will ask you confirm with a "yes" and "ok" button.
3. Run this command to remove the notification "reg import C:\Temp\matsobane.reg" which will now run silently and now you will see the output as "The operation completed successfully" or run this "regedit /s C:\Temp\matsobane.reg" which the "/s" means silent and the same output is expected. I prefer first option
4. Open a new txt file and paste the command and save it as .bat.
5 Execute the .bat file using Utility - Environment -> Start Process, and place the location of the file as an input on "Application :- C:\Temp\matsobane.bat"

If you want to monitor you can place a pause at the end of the command thus editing the .bat which calls the .reg and execute without pop-up. 15633.gif BINGO.

------------------------------
Matsobane Mokomane
Software Engineer/Developer
Nedbank
Africa/Johannesburg
------------------------------
1 REPLY 1

John__Carter
Staff
Staff
Thanks Matsobane

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------