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.