Jump to content

doesn't start start.cmd, no access to $OEM$ folder


Recommended Posts

oké, little problem

During the setup my $OEM$ folder will be copied

when I first logon, I'll get a desktop without my start.cmd

It just won't run

When I run it manually, it gives all these errors with no access

also I see some tekst flying by from the Drivers folder?

anyhow.. I also can't start a program from C:\install

There's just no access :(

who can help me out of this mess??

Link to comment
Share on other sites


winnt.sif:

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates=yes

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   UnattendSwitch="yes"
   TargetPath=\WINDOWS
   Repartition=No
   FileSystem=*
   WaitForReboot="No"
   OemPnPDriversPath="audio;keyboard;lan;modem;monitor;mouse;printers;scanners"
   DriverSigningPolicy=Ignore

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=110
   OemSkipWelcome=1

[UserData]
   ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
   FullName="Name"
   OrgName=""
   ComputerName=*

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768
   Vrefresh=60

[RegionalSettings]
   LanguageGroup=1
   Language=00000413

[Identification]
   JoinWorkgroup=Werkgroep

[Networking]
   InstallDefaultComponents=Yes

[Components]
   msmsgs=off

[Shell]
   DefaultStartPanelOff=Yes

[GuiRunOnce]
%systemdrive%\install\start.cmd

winnt.bat

@rem SetupMgrTag
@echo off

rem
rem Dit is een voorbeeldbatchscript dat door Installatiebeheer is gegenereerd.
rem Als dit script is verplaatst van de locatie waar het is gemaakt, dient het mogelijk te worden aangepast.
rem

set AnswerFile=A:\winnt.sif
set SetupFiles=D:\i386

D:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang

start.cmd

CLS
@echo off
TITLE Windows XP SP2 - Unattended Installation

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO tweaks being implemented. The computer will restart automatically
ECHO once the whole process has finished!

ECHO.
ECHO Installing MSN Messenger 6.2
ECHO Please wait...
start /wait %systemdrive%\install\Programs\MsnMsgs.msi /qn


ECHO.
ECHO Installing Adobe Reader 6
ECHO Please wait...
start /wait %systemdrive%\install\Programs\AdbeRdr60_nld.exe  -p"-s /v\"/qn\""


ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\Tweaks\tweaks.reg

ECHO.
ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...
net user aspnet /delete


ECHO.
ECHO Restarting the PC in 1 minute...
shutdown.exe -r -f -t 60 -c "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.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\Drivers
RD /S /Q %systemdrive%\install

EXIT

My OEM folders are ok, I dubble checked it

Edited by SLipEdd
Link to comment
Share on other sites

u want to test you batch file is that correct?

put all those programs in your c:\install folder

run your start.cmd or whatever your using to start your batch commands.

??? wink wink

dont u want to use RunonceEX.cmd method? it is easier to do and troubleshoot.

http://unattended.msfn.org/xp/runonceex.htm

http://unattended.msfn.org/xp/runonceex_cd.htm

http://www.msfn.org/board/index.php?act=At...=post&id=232883

Link to comment
Share on other sites

u want to test you batch file is that correct?

put all those programs in your c:\install folder

run your start.cmd or whatever your using to start your batch commands.

??? wink wink

dont u want to use RunonceEX.cmd method? it is easier to do and troubleshoot.

http://unattended.msfn.org/xp/runonceex.htm

http://unattended.msfn.org/xp/runonceex_cd.htm

http://www.msfn.org/board/index.php?act=At...=post&id=232883

but after the normal setup when it's copied

I can't access files or run programs from it

isn't that a little strange

I check my hard disk with the diagnostic tool from seagate

it says my filesystem is a little F^*^&%*%ed up

But only the Install and Drivers folder is screwed..

I don't get it..

btw: I've tried RunonceEX.cmd method too, but on an other computer and stuff ;)

but I don't think it will make any difference because I can't fully access my OEM folders

Link to comment
Share on other sites

The problem is solved!

It was my fault all along!

The problem was, i've got an useraccounts.cmd

this batch file was wrong, so I got an limited account

That's why I couldn't access my files en run the batch file!

Stupid me :lol:

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