The Run Box Tweaking Guide


Recommended Posts

Introduction

I have seen several people ask about tweaking the run box, I hope this guide explains how to tweak it in a easy and quick manor. It can be done on 9x/ME/NT/2000/XP. The tweaking of the run box involves 5 things: ResHacker, Replacer, a Reboot, a good idea of what you want, and about 10 minutes. Here is an example of what I have created:

runbox.png

Tools of the Trade

ResHacker (Right Click Save As)

Replacer (Right Click Save As)

Download, unzip and put them in a place where you will remember them.

(I personally put them in C:\hack\)

Step By Step

1) Press Start > Run and in the box type in:

xcopy "C:\WINDOWS\system32\shell32.dll" "C:\"

This copies the shell32.dll file to the C:\ drive root for editing.

2) Open up ResHacker from where you installed it.

reshack.png

3) While in ResHacker select File>Open

open1.png

4) In the open dialog, type in C:\shell32.dll and press Enter.

open2.png

5) Once your file is opened you will see a tree on the left site, navigate it through these branches: Dialog>1003>1033. Like so:

tree.png

6) A dialog should pop up when you go into 1033, it is a dialog editor like one you would see in a IDE like Visual Basic Studio. You can drag the items around to your liking. This being mine:

dialoge.png

and if you wish to use my config just simply place this into your dialog script in the main window.

1003 DIALOGEX 0, 0, 181, 38
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Run"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
   CONTROL 160, 12297, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 3, 9, 21, 20 
   CONTROL "", 12298, COMBOBOX, CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 26, 7, 153, 198 
   CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 27, 20, 50, 14 
   CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 78, 20, 50, 14 
   CONTROL "&Browse...", 12288, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 129, 20, 50, 14 
}

7) When you are done press Compile Script at the top of the main window and File>Save

8) If you wish to change the run icon to something that looks better for the dialog simply navigate to: Icon Group>160>1033. Right click on the 1033 and press Replace Resource.

replace.png

9) Press Open File With New Icon. Find the icon you want to replace it with and then press Replace. When back in the main window press File>Save and exit the application.

icon.png

10) Once out of ResHacker and saving your new shell32.dll open up the program Replacer that we downloaded earlier and a batch file window should pop up like the one below.

replacer.png

11) For the Original prompt type in C:\WINDOWS\system32\shell32.dll and press Enter.

orig.png

12) For the Replacment prompt type in C:\shell32.dll and press Enter.

rel.png

13) When it asks you if it wants you to continue or press Y and then Enter.

cont.png

14) You should get this screen when its over, then press any key and it will close the program.

end.png

15) Reboot your computer by opening Start>Turn Off This Computer>Restart or Start>Run>shutdown -r. Enjoy your final results.

runbox.png

Conclusion

I hope that you enjoyed this guide and look forward to future ones. If you have any questions or comments. Please limit criticism to the constructive nature. Thanks for reading.

-LiquidGUI

Edited by LiquidGUI
Link to comment
https://www.neowin.net/forum/topic/281408-the-run-box-tweaking-guide/
Share on other sites

  • 2 weeks later...

Nice job.

Works for me:


1003 DIALOGEX 0, 0, 181, 38
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Run"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
   CONTROL "", 12298, COMBOBOX, CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 3, 2, 174, 197 
   CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 18, 50, 14 
   CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 65, 18, 50, 14 
   CONTROL "&Browse", 12288, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 126, 17, 50, 14 
}

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • draw.io Desktop 30.2.6 by Razvan Serea draw.io desktop is a downloadable security-first diagramming application that runs on Windows, MacOS and Linux. Creating diagrams in the desktop app doesn’t need an internet connection. This is useful when you are disconnected or when you must create diagrams in a highly secure environment, where data protection is of the utmost importance. When you use the draw.io desktop app, your diagrams will be stored on your local device. Because this is a stand-alone application, also designed to run offline, there are no interfaces to cloud storage platforms available. Of course, you can still store your diagrams in folders that are synchronised to your cloud storage if you wish. Easy-to-use diagram editor The draw.io apps work just like the office and drawing tools you are used to using. Drag and drop shapes from the shape libraries and drag to draw connectors between them. Drag connectors to add waypoints and set a precise shape and position, or let them reroute automatically. Double click and start typing to add a label to anything. Create tables and swimlane flows with a familiar tool. Style shapes and connectors with customisable palettes, sketch options, fonts and text formatting tools. Search for shapes, including in open-source icon libraries. Use our vast libraries of shapes and templates, organised into logical categories, to create a range of diagrams and infographics. Generate diagrams from text descriptions using our smart templates. Diagram faster with keyboard shortcuts. draw.io Desktop 30.2.6 changelog: Uses electron 42.5.0 #2452 Updates to draw.io core 30.2.6. Download: draw.io 64-bit | Standalone (Open Source) Download: draw.io 32-bit | ARM64 | ARM64 Standalone Links: draw.io Home Page | Project page @GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      500
    2. 2
      +Edouard
      216
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      Steven P.
      75
    5. 5
      FloatingFatMan
      70
  • Tell a friend

    Love Neowin? Tell a friend!