Hi Gregory,
The owsadm.exe hasn't provided a operation to remove usage analysis
data. We have to manually delete the data files. You can try saving
as the following command lines into a batch to perform the task.
-------------------- START --------------------
dir _x_*.xml /b /s>wipeusage.txt
for /f "delims=;" %%i in (wipeusage.txt) do (
del "%%i"
)
dir service.cnf /b /s>wipeusage.txt
for /f "delims=;" %%i in (wipeusage.txt) do (
find /v "vti_usage" <"%%i" >"%temp%\service.txt"
move /y "%%i" "%%i.bak"
move /y "%temp%\service.txt" "%%i"
)
-------------------- END --------------------
NOTES: This will remove ALL Usage Analysis data for EVERY web site on
a web server make VERY SURE that you want to do this.
After this above, if you want to Usage Analysis to generate new data,
run owsadm- o usage again.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
>> Stay informed about: owsadm -o usage, stats, & Top Ten Lists!