Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Howto start WPI after unattended W7 with MDT2010?

Featured Replies

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 by Monkeymen

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

Contents of the Sources archive:

setupcomplete.cmd (This needs to be several folders deep so I preset the folders for you)

  • Author

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 by cluberti
Use your own images, don't link to ones from my server.

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)

  • Author

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

In 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 Ultimate
SkipBDDWelcome=YES

and cutomsettings.ini

[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
_SMSTSOrgName=Monkey's unattended windows 7 x64 Ultimate
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=YES
AdminPassword=user123
SkipProductKey=YES
SkipBDDWelcome=YES
SkipDeploymentType=YES
DeploymentType=NEWCOMPUTER
SkipComputerName=YES
OSDComputerName=THUIS_PC
SkipDomainMembership=YES
JoinWorkgroup=WORKGROUP
SkipUserData=YES
UserDataLocation=NONE
SkipLocaleSelection=YES
KeyboardLocale=nl-nl;0413;00000413
UserLocale=nl-nl
UILanguage=en-us
SkipTimeZone=YES
TimeZone=110
TimeZoneName=W. Europe Standard Time
SkipBitLocker=YES
BDEInstallSuppress=YES
SkipSummary=YES
SkipTaskSequence=YES
BuildID=001
SkipFinalSummary=YES

Edited by Monkeymen

  • Author

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

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.