pmcx9 Posted October 4, 2003 Share Posted October 4, 2003 I have found with my unattended CD that the user I create subsequently finds this message appearing not initially but a few weeks later.Wondered if others have had a mature unattended installation give this?I know how to manually change this but wondered if anyone knew the setting in winnt.sif I guess that will enable the "password never expires" option. Link to comment Share on other sites More sharing options...
Thanatos Posted October 4, 2003 Share Posted October 4, 2003 Thats strange, I use a script that runs in GUIRUNONCE, it adds me as a user, adds some basic reg tweaks (autologon etc), then extracts all the files needed for install, and installs hotfixes, then it creates another script to run on 2nd boot. See if you can make any sense of it ...CLSECHO.ECHO Installing sofware applications, windows updates, and registryECHO hacksECHO Adding Default User...net user Thanatos /addnet localgroup Administrators /ADD Thanatos;your code in here...ECHO Setting up second boot...COPY "systemdrive%\install\2boot.cmd" "%allusersprofile%\Start Menu\Programs\Startup"ECHO Restarting the PC in 1 minute...shutdown.exe -r -t 60 -f -c "Restarting in one minuteDEL %SYSTEMDRIVE%\install\main_batch.cmd > NULThen in 2boot.cmd i have this...CLS;your code hereECHO Starting Application batch...start %systemdrive%\install\applications.cmdDEL %SYSTEMDRIVE%\install\2boot.cmd > NULHope that helped Link to comment Share on other sites More sharing options...
GreenMachine Posted October 4, 2003 Share Posted October 4, 2003 NET ACCOUNTS /MAXPWAGE:UNLIMITEDThis changes the Maximum Password Age to something like 49000 days. Link to comment Share on other sites More sharing options...
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