Empty Desk-Policy – for Profiles

Every applications nowadays seems to create temp-files without feeling the need to clean up after them-selfs. So I need to take care of this matter.

At least most applications dump the temp-files in the appropriate temp-folder, that is being provided either by the windows environment or via special folders.

OK, but how do you get rid of this junk easily? The answer is simple: just setup an appropriate policy.

In order to do so, you first should create a little script:

cd %temp%
rd . /s /q
cd %windir%\temp
rd . /s /q

Call this script for e.g. del_tmp.cmd and place it in %windir%\system32\GroupPolicy\User\Scripts\Logoff.

Next startup an instance of gpedit.msc and go to user-settings\windows-settings\scripts. Here you can edit which scripts should be run at logon/logoff. Obviously we want our script to run at logoff.

OK, not everything is set to clean-up with every logoff.

Service Pack 2 in Windows-XP-CD integrieren

Für die Integration wird zum einen das SP2 für XP als auch die original Installations-CD benötigt.

  1. Als erstes muss die Original-CD auf die Festplatte kopiert werden. Es wird davon ausgegangen, daß die CD in nach E:\XP_INST kopiert wird.
  2. Anschließend wird das SP2 mit dem Parameter /integrate:<Pfad>. Pfad ist dabei der Ordner, in dem sich die Original-Dateien der Installations-CD befinden, in diesem Fall also E:\XP_INST. Dabei darf kein Leerzeichen zwischen integrate: und dem Pfad stehen. Als Ergebnis erhält im Wurzelverzeichnes des SP2 eine Datei win51ip.SP2.
  3. Mit Nero kann das Image nun auf CD gebrannt werden. Dazu wird ein neue Projekt vom Typ CD-ROM (Boot) erstellt. Der benötigte Bootblock kann hier heruntergeladen werden. Als Emulation sollte Keine Emulation verwendet werden, der Name für den Bootblock ist beliebig, Ladesegment 0C70 und 4 Bootblocks.

Link: Service Pack 2 in Windows-XP-CD integrieren