Tuesday, September 24, 2013

Loopback adapter for VIP


netsh interface ipv4 set interface "Webfarm Connection" weakhostreceive=enabled
netsh interface ipv4 set interface "Virtual Connection" weakhostreceive=enabled
netsh interface ipv4 set interface "Virtual Connection" weakhostsend=enabled

Friday, June 28, 2013

VirtualBox and Hyper-V on Windows 8

  • bcedit /copy {current} /d "Windows 8 (No Hyper-V)"
  • bcedit /set {guid generated by the previous command} hypervisorlaunchtype off

--> auto to set Hyper-V back

Thursday, January 21, 2010

IIS - Win32_PerfFormattedData_W3SVC_WebService Missing

After a new installation of Windows 2003, the following class was missing. The problem was that everything was deployed on it and a re-installation was not a solution.
After doing some googling, I have found WMIDiag utility and it gives me the way to repair it.
  • winmgmt /clearadap
  • winmgmt /resyncperf
Don't stop the WMI service and delete the repository folder, it is NOT a solution. WMIDiag is the proper way to do it.

You can download WMIDiag at the following address

Monday, April 27, 2009

PowerShell Execution Policy

Please be aware that when you set the ExecutionPolicy in PowerShell on x64, you must change also in PowerShell x86 (particulary if you execute the scripts from a x86 editor).
I have lost a lot of time because I have forgotten that my script editor was not a x64 version.
When you find this kind of stuff, you said "OK, it is very logical, behind the scene, it is a modification of a registry key" and x64 OS keeps a special key "Wow6432Node" for x32 programs mappings.

Hope it helps someone