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.

Trouble calling wpi.cmd

Featured Replies

I am having trouble with wpi.cmd not found after windows installs. I have tried everything i can think of and I just can't get it to run properly.....it worked with the previous version of wpi but, I switched to this one and I don't see the problem. Maybe I'm too close to the forest to see the tree i need! Here are my relevent cmds.....

I have wpi.ico, as well as all my wpi scripts and folders in the root directory like the attached image, as well...

WPI.cmd:

@ECHO OFF

REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%cdrom%

REM Hide this command window.
%wpipath%\Tools\cmdow.exe @ /hid

REM Force resolution to needed size for wpi interface.
start %wpipath%\Tools\VideoChanger.exe 1024x768x32@60 -q

REM Font installation - the smooth and customizable way.
start /wait %wpipath%\Tools\fonts\fontinstaller.exe

REM Special registry tweak needed.
regedit /s "%wpipath%\common\wpi.reg"
regedit /s "%wpipath%\common\regtweaks.reg"
regedit /s "%wpipath%\common\hackef_files.reg"

REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%cdrom%\wpi.hta"

REM Cleaning up the desktop.
del /s/q "%userprofile%\desktop\*.lnk"

REM Rebooting the sytem to finalize the installation process.
shutdown.exe -r -f -t 60 -c "To finish installations Windows will now reboot in 60 sec..."

exit

:end

Winnt.sif:

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
UnattendSwitch="yes"
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=10
OemSkipWelcome=1

[UserData]
ProductKey=*****-*****-*****-*****-*****
FullName="************"
OrgName="************"
ComputerName="**********"

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768
Vrefresh=60
Autoconfirm=1

[RegionalSettings]
LanguageGroup=1
SystemLocale=00001009
UserLocale=00001009
InputLocale=1009:00000409

[Networking]
InstallDefaultComponents=Yes

[Identification]
JoinWorkgroup=mshome

[Components]

msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off


[GuiRunOnce]

command1=%systemdrive%\DP\BTS_DPs_Control_Panels.cmd
command2=%cdrom%\WPI.cmd

Any suggestions would be greatly appreciated....I've searched but, I'm too tired to find the answer, I think!post-28534-1134356226_thumb.jpg

Place WPI.cmd in your $OEM$\$$\SYSTEM32 and call it from winnt.sif like so:

[GuiRunOnce]

"%systemroot%\system32\wpi.cmd"

For some reason a lot of people seem to have problems running wpi.cmd from the cd.

Edited by kelsenellenelvian

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.