Thursday, April 8, 2010

netsh support in MicroXP 0.82

If you’re using eXPerience’s MicroXP 0.82 (especially good for small virtual machines), you might like to use netsh.exe (Net Shell), which was removed.
So here’s what you have to do in order to get nesh working in MicroXP (all of the mentioned files should be copied from/to %SYSTEMROOT%\system32):
  • From a full Windows XP installation, copy netsh.exe and netshell.dll to MicroXP.
  • Again, from a full Win XP, run netsh show helper to see the necessary DLLs for the various commands.
  • Copy what you need from this list to MicroXP.
  • run netsh add helper <DLL> (without <>)   for each DLL you copied.
That’s it.

Monday, March 8, 2010

Quiet Alternative to jucheck.exe (Java Update Check)

I want to make sure my Java is updated, but I don't want jusched.exe running in the background for no reason, and jucheck can't be configured to pop a message box only when there's a new version available.

So I wrote this small batch script to check the latest version.
To run it you'll need curl in your PATH.

I schedule this script to run when the computer is idle for an hour, using nircmd exec hide <path to javacheck.cmd> to make the update check invisible.


P.S Whenever Java does update, make sure to edit the script according to the latest version number (look in http://javadl-esd.sun.com/update/1.6.0/map-m-1.6.0.xml ).

Sunday, February 14, 2010

WMP crashes when switching to full screen

Suddenly Windows Media Player 11 started crashing when I switched to full screen mode. At first I thought it was a driver problem, but then I remembered I've changed video acceleration to None in order to take screen shots.
Indeed, setting video acceleration (Tools menu -> Options -> Performance) back to full solved the problem.



BTW, my primary video player is VLC.