ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: explorer.exe auto-restarter

(1/3) > >>

brotherS:
Hi,

I'd like to add code to my AHK script to always restart explorer.exe maybe 20 seconds after it died or after I had to kill it. Windows should restart it automatically, but often does not  :(

What do you think? And what would be the best way to do this?

mouser:
wasn't there a coding snack written for this (kansas): https://www.donationcoder.com/CodingSnacks/index.php

brotherS:
No, not really, it has a quite different purpose:


--- ---; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:         edvard_mcfly
;
; Script Name:
; Kansas (as in, "There's no place like Home")
;
; Script Function:
; Reverts to Explorer as your default shell and quickly logs off
; in case your alternate shell crashes or misbehaves.
;
; ----------------------------------------------------------------------------

; Script Start

RegWrite ("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\system.ini\boot","Shell","REG_SZ","SYS:Microsoft\Windows NT\CurrentVersion\Winlogon")
RegWrite ("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell","REG_SZ","explorer.exe")
RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell","REG_SZ","explorer.exe")
RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer","DesktopProcess","REG_DWord","0")
RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer","BrowseNewProcess","REG_SZ","no")

Shutdown (0)

; Fi

PhilKC:
I'd like to add code to my AHK script to always restart explorer.exe maybe 20 seconds after it died or after I had to kill it. Windows should restart it automatically, but often does not  :(

What do you think? And what would be the best way to do this?
-brotherS (December 07, 2005, 03:37 PM)
--- End quote ---

Well, XP? use

TSKILL Explorer

And windows will always restart it...

Other Windows based systems? Download TSKILL and use the above method :P

Edit: WTF, why is the : P smiley so messed up?

PhilKC

brotherS:
I'd like to add code to my AHK script to always restart explorer.exe maybe 20 seconds after it died or after I had to kill it. Windows should restart it automatically, but often does not  :(

What do you think? And what would be the best way to do this?
-brotherS (December 07, 2005, 03:37 PM)
--- End quote ---

Well, XP? use

TSKILL Explorer

And windows will always restart it...

Other Windows based systems? Download TSKILL and use the above method
-PhilKC (December 08, 2005, 04:24 AM)
--- End quote ---
Hmm, where could I download this? Couldn't find it with Google...  :(

Navigation

[0] Message Index

[#] Next page

Go to full version