ntlite copy files

Pcgamer27

Member
Messages
168
Reaction score
1
I have a question, is there a way in ntlite that you can copy files directly in windows without having to change the image every time?
 
If I understood it correctly, you would like a directory copy and manually change the files on the ISO/USB, or you want a command that runs something from a partition on a fixed drive of that machine?

In the case of first, to copy a directory add some to the image and change its Mode to External (ISO), and choose final destination on the right.
That way it will create a directory under the ISO \Sources\$OEM$\... which gets deployed where instructed.
Find it there on the ISO/USB and change files manually - no need to edit WIM image.

If you wanted a command, you can add commands, but it's tricky to guess fixed drive partition letter, needs some testing or a for loop.
 
If I understood it correctly, you would like a directory copy and manually change the files on the ISO/USB, or you want a command that runs something from a partition on a fixed drive of that machine?

In the case of first, to copy a directory add some to the image and change its Mode to External (ISO), and choose final destination on the right.
That way it will create a directory under the ISO \Sources\$OEM$\... which gets deployed where instructed.
Find it there on the ISO/USB and change files manually - no need to edit WIM image.

If you wanted a command, you can add commands, but it's tricky to guess fixed drive partition letter, needs some testing or a for loop.

Yes, I want to copy files from \Sources\$OEM$\ to the installed Windows so that the image is clean and if you unmount it you don't lose everything so that it is only in the ISO, also other versions.
 
OK, if you apply it once as described above to create the folder once, you can manipulate the content of that folder manually and copy it to future images.
 
OK, if you apply it once as described above to create the folder once, you can manipulate the content of that folder manually and copy it to future images.

I created this folder \Sources\$OEM$\. How can I get it to a specific location in Windows so I can apply it to ISO images?
 
Please use the forum's Search function, there are plenty of previous explanations.
 
I created this folder \Sources\$OEM$\. How can I get it to a specific location in Windows so I can apply it to ISO images?

isn't there a command for \Sources\$OEM$\ to copy a directory file from there to the windows folder of the new installation
 
Mod Note: Merging duplicate threads.

I have several files in \Sources\$OEM$\ and I want to copy them to all versions of Windows 11. Does anyone know how to do this?
 
Last edited by a moderator:
Please use the forum's search. It is far easier and less annoying than spamming the same question 5 times ;)
 
This is how i handle the $OEM$:
I create a workfolder "Integrate", a subfolder "sources", a subfolder "$OEM$", then subfolders "$1" and "$$".
Put your "files-to-copy" into that folder, create subfolders if needed.

$OEM$

├── $$ → Copies files to %SystemRoot% (usually C:\Windows)
│ ├── System32 → Goes to C:\Windows\System32
│ └── ...

├── $1 → Copies files to the root of the system drive (C:\)
│ ├── Drivers → C:\Drivers
│ └── Tools → C:\Tools

├── $$\Setup\Scripts → Special folder for scripts executed during setup
│ ├── SetupComplete.cmd → Runs after Windows Setup finishes (before login)
│ └── FirstLogonCommands in unattend.xml can also point here

If i want to use this i copy this folder into my NTlite-workfolder (extracted ISO). Everything will be copied automaticly while install.
Works from XP to today, even in MDT and WDS.
 
Last edited:
Back
Top