Register the path 'stsadm.exe'in the path, which, as I recall, is here:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
or enter the following command:
@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%
Hope this helped.
source
share