Jump to content

Recommended Posts

Posted

Hello!

I habe a Problem with Design my Windows XP full automatic!

My runonce file her:

@echo off

ECHO.

ECHO Installing Q832483

start /wait %systemdrive%\install\hotfixes\Q832483.EXE /C:"dahotfix.exe /q /n" /q

ECHO.

ECHO Installing KB817787

start /wait %systemdrive%\install\hotfixes\KB817787.exe /Q

ECHO.

Echo Installing WinRAR 3.3

start /wait %systemdrive%\install\Applications\wrar330.exe /s

echo.

echo Installing Ad-aware

start /wait %systemdrive%\install\Applications\aaw6181.exe /s

echo.

echo Installing IsoBuster

start /wait %systemdrive%\install\Applications\IsoBuster15.exe /VERYSILENT /SP-

echo.

Echo Killing ISOBuster.exe process

taskkill.exe /F /IM isobuster.exe

echo.

echo Installing Sun Java

start /wait %systemdrive%\install\Applications\j2re-1_4_2.exe /s /v/qn

echo.

echo Anpassen der Desktop eigenschaften:

regedit /s "%systemdrive%\install\hotfixes\Desktop_all.reg"

rmdir /s /q "%systemdrive%\Dokumente und Einstellungen\Administrator\"

rmdir /s /q "%systemdrive%\Dokumente und Einstellungen\Default User\"

xcopy "%systemdrive%\Install\Default User\" "%systemdrive%\Dokumente und Einstellungen\Administrator\" /eshi

xcopy "%systemdrive%\Install\Default User\" "%systemdrive%\Dokumente und Einstellungen\Default User\" /eshi

REM echo Loesche Temp Dateien:

REM rmdir /s /q C:\Install

REM rmdir /s /q C:\Drivers

REM del /f /s /q C:\Windows\Temp\

echo.

ECHO Restarting the PC in 10 secounds...

%systemdrive%\WINDOWS\system32\shutdown.exe -r -f -t 10 -c "Windows XP will now restart in 10 sec! This installation is made by Martin Ecker ©2004"

EXIT

But the problem is when this file is running the Administrator is logon and than I could del this User Profile! Have everybody a solution about that problem!

thx


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...