Jump to content

tip for testing your registry tweaks


Recommended Posts

Posted

Hi all,

When you want to make and test a registry tweak

You have to reboot

or

kill explorer.exe in the taskmanager and restart it to view your changes

I found a usefull vbscript which kill all explorer.exe process and restart it automatically

save the following as killexplorer.vbs in yout system32 folder

On Error GoTo 0

For Each Process in GetObject("winmgmts:"). _

ExecQuery ("select * from Win32_Process where name='explorer.exe'")

Process.terminate(0)

Next

and then add the following in the registry
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\re-init]

@="Reinit explorer"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\re-init\command]

@="wscript.exe \"c:\\windows\\system32\\killexplorer.vbs\""

now when you do a reg tweak to test it just right click on my computer icon and select

Reinit explorer

Et voila...


Posted

here's a simple batch file that'll do the job.

@ECHO OFF
TITLE Restarting explorer....
tskill explorer.exe
explorer.exe
exit

save this as restartexplorer.cmd

this can also be used with the right click thing detailed above.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...