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.

Problem with GuiRunOnce

Featured Replies

Hi,

I dont know, where the problem is.

created a unattended xp cd (version: german)

on the cdrom is the directory:

\$OEM$\$1\install

\drivers

\<original windows cd + sp1a>

in the directory \$OEM$\$1\install is the file main_batch.cmd.

In the unattendet files -> winnt.sif is the entry:

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

befor the Win XP finish, execute normale the file %systemdrive%\install\main_batch.cmd it this correct ? but i became a failed message on the screen... dont find the file c:\install\main_batch.cmd... why its so ???

can anyone help me ?

thanks

Negerle


Check that you have saved your batch file as batch.cmd and not batch.txt or batch.cmd.txt. Its a common mistake to make.

Make sure yousved it wiht the cmd ending and not the txt ending. If you dojnt have this set in your visual settings windows will not show you the ending of your files.

Make sure yousved it wiht the cmd ending and not the txt ending. If you dojnt have this set in your visual settings windows will not show you the ending of your files.

beat you :)

  • Author

hi,

im surely the file called main_batch.cmd ... not main_batch.cmd.txt

i think the directory \$OEM$\$1\install\main_batch.cmd is wrong to call %systemdrive%\install\main_batch.cmd.

"CDROM:\$OEM$\$1\install" = "%systemdrive%"

It dont work !!

Negerle

%systemdrive% = <drive where you installed windows>

The batch files arent supposed to run until windows itself has been fully installed.

If the error you are getting tells you that it cant find the file, it means there must be a typo there somewhere.

Have you tried double clicking the batch file, and seeing if it runs correctly ?

  • Author

Hi,

When die Windows install finished, and i go on the cdrom in the directory \$OEM$\$1\install\ and double click the file ... dont work - error message .

Its the same error, who start the batch from winnt.sif (GuiRunOnce).

I dont think it work when i start the batch manual, the batch file is in the Directory $OEM$\$1\install. the windows copy the $OEM$\$1\install to %systemdrive%\install but i think the copy its not korrekt.

I readed same of posts, i dont know what i make false.

I have a full unattent install but i must choose the partition and in the ending of installing choose the username.

mybe is this the error ???

thanks for the help

negerle

You are getting an error because you are trying to run it off the CD.

If you have the batch file in the GUIRUNONCE section of your winnt.sif file, make sure that the files in the $OEM$\$1 directory are being copied to the \install directory on %sytemdrive%.

For example. If you have placed your batch file in $OEM$\$1\Install on your CD, they will automatically be copied to your %systemdrive%. Check that the paths in your winnt.sif file are consistant to that of your actual directory structure.

  • Author

im surley the file main_batch.cmd ist in the directory on

CDROM:\$OEM$\$1\Install\main_batch.cmd

the path in the winnt.sif file is %systemdrive%\Install\main_batch.cmd

but the Installing of Windows dont find the %systemdrive%\Install\main_batch.cmd.

mybe the copy from CDROM to %systemdrive%\Install dont work ??

it this possible ?

Negerle

is OemPreinstall=Yes in [unattended]?

  • Author

the $OEM$ is place on my cd.

is OemPreinstall=Yes in [unattended]? --> im not surely i think i have no (im at work)

when i have no in the Unattendet file is this false ?

negerle

when its on "No", it won't copy the contents of your $oem$ directories to the relevant directories on the system drive. This might explain why you're getting file not found errors.

i had this problem too, you MUST create the $OEM$ directory inside i386

if you don't do this, you must specify the path to $OEM$ in your unattended answerfile

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.