Jump to content

Deluser Error


Recommended Posts

Has anyone seen this error before and how do I correct it. I'm also open to any other comments.

CLS

@echo off

ECHO.

ECHO Installing Windows XP Updates

ECHO.

ECHO Installing Framework Net 1.1....

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

ECHO.

ECHO Installing hu1002_per.exe...

start /wait %systemdrive%\install\xp_updates\hu1002_per.exe /Q:A /R:N

ECHO.

ECHO Installing Q322011...

start /wait %systemdrive%\install\xp_updates\Q322011_WXP.exe /Q /M /Z

ECHO.

ECHO Installing Q327979...

start /wait %systemdrive%\install\xp_updates\Q327979_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q810243...

start /wait %systemdrive%\install\xp_updates\Q810243_WXP_SP2.exe /Q /M /Z

ECHO.

ECHO Installing Q814995...

start /wait %systemdrive%\install\xp_updates\Q814995_WXP_SP2_x86_ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q322011...

start /wait %systemdrive%\install\xp_updates\Q322011_WXP.exe /Q /M /Z

ECHO.

ECHO Installing Q817778...

start /wait %systemdrive%\install\xp_updates\WindowsXP-KB817778-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q820291...

start /wait %systemdrive%\install\xp_updates\WindowsXP-KB820291-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Installing Q821253 Error Reporting Update...

start /wait %systemdrive%\install\xp_updates\WindowsXP-KB821253-x86-ENU.exe /Q /M /Z

ECHO.

ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...

start /wait DELUSER /Q aspnet

ECHO.

ECHO Deleting Temp Installation Files...

RD /S /Q %systemdrive%\Drivers

RD /S /Q %systemdrive%\install

ECHO.

ECHO Restarting the PC in 1 minute...

psshutdown.exe -r -t 60 -f -m "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.

EXIT

Link to comment
Share on other sites


the file deluser has to been in the %windir% for you to run it like that.

if its not make a folder called tools in your install folder place deluser in it and place this in your batch file:

ECHO Copying deluser utility...
COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\"
ECHO.
ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...
start /wait DELUSER /Q aspnet

The above code is from AaronXP's Unattended Site.

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