Jump to content

Very Simple Problems?


Recommended Posts

Hi all, im ta new member :)

I found this very good guide to make my winXP cd up to date...but

it all goes very well....he copied all stufff from the CD onto the Harddrive....

than he installt windows but after his first reboot he had to start the batches...

1. he starts 2batches...Main_Batch and Hotfixes batch...but thats not the problem, the problem is that the main_batch couldnt delete the Wallpapers and scrrensavers in C:\Windows and C:\Windows\web\wallpapers or so....

2. The main_batch is faster ready than hotfix batch and so he starts the application batch...i have not so many applications and so he is very very fast and than he deletated the install folder....thats s***, because the hotfix batch isnt finish and so he gives me a mistake....and he doesnt want to reboot.....thats a problem too.

My Main_Batch: Thats not all its only a little piece...

ECHO Kopiere Tools...

COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\"

COPY "%systemdrive%\Install\Tools\psshutdown.exe" "%systemroot%\"

ECHO.

ECHO Entferne Wallpapers...

DEL "%systemroot%\Blue Lace 16.bmp"

DEL "%systemroot%\Coffee Bean.bmp"

DEL "%systemroot%\FeatherTexture.bmp"

DEL "%systemroot%\Gone Fishing.bmp"

DEL "%systemroot%\Greenstone.bmp"

DEL "%systemroot%\Prairie Wind.bmp"

DEL "%systemroot%\Rhododendron.bmp"

DEL "%systemroot%\River Sumida.bmp"

DEL "%systemroot%\Santa Fe Stucco.bmp"

DEL "%systemroot%\Soap Bubbles.bmp"

DEL "%systemroot%\Zapotec.bmp"

DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"

DEL "%systemroot%\Web\Wallpaper\Friend.jpg"

DEL "%systemroot%\Web\Wallpaper\Home.jpg"

DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Peace.jpg"

DEL "%systemroot%\Web\Wallpaper\Power.jpg"

DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"

DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"

DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"

DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"

DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"

DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"

DEL "%systemroot%\Web\Wallpaper\Azul.jpg"

DEL "%systemroot%\Web\Wallpaper\Follow.jpg"

DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"

DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"

DEL "%systemroot%\Web\Wallpaper\Wind.jpg"

ECHO.

ECHO Entferne unnütze Verknüpfungen...

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"

ECHO.

ECHO Entferne Screensavers...

DEL "%systemroot%\system32\dllcache\scrnsave.scr"

DEL "%systemroot%\system32\dllcache\ss3dfo.scr"

DEL "%systemroot%\system32\dllcache\ssbezier.scr"

DEL "%systemroot%\system32\dllcache\ssflwbox.scr"

DEL "%systemroot%\system32\dllcache\ssmarque.scr"

DEL "%systemroot%\system32\dllcache\ssmypics.scr"

DEL "%systemroot%\system32\dllcache\ssmyst.scr"

DEL "%systemroot%\system32\dllcache\sspipes.scr"

DEL "%systemroot%\system32\dllcache\ssstars.scr"

DEL "%systemroot%\system32\dllcache\sstext3d.scr"

DEL "%systemroot%\system32\scrnsave.scr"

DEL "%systemroot%\system32\ss3dfo.scr"

DEL "%systemroot%\system32\ssbezier.scr"

DEL "%systemroot%\system32\ssflwbox.scr"

DEL "%systemroot%\system32\ssmarque.scr"

DEL "%systemroot%\system32\ssmypics.scr"

DEL "%systemroot%\system32\ssmyst.scr"

DEL "%systemroot%\system32\sspipes.scr"

DEL "%systemroot%\system32\ssstars.scr"

DEL "%systemroot%\system32\sstext3d.scr"

ECHO.

ECHO Kopiere Windows XP 3D Screensaver...

COPY "%systemdrive%\Install\Powertoys\3D Windows XP.scr" "%systemroot%\system32"

ECHO.

ECHO Kopiere patched UXTheme.dll...

REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.old

COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\"

REN %systemroot%\System32\uxtheme.dll uxtheme.old

COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\"

ECHO.

ECHO Installiere MSN Messenger 6.0.0602 Final

ECHO Please wait...

start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB

ECHO.

ECHO Installiere DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk

ECHO.

ECHO Installiere Windows Media Player 9

ECHO Please wait...

start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N

ECHO.

ECHO Installiere Windows Media Player 9 BONUS

ECHO Please wait...

