Problem :
in setupcomplete.cmd
i added some scripts that launches exe from windows installation media pendrive source
it says no usb found. (installation drive).
2nd imp point .. I want to launch some files from the installation media pendrive only when the user sees the 1st desktop.
Notice:
I truly noticed that , windows 10 installation is self ejecting itself (installation media pendrive) after 1st restart. After [installing windows files 100% complete] .
or 2nd restart before setupcomeplete starts
Tests:
script says drive not found. also tested with startup commands. It also can't detect the installation drive after I see the 1st desktop.
Also, I cant see my installation pendrive after clean windows @ 1st user desktop.
nowhere it shows (in device managers, diskpart, windows explorer nowhere it shows. also there is no yellow sign in device manager).
i also start diskpart in setupcomeplete there is no drive or volume that contains windows setup installation /usb drive.
manual solution1:
if i simply plug and unplug installation pendrive.then it shows in explorer..
manual solution2:
One more thing.. if i use the second pendrive while installing then it detects the 2nd pendrive
(@setupcomple @ startup batch @ i see 1st desktop.)
then 1 st desktop I only see my 2nd pendrive. not windows installation pendrive.
I Want automatic solution without using two pen drives or using another drive.
Question:
is there any feature in ntlite to prevent self ejecting windows drive while installing windows???
or give me any script to replug installation media automatically.
any batch cmd or c,c# code
Please, this is the vip thing I'm facing.
I just want to load files from usb drive only (installation media drive) and dont want to use two pen drives or manually putting it back while setupcomplete starts.
i dont want to replug it throgh pid name or hardware id. becuase i uses random pendrives..
Thanks alot for past help !!!!!!!!!!!!
in setupcomplete.cmd
i added some scripts that launches exe from windows installation media pendrive source
it says no usb found. (installation drive).
2nd imp point .. I want to launch some files from the installation media pendrive only when the user sees the 1st desktop.
Notice:
I truly noticed that , windows 10 installation is self ejecting itself (installation media pendrive) after 1st restart. After [installing windows files 100% complete] .
or 2nd restart before setupcomeplete starts
Tests:
script says drive not found. also tested with startup commands. It also can't detect the installation drive after I see the 1st desktop.
Also, I cant see my installation pendrive after clean windows @ 1st user desktop.
nowhere it shows (in device managers, diskpart, windows explorer nowhere it shows. also there is no yellow sign in device manager).
i also start diskpart in setupcomeplete there is no drive or volume that contains windows setup installation /usb drive.
manual solution1:
if i simply plug and unplug installation pendrive.then it shows in explorer..
manual solution2:
One more thing.. if i use the second pendrive while installing then it detects the 2nd pendrive
(@setupcomple @ startup batch @ i see 1st desktop.)
then 1 st desktop I only see my 2nd pendrive. not windows installation pendrive.
I Want automatic solution without using two pen drives or using another drive.
Question:
is there any feature in ntlite to prevent self ejecting windows drive while installing windows???
or give me any script to replug installation media automatically.
any batch cmd or c,c# code
Please, this is the vip thing I'm facing.
I just want to load files from usb drive only (installation media drive) and dont want to use two pen drives or manually putting it back while setupcomplete starts.
i dont want to replug it throgh pid name or hardware id. becuase i uses random pendrives..
Thanks alot for past help !!!!!!!!!!!!
Last edited: