A question about Run Before Login

RBCC

Member
Messages
37
Reaction score
0
First of all where do I put a batch file to run before Login?
Second How do I put it in Run Before Login?
it will be in batch[Bat] file formal ?
here is the contents of the batch file:

Can I run a batch file with:

(
select volume C
assign letter=C
select volume E
assign letter=A
select volume F
assign letter=U
select volume G
assign letter=T
select volume H
assign letter D
)
In it?
TIA
 
Create a new PowerShell script and run it from Post-Setup (Before logon):

RenameDrives.ps1
Code:
Get-Partition -DriveLetter E | Set-Partition -NewDriveLetter A
Get-Partition -DriveLetter F | Set-Partition -NewDriveLetter U
Get-Partition -DriveLetter G | Set-Partition -NewDriveLetter T
Get-Partition -DriveLetter H | Set-Partition -NewDriveLetter D
 
Yes where does the batch file have to be put so that Post-Setup (Before logon) see it in $OEM$\$$\$\Batches?
can I make a PowerShell into an executable File? and run that through Post-Setup (Before logon)?
 
If you add any executable or script file (.exe, .bat, .cmd, or .ps1) from Post-Setup, NTLite automatically copies it into an $OEM$ staging folder on the ISO and takes care of those details.

You don't need to use $OEM$ folders yourself, unless you're doing manual additions outside of NTLite.
 
Back
Top