start /wait %systemdrive%\install\WMP9\wmbonus.exe /Q:A /R:N

ECHO.

ECHO Installiere Movie Maker 2.0

ECHO Please wait...

start /wait %systemdrive%\install\MovieMaker\mm20.msi /qn

ECHO.

ECHO Kopiere TweakUI 2.10 Powertoy

COPY "%systemdrive%\install\PowerToys\TweakUI.exe" "%systemroot%\System32\"

COPY "%systemdrive%\install\PowerToys\TweakUI 2.10 Powertoy.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\"

ECHO.

ECHO Installiere Task Switcher Powertoy

ECHO Please wait...

start /wait %systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn

ECHO.

ECHO Speichere Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.

ECHO Installiere .NET Framework v1.1

ECHO Please wait...

start /wait %systemdrive%\install\NetFramework\netfx.msi /QB

ECHO.

ECHO Kopiere Microsoft JavaVM - Build 3809

ECHO Please wait...

start /wait %systemdrive%\install\JavaVM\MSJavx86_3809full.exe /Q:A /R:N

ECHO.

ECHO Update Microsoft JavaVM to 3810

ECHO Please wait...

start /wait %systemdrive%\install\JavaVM\msjavwu_3810update.exe /Q:A /R:N

EXIT

whats wrong? i dont know....i think i put it all into ONE batch datei than i have only the problem that he doesnt delete the pictures and the reboot.....all other stuff is going..only that...plz help...

Link to comment
Share on other sites


German XP doesn't work that way. The file- and foldernames are different, and also, the characters have to be in DOS codepage, not ANSI (like Windows saves them as default). I mentioned this several times already, but the german guide wasn't updated yet.

Take a look at my files, maybe you can understand it.

At the end of winnt.sif:

...

[GuiRunOnce]
   %systemdrive%\install\main_batch.cmd
   %systemdrive%\install\hotfixes.cmd
   %systemdrive%\install\finish.cmd

main_batch.cmd:

CLS
@echo off

ECHO.
ECHO L”sche ?berfl?ssige Dateien...
DEL "%systemroot%\Angler.bmp"
DEL "%systemroot%\Blaue Spitzen 16.bmp"
DEL "%systemroot%\F„cher.bmp"
DEL "%systemroot%\Feder.bmp"
DEL "%systemroot%\Granit.bmp"
DEL "%systemroot%\Kaffeetasse.bmp"
DEL "%systemroot%\Rhododendron.bmp"
DEL "%systemroot%\Pr„riewind.bmp"
DEL "%systemroot%\Santa Fe-Stuck.bmp"
DEL "%systemroot%\Seifenblase.bmp"
DEL "%systemroot%\Zapotek.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
ECHO Fertig.

ECHO.
ECHO Installiere Windows Media Player 9...
start /wait %systemdrive%\install\Apps\WMP9\MPSetupXP.exe /Q:A /R:N
ECHO Fertig.

ECHO.
ECHO Installiere Registry Tweaks...
REGEDIT /S %systemdrive%\install\regtweaks.reg
ECHO Fertig.

EXIT

hotfixes.cmd (you need the german versions of the patches!):

CLS
@echo off
ECHO.

:LOOP
SET Choice=
SET /P Choice="Windows XP Pre-SP2 Hotfixes installieren? (J/N)"

IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%

ECHO.
IF /I '%Choice%'=='J' GOTO Los
IF /I '%Choice%'=='N' GOTO Ende
ECHO Bitte J oder N eingeben!
ECHO.
GOTO Loop

:Los
cls
ECHO.
ECHO Installiere Pre-SP2 Hotfixes, bitte warten...

ECHO.
ECHO (01/40) Installiere Windows XP Professional Hilfe Update
start /wait %systemdrive%\install\Hotfixes\hu1002_pro.exe /q:a /r:n

ECHO.
ECHO (02/40) Installiere Q816093: Microsoft Java VM 5.00.3810
start /wait %systemdrive%\install\Hotfixes\msjavwu.exe /q:a /r:n

ECHO.
ECHO (03/40) Installiere Q322011: Faxvorschau auf Faxkonsole nicht m”glich
start /wait %systemdrive%\install\Hotfixes\Q322011_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (04/40) Installiere Q323183: Bluetooth Unterst?tzung f?r Windows XP SP1
start /wait %systemdrive%\install\Hotfixes\Q323183_WXP_SP2_X86_DEU.exe /u /q /z /n

