Thanatos Posted October 4, 2003 Posted October 4, 2003 When setup has finished, windows always asks for the admin password, i have this in winnt.sif[GuiUnattended]AdminPassword=passAutoLogonCount=1EncryptedAdminPassword=noOEMSkipRegional=1TimeZone="85"OemSkipWelcome=1After this first logon, i create my user account, apply autologon registry settings and everything works. I'd also like to know, would it be possible to open a command window and wait two minutes before closing it, so that the user could set up drive letters using drivepart and change the location of %programfiles%, and execute any other commands they wanted, because at the moment i have it hard coded into my reg tweaks, which doesn't always work.One last thing, at the moment, i have a drivepart script, so in my main_batch.cmd I have IF EXIST A:\Drivepart.cmd start /wait A:\drivepart.cmdBut if the script isn't in A:\, i get an error, the idea of it was to use a file to set up partition letters, but if the file didn't exist, use the default ones.Thanks for any feedback
scankurban Posted October 5, 2003 Posted October 5, 2003 [GuiUnattended] AdminPassword=* EncryptedAdminPassword=No AutoLogon=Yesor thisAdminPassword="pass" If this not present or empty.Setup always ask administrator password.line up EncryptedAdminPassword and try againSome registry tweaks working-inserting before first logon.For example I didn't change default theme at the begining.It always Luna.I hate luna...
Thanatos Posted October 5, 2003 Author Posted October 5, 2003 Ok, thanks for the info, i'll give it a go
devil270975 Posted October 5, 2003 Posted October 5, 2003 (edited) to get a command script to wait 2 minutes download the win2003 resouce kit and copy the sleep.exe file to your $OEM$\$$\system32 folder then use this command script {the reason i say copy it to there is that it will register it upon install of xp}CLS@ECHO OFFSLEEP 120EXIT / Or do other stuffif you dont want the whole resource kit then send me a pm with your email addy and i will send to youor you could simply write a sleep script using vbsopen notepad and type thiswscript.sleep 120000save as sleep.vbsin your command script add this linecscript "sleep.vbs" //t:125 //nologo Edited October 5, 2003 by devil270975
Thanatos Posted October 5, 2003 Author Posted October 5, 2003 Thanks, I'll get the whole resource kit. Any ideas about the other problem, i need a batch to check whether A:\drivepart exists, if it doesn, then run it, but if it doesn't, just ignore it and go onto the next part of the patch?
devil270975 Posted October 5, 2003 Posted October 5, 2003 @ThantosIF EXIST a:\drivepart.exe GOTO RUN_DRIVEPARTGOTO NO_DRIVEPART:RUN_DRIVEPARTdo stuff hereGOTO END:NO_DRIVEPARTdo stuff here:ENDEXIT
Thanatos Posted October 6, 2003 Author Posted October 6, 2003 Thanks, but it gives me the same error,cmd.exe - no diskThere is no disk in the drive. Please insert a disk into drive A::S
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now