Exodia Posted May 13, 2004 Posted May 13, 2004 This used to be doable in older versions of windows, can it be done in XP?Ive been tweaking my broadband connection and every time i make a change to my RWIN setting, i need to reboot so that windows registry is reinitialized. It took many reboots before i found a good setting and i just wondered of there was a short way of reinitializing the registry (rebooting windows).
maxXPsoft Posted May 13, 2004 Posted May 13, 2004 Heres what I use to kill the explorer process which is supposed to reinitialize cause it kill's everything. Make sure you have changes saved before applying. If you move an icon on desktop then that's not saved and they will go back where they were. Its funny try moving a few and you'll see.kill.vbsstrComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colProcessList = objWMIService.ExecQuery _ ("Select * from Win32_Process Where Name = 'explorer.exe'")For Each objProcess in colProcessList objProcess.Terminate()NextI remember Refresh in a previous version but haven't found anything supporting it in XP
Glowy Posted May 14, 2004 Posted May 14, 2004 You can also add this to the registry[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"EnableQuickReboot"="1"And use Shift+Ctrl+Alt+Del to Quick reboot
maxXPsoft Posted May 14, 2004 Posted May 14, 2004 EnableQuickRebootEnable Quick Reboot (Windows NT/2000)NOT!! here on XPFrom the web1 : Enables quick restart with Ctrl+Shift+Alt+Del, at the risk of losing data, by forcing all current applications to close. Uses the same API as the Resource Kit shutdown /c utility. You had better avoid enabling that entry.But I am adventuresome and tried it, it didn't work here. All you wanna do is close Explorerr process and restart it, what I provided will do just that. I tried it on several key's need a reboot to take effect and it work's. I'm not saying it will work for all, like the icon's.
maxXPsoft Posted May 14, 2004 Posted May 14, 2004 can it *.exe to??i hope so laurensTried *.exe didn't work here
piaqt Posted May 14, 2004 Posted May 14, 2004 Task manager\ processes tab\ explorer.exe\ end process\ new task\ run\ explorer.exe.Or log off\on.
Exodia Posted May 14, 2004 Author Posted May 14, 2004 Ending explorer doesnt seem to reinitialize the registry, the settings i change only take effect after windows has shut down completely.By the way, the proper way to end explorer (without forcing it) is to go to "start" "turn off..." and then while holding ctrl+alt+shift, click "cancel". Explorer will shut down on its own. Of course to restart just use task manager.But like i said, ending explorer doesnt allow the changes to take effect. For me anyways.
maxXPsoft Posted May 15, 2004 Posted May 15, 2004 Ive been tweaking my broadband connectionI just paid attention to that and yep a total reboot is necessary, maybe cause it loads the data to NIC's then??? I have Starband and I have to total reboot here also with any changes.piaqtThats what that little vbs file is doing look closely at it. ProcessAs I said it do work on some but I'm not saying it will work for allBut then logoff don't work for all either.Now got me thinking if theres a way to cycle power or settings on a NIC.... have to look into that. Would be nice. I know you can disable but does it load new settings when it restart's? Off to looking for answer's
Exodia Posted May 15, 2004 Author Posted May 15, 2004 I tried disabling it then turning it back on, that didnt work either. I thought about uninstalling it from device manager then reinstalling it again, but thats more time consuming then a reboot.I just read somewhere on dslreports.com a lil while ago that the only way to get the settings to change is a reboot.
maxXPsoft Posted May 15, 2004 Posted May 15, 2004 Yes perhap's so, may need that power cycle unfortunately just like bios is read during boot. Maybe the addresses are read and setting's assigned/applied.
Laser2100 Posted May 17, 2004 Posted May 17, 2004 Restarting Explorer only reinitializes the shell, i.e. the user interface. To restart XP, you must reboot in order to reinitialize the kernel (ntoskrnl.exe), device drivers, and system services. If you don't like rebooting, just leave your computer on.
wrecklesswun Posted October 14, 2004 Posted October 14, 2004 try unplugging the nic, re-plugging cable or disble nic and re-enable
DoGauss Posted April 5, 2008 Posted April 5, 2008 can it *.exe to??i hope so For using wildcards in WMI you have to use the '%' character.But while using wildcards you also need to exchange the comparator from '=' to 'LIKE' so the result woult look like this:strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colProcessList = objWMIService.ExecQuery _ ("Select * from Win32_Process Where Name like '%.exe'")For Each objProcess in colProcessList objProcess.Terminate()NextBe sure to know what you do with this - with all *.exe processes terminated you *WILL* have to reboot the hard way because it's most likely that your current session will be beyond any bounds to get fixed and running stable again.Also keep in mind that you might stumble upon processes which do not like to be terminated this way.GreetingsDominik
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now