Jump to content

$winnt$ file problems


Recommended Posts

Hello,

After the installation of Windows i get an error that RunOnceEx.cmd can't be found in C:\install\RunOnceEx.cmd

But in my cleanup.cmd is writed to delete the folder: install

And when is searchd for folders and files i found: $winnt$

this file is in this folder: c:\windows\system32

I think this file calls RunOnceEx.cmd after it already is deleted.

I will ad the file so you can see what's in it.

Can somebody help me?

NukeLed

_winnt_.inf

Link to comment
Share on other sites


If you have a runonceex.cmd, you should make a file called cmdlines.txt under $OEM$ folder. Enter your runonceex.cmd entry into it. Like below.

[COMMANDS]
"RunOnceEx.cmd"

Insert your cleanup.cmd at the end of the runonce.cmd.

Link to comment
Share on other sites

$winnt$.inf is normal in sys32 directory.

You should have a this?

To run Cmdlines.txt during Mini-Setup

In the distribution folder, create:

%SYSTEMDRIVE%\Sysprep\i386\$OEM$

Copy Cmdlines.txt to the %SYSTEMDRIVE%\Sysprep\i386\$OEM$ folder.

In Sysprep.inf, add:

[unattended]InstallFilesPath = C:\Sysprep\i386

Run Sysprep.

Now runonceex should be in the same folder as cmdlines.txt. %SYSTEMDRIVE%\Sysprep\i386\$OEM$ folder. So, it should be found as it is in the same directory?

Your supplied file has this

[GuiRunOnce]
"%systemdrive%\install\RunOnceEx.cmd"

You do not need guirunonce to run runonceex?

And your cleanup.cmd should be in the same directory as well? This should be run from rununceex as the last entry.

Make sense?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...