Monkeymen Posted September 7, 2009 Posted September 7, 2009 (edited) Hello everone,I've been looking for a way to start WPI after an unattended installation of windows 7. I used the blog of cluberti to do it. This is what i've got so far. Windows 7 is fully unattended installed and WPI is running like a charm i've tested them both separately. My problem is that WPI won't start. After reading and searching i can't seem to find it, probely me . So this is my code that i created with MDT2010. I copied the xml directly its easier. <RunSynchronousCommand wcm:action="add"> <Credentials> <Domain>.</Domain> <Password>user123</Password> <Username>administrator</Username> </Credentials> <Order>4</Order> <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\WPI\WPItest.txt SETX AppzRoot %i: -m"</Path> <WillReboot>Never</WillReboot> <Description>SetCdromDrive</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Credentials> <Password>user123</Password> <Username>administrator</Username> <Domain>.</Domain> </Credentials> <Order>5</Order> <Path>cmd /c %AppzRoot%\WPI\WPI.hta /sAll /rs</Path> <Description>start WPI</Description> </RunSynchronousCommand>after the installtion i saw that it ísn't started so i checked %AppzRoot% and is was created as D: which is correct, so he should start D:\WPI\WPI.hta but het didn't. What should i do? Should i use firstlogoncommand or is RunSynchronousCommand ok? Edited September 7, 2009 by Monkeymen
Kelsenellenelvian Posted September 7, 2009 Posted September 7, 2009 This is for use with all versions of Windows Vista, Server 2008 and Windows 7!To make use of this archive all you need to do is unRAR it and place the Sources folder at the root of your CD.http://www.wpiw.net/downloads/sources.rarContents of the Sources archive:setupcomplete.cmd (This needs to be several folders deep so I preset the folders for you)
Monkeymen Posted September 7, 2009 Author Posted September 7, 2009 (edited) I already tried that one. I created an deployment with MDT2010 and WAIK 7 so my root looks a bit different. It only contains:[image link snipped]I also tried to place it in "\Deploy\$OEM$\etc...", but that didn't work either. Any other suggestions? Edited May 14, 2010 by cluberti Use your own images, don't link to ones from my server.
ICANIT Posted September 8, 2009 Posted September 8, 2009 Put your $OEM$ folder under your Images\install-() folder.to start WPI i call it from firstlogoncommand: <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>\\IC-DEPLOY\Clients\Install\wpi.cmd</CommandLine> <Description>WPI</Description> <Order>1</Order> <RequiresUserInput>true</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands>Works perfect.by the way, have you managed to get rid of the choicebox for country, timezone and keyb. ?? i can unattended make the selections, but box is still showing and I have to click next. (sorry for being off topic)
Monkeymen Posted September 8, 2009 Author Posted September 8, 2009 (edited) Ok i will try that , you have a share? I haven't got a path like that? But i see you did it in FirstLogonCommands.You can get ride of the boxes with customsettings.ini and bootstrap.ini here are mine.This link on technet helped me a lot http://technet.microsoft.com/en-us/library/bb490304.aspxIn help is a part cold "Providing Properties for Skipped Windows Deployment Wizard Pages" you can see what you need to set if you skip something.The one below is fully unattended, next time open a new topic, so things will will go the proper way.bootstrap.ini[Settings]Priority=Default[Default]_SMSTSOrgName=Monkey's unattended windows 7 x64 UltimateSkipBDDWelcome=YESand cutomsettings.ini[Settings]Priority=DefaultProperties=MyCustomProperty[Default]_SMSTSOrgName=Monkey's unattended windows 7 x64 UltimateOSInstall=YSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=YESAdminPassword=user123SkipProductKey=YESSkipBDDWelcome=YESSkipDeploymentType=YESDeploymentType=NEWCOMPUTERSkipComputerName=YESOSDComputerName=THUIS_PCSkipDomainMembership=YESJoinWorkgroup=WORKGROUPSkipUserData=YESUserDataLocation=NONESkipLocaleSelection=YESKeyboardLocale=nl-nl;0413;00000413UserLocale=nl-nlUILanguage=en-usSkipTimeZone=YESTimeZone=110TimeZoneName=W. Europe Standard TimeSkipBitLocker=YESBDEInstallSuppress=YESSkipSummary=YESSkipTaskSequence=YESBuildID=001SkipFinalSummary=YES Edited September 8, 2009 by Monkeymen
Monkeymen Posted September 8, 2009 Author Posted September 8, 2009 Ok i found the solution. In the RunSynchronousCommand i created this command. Be sure that there is a root\WPI\WPItest.txt file, there isn't anything in it. <RunSynchronousCommand wcm:action="add"> <Credentials> <Domain>.</Domain> <Password>m2rl33n</Password> <Username>administrator</Username> </Credentials> <Order>4</Order> <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\WPI\WPItest.txt SETX AppzRoot %i: -m"</Path> <WillReboot>Never</WillReboot> <Description>SetCdromDrive</Description> </RunSynchronousCommand>then i created this in FirstLogonCommands <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>%AppzRoot%\WPI\WPI.hta</CommandLine> <Order>6</Order> <Description>start WPI</Description> <RequiresUserInput>true</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>5</Order> <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine> <Description>weetniet</Description> </SynchronousCommand> </FirstLogonCommands>The reg must be done before you call the WPI.hta and RequiresUserInput=true. That did the job for me
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now