Double click opens Search instead of drive

If happens that when you doubleclick on a system drive to open a Search console instead of the Drive – here is the solution of the problem:

Open command prompt /Start button –> Run –> cmd –> OK/

Then type     regsvr32 /i shell32.dll      and press Enter.

I created a small program in Autoit to do the same:

Here is the source code:

The AutoIt source files have .au3 extension.

To make an .exe file and run, you need to download AutoIt compiler  it is free

and you need SciTE editor to edit the source:

My source is very simple:

Send(“#r”) ;Opens Run window. Same as start button –> Run
WinWaitActive(“Run”) ;waits Run window to appear
Send(“regsvr32 /i shell32.dll”) ; same as typing this text in the box
ToolTip(“Now will run ‘regsvr32 /i shell32.dll’ command to repair search problem” & @CRLF & @CRLF, 200, 300) ;An explanatory Tooltip appears with coordinates 200×500
Sleep(8000) ;program paused for 8 seconds to read the tooltip
ToolTip(”) ; Removes tooltip
Send(“{Enter}”) ;same as pressing OK button or press Enter from keyboard
ToolTip(“READY!” & @CRLF & @CRLF, 200, 300)

Copy it in Scite editor and use TOOLS –> Run menu to run or Tools–> Build to make an .exe

You can see comments and change some parts of the source.


Leave a Reply

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

You are commenting using your 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

%d bloggers like this: