How to clean up a guest user under windows xp

Posted on

Using the shtasks utility create a task to run a clean script.

schtasks /create /tn limpieza /tr c:\limpieza.bat /sc onstart /ru System

Here is the limpieza.bat script:

RD /S /Q  “C:\Documents And Settings\Invitado”

If  you want an user to autologon check this info:



REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d Invitado /f