aknott Posted August 14, 2004 Share Posted August 14, 2004 Hi all,When you want to make and test a registry tweakYou have to reboot or kill explorer.exe in the taskmanager and restart it to view your changesI found a usefull vbscript which kill all explorer.exe process and restart it automaticallysave the following as killexplorer.vbs in yout system32 folderOn Error GoTo 0For Each Process in GetObject("winmgmts:"). _ ExecQuery ("select * from Win32_Process where name='explorer.exe'") Process.terminate(0)Nextand 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 selectReinit explorerEt voila... Link to comment Share on other sites More sharing options...
nolookingca Posted August 14, 2004 Share Posted August 14, 2004 here's a simple batch file that'll do the job.@ECHO OFFTITLE Restarting explorer....tskill explorer.exeexplorer.exeexitsave this as restartexplorer.cmdthis can also be used with the right click thing detailed above. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now