ECHO.
ECHO (05/40) Installiere Q323255: Ungepr?fter Puffer in Windows-Hilfefunktion kann Angreifern die Ausf?hrung von Code erm”glichen
start /wait %systemdrive%\install\Hotfixes\Q323255_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (06/40) Installiere Q327979: W„hrend der Wiedergabe des einf?hrenden Videoclips reagiert das Spiel nicht mehr (h„ngt) oder wird unerwartet beendet
start /wait %systemdrive%\install\Hotfixes\Q327979_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (07/40) Installiere Q328310: Fehler in Windows WM_TIMER-Nachrichtenbehandlung kann Erschleichen h”herer Berechtigungen erm”glichen
start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (08/40) Installiere Q329048: Ungepr?fter Puffer in Dateikomprimierungsfunktionen kann Angreifern die Ausf?hrung von Code erm”glichen
start /wait %systemdrive%\install\Hotfixes\Q329048_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (09/40) Installiere Q329115: Sicherheitsl?cke in Zertifikatspr?fung erm”glicht vorget„uschte Identit„t
start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (10/40) Installiere Q329170: Schwachstelle bei SMB-Signierung erm”glicht Žnderung von Gruppenrichtlinie
start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (11/40) Installiere Q329390: Ungepr?fter Puffer in Windows-Shell k”nnte Systemsicherheit beeintr„chtigen
start /wait %systemdrive%\install\Hotfixes\Q329390_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (12/40) Installiere Q329441: Nach Wiederherstellung von Windows XP kann keine Netzwerkverbindung hergestellt werden
start /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (13/40) Installiere Q329834: Ungepr?fter Puffer in PPTP-Implementierung kann Denial-of-Service-Angriffe erm”glichen
start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (14/40) Installiere Q330994: Kumulativer Patch f?r Outlook Express, April 2003
start /wait %systemdrive%\install\Hotfixes\q330994.exe /q:a /r:n

ECHO.
ECHO (15/40) Installiere Q810400: USB-Ger„te funktionieren nach dem Trennen eines untergeordneten USB-Hubs vom Hostcontroller eventuell nicht mehr
start /wait %systemdrive%\install\Hotfixes\Q810400_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (16/40) Installiere Q810565: Hyperlinks werden nicht im Standardbrowser oder Hilfe- und Supportcenter, sondern im Internet Explorer ge”ffnet
start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (17/40) Installiere Q810577: Ungepr?fter Puffer in Windows-Redirector kann Erschleichung h”herer Berechtigungen erm”glichen
start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (18/40) Installiere Q810833: Ein ungepr?fter Puffer im Locator-Dienst kann die Ausf?hrung von b”swilligem Code erm”glichen
start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (19/40) Installiere Q811493: Puffer?berlauf in der Nachrichtenbehandlung des Windows-Kernels f?hrt m”glicherweise zu erh”hten Berechtigungen
start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (20/40) Installiere Q811630: HTML-Hilfe-Update zur Einschr„nkung der Funktionalit„t, wenn es mit der Methode window.showHelp( ) aufgerufen wird
start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (21/40) Installiere Q812415: Probleme mit mehreren ATA-Laufwerken im S1-Energiemodus
start /wait %systemdrive%\install\Hotfixes\Q812415_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (22/40) Installiere Q814033: Treiber-Updates von der Windows Update Webseite k”nnen nicht installiert werden
start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (23/40) Installiere Q814078: Sicherheitsanf„lligkeit in Windows Script Engine erm”glicht eventuell Ausf?hrung von Code
start /wait %systemdrive%\install\Hotfixes\js56nde.exe /q

ECHO.
ECHO (24/40) Installiere Q814995: Einige Programmkompatibilit„ts-Updates funktionieren nach Installation von Update 328310 eventuell nicht mehr
start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (25/40) Installiere Q815021: Ungepr?fter Puffer in einer Windows-Komponente kann die Sicherheit des Webservers gef„hrden
start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (26/40) Installiere Q815485: Windows XP-Supportpatch f?r Wireless Protected Access
start /wait %systemdrive%\install\Hotfixes\Q815485_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (27/40) Installiere Q817287: Patch f?r Windows Update Fehler 643
start /wait %systemdrive%\install\Hotfixes\Q817287_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (28/40) Installiere Q817606: Buffer Overrun in Windows Could Lead to Data Corruption - Deutsch
start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (29/40) Installiere Q819639: Fehler in Windows Media Player kann den Zugriff auf die Medienbibliothek erm”glichen
start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-DEU.exe /q:a /r:n

ECHO.
ECHO (30/40) Installiere Q819696: Ungepr?fter Puffer in DirectX kann zu einer Kompromittierung des Systems f?hren
start /wait %systemdrive%\install\Hotfixes\Q819696_WXP_SP2_x86_DEU.exe /u /q /z /n

ECHO.
ECHO (31/40) Installiere Q822925: Kumulativer Patch f?r Internet Explorer, August 2003
start /wait %systemdrive%\install\Hotfixes\q822925.exe /q:a /r:n

ECHO.
ECHO (32/40) Installiere KB282010: Jet 4.0 Service Pack 7
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB282010-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (33/40) Installiere KB817778: Erweitertes Netzwerkpaket f?r Windows XP
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB817778-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (34/40) Installiere KB820128: Kernel Rollup Hotfix Package
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB820128-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (35/40) Installiere KB820291: Neues Symbol und Hilfethema f?r das Feature "Programmzugriff und Standardeinstellungen festlegen"
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB820291-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (36/40) Installiere KB821253: Windows Error Reporting Update
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821253-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (37/40) Installiere KB821557: Ungepr?fter Puffer in Windows-Shell kann das System gef„hrden
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (38/40) Installiere KB823559: Puffer?berlauf in HTML-Konverter kann Ausf?hrung von Code erm”glichen
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (39/40) Installiere KB823980: Puffer?berlauf in RPC-Schnittstelle kann Ausf?hrung von Code erm”glichen
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-DEU.exe /u /q /z /n

ECHO.
ECHO (40/40) Installiere Q823718: Microsoft Data Access Components (MDAC) Security Patch MS03-033
start /wait %systemdrive%\install\Hotfixes\Q823718_MDAC_SecurityPatch.exe /Q /C:"dahotfix /q /n"

ECHO.
ECHO Fertig.

:Ende
ECHO.
ECHO Installiere DirectX 9.0b...
start /wait %systemdrive%\install\Apps\Directx9b\dxsetup.exe /windowsupdate
ECHO Fertig.

ECHO.
EXIT

finish.cmd:

CLS
@echo off

ECHO.
ECHO Installiere Acrobat Reader...
start /wait %systemdrive%\install\Apps\AdobeReader6\Adobe Reader 6.0 - Deutsch.msi /QB
ECHO Fertig.

ECHO.
ECHO L”sche ?berfl?ssige Dateien...
DEL "%systemdrive%\Dokumente und Einstellungen\All Users\Startmen?\Programmzugriff und -standards.lnk"
DEL "%systemdrive%\Dokumente und Einstellungen\All Users\Startmen?\Windows-Katalog.lnk"
DEL "%systemdrive%\Dokumente und Einstellungen\All Users\Desktop\Adobe Reader 6.0.lnk"
RD /S /Q "%systemdrive%\Dokumente und Einstellungen\All Users\Startmen?\Programme\PrintMe Internet Printing"
RD /S /Q "%systemdrive%\Dokumente und Einstellungen\All Users\Dokumente\Eigene Bilder\Beispielbilder"
RD /S /Q "%systemdrive%\Dokumente und Einstellungen\All Users\Dokumente\Eigene Musik"
RD /S /Q "%systemdrive%\Programme\Online-Dienste"
DEL "%systemroot%\system32\dllcache\tourstrt.exe"
DEL "%systemroot%\system32\dllcache\tourw.exe"
DEL "%systemroot%\system32\tourstart.exe"
DEL "%systemroot%\setupapi.log"
DEL "%systemroot%\*.tmp"
ECHO Fertig.

ECHO.
ECHO L”sche Temp-Dateien...
RD /S /Q %systemdrive%\install
ECHO Fertig.
ECHO.
EXIT

Hope this helps.

Link to comment
Share on other sites

Oh yes....thx that helped a lot....ich habe nich dran gedahct dass die dateien anders heissen....but now i think my cd works....thx a lot but my cdr are all away :) three only...were i can download a demo of Virtual CD??

Link to comment
Share on other sites

were i can download a demo of Virtual CD??

It's called Virtual PC and you can download a trial version at this website.

By the way, if you get a lot of "Datei nicht gefunden" errors with your .cmd files, it means that the filenames are still not correct. Then you need to save it as OEM text, not as ANSI text (can be done in UltraEdit, for instance). When you select OEM mode in UltraEdit, the Umlauts need to be correct (ä, ö, ü) and not some weird symbols.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...