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.

Batch file error after logging

Featured Replies

I have tried searching on this topic before posting to find anything similar, apologies if I have missed it.

The problem that I am having with my unattended installation has to do with the .cmd batch file that installs the regtweaks, applications, etc..

and its named: start.cmd. This is what it looks like:

CLS

@echo off

TITLE Windows XP Professional Service Pack 2 - Unattended Installation

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO tweaks being implemented. Your computer will restart automatically

ECHO once the entire process has completed.

ECHO.

ECHO Installing Microsoft JavaVM - Build 3810 (Repacked)

ECHO Please wait...

start /wait %systemdrive%\install\JavaVM\MSJavaVM_3810.exe

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Your computer will now restart in one minute. This will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart."

I followed the guide thoroughly, and placed the batch file here:

C:\XPCD\$OEM$\$1\Install

And on the WINNT.SIF file, I added this:

[GuiRunOnce]

%systemdrive%\install\start.cmd

I went ahead and tested the installation on Virtaul PC, and after logging on for the first time, I get an error saying that it could not find the batch file: C:\Install\start.cmd. ((Which is the one I created.)Therefore, I cannot do the regtweaks, apps, etc.. I am wondering why this happened, should I place the batch file somewhere else, or what? I hope I'm not missing any more info. Thanks.


Everything seems fine to me. Perhaps you did a typo or it's a Virtual PC glitch.

Is OemPreinstall = Yes in Winnt.sif ?

  • Author
Is OemPreinstall = Yes in Winnt.sif ?

It's set on no right now, is that the reason why?

Need to change it so files are copied to HD, then cmd will be found.

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.