Jump to content

Recommended Posts

Posted

When setup has finished, windows always asks for the admin password, i have this in winnt.sif

[GuiUnattended]
AdminPassword=pass
AutoLogonCount=1
EncryptedAdminPassword=no
OEMSkipRegional=1
TimeZone="85"
OemSkipWelcome=1

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

But 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 :)


Posted

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=No

AutoLogon=Yes

or this

AdminPassword="pass" If this not present or empty.Setup always ask administrator password.

line up EncryptedAdminPassword and try again

Some registry tweaks working-inserting before first logon.For example I didn't change default theme at the begining.It always Luna.I hate luna...

Posted (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 OFF
SLEEP 120
EXIT / Or do other stuff

if you dont want the whole resource kit then send me a pm with your email addy and i will send to you

or you could simply write a sleep script using vbs

open notepad and type this

wscript.sleep 120000

save as sleep.vbs

in your command script add this line

cscript "sleep.vbs" //t:125 //nologo

Edited by devil270975
Posted

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?

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