SUCCESS: Auto-Eject of the CD after Shutdown/Reboot
#1
Posted 27 September 2007 - 08:27 AM
in 2006 I built a XP-BartPE-CD.... and I was able to insert an auto-eject for the CD-Medium after I shutted down / rebooted the Livesystem
Is there a possibility in VistaPE for this???? I didnt find it.......
If anyone could help... it would be great........
#2
Posted 27 September 2007 - 10:05 AM
the bartpe + ubcdwin used shutdown.exe /reboot /eject command
http://paraglidernc....ns/shutdown.htm
I think this is also nice to have in vistape
i will test this and i try to build script to build this into the startmenu.
regards
steel
#3
Posted 15 February 2008 - 08:38 AM
after having posted this in 2007, I am asking this again:
Is there meanwhile a possibility to realize an autoeject-funktion after that VistaPE shuts down?
#4
Posted 20 February 2008 - 08:19 AM
Is there meanwhile a possibility to realize an autoeject-funktion after that VistaPE shuts down?
BS Explorer 2.0.0.1 can eject CD during shuts down, this version included in VistaPE v.12, but i not test eject function... why you can not eject it manually?
#5
Posted 19 March 2008 - 08:29 AM
BS Explorer 2.0.0.1 can eject CD during shuts down, this version included in VistaPE v.12, but i not test eject function... why you can not eject it manually?
Hello NightMan,
surely I CAN eject it manually..... but I am going to build a Live-CD with several commercial programs and also data that is not meant for everybody.... the thing is:
If the CD would eject automatically I will be "reminded" to take the CD with me, after having worked at someone's workstation... so the thing is:
I must not forget the CD in the PC....... ))
I know, that with BartPE-Builder an auto-eject-function works..... but I want to use Winbuilder and VistaPE........
#6
Posted 19 March 2008 - 08:55 AM
you can build small apps to do it
i use Autoit.
http://www.autoitscript.com/forum/index.ph...;eject+cd\
http://www.autoitscript.com/forum/index.ph...;eject+cd\
just compile put to sys in own PE compilation and go
Regards
#7
Posted 19 March 2008 - 09:44 AM
st-dv
you can build small apps to do it
i use Autoit.
http://www.autoitscript.com/forum/index.ph...;eject+cd\
http://www.autoitscript.com/forum/index.ph...;eject+cd\
just compile put to sys in own PE compilation and go
Regards
Hello IXXI,
thank you for that link....... but I think that my knowledge is not enought for beeing able to to that.........
Do YOU - perhaps - already have built such a script for VistaPE?
I would be so thankful if I could use it....
#8
Posted 20 March 2008 - 01:17 PM
we have old utils call eject.exe and i take it compile in to me.exe, check drive name and open it
in attach you will find one cdo.exe just put it in windows\system32 or to own super dir in PE.iso and from console just type cdo.exe
Check it and let me know.
Btw about the script, hmm i dont have idea about this maybe we dont need script to add it to PE just test if its ok we can play with script
Cheers
Attached Files
#9
Posted 20 March 2008 - 01:40 PM
http://www.tutorials...ectLoad-DVDROM/
And these ones are as well worth a try:
http://www.softpedia...ous/Eject.shtml
http://www.wineject....features.en.php
http://www.kohnos.net/tools/tools.html
http://www.kohnos.ne...tools/eject.exe
jaclaz
#10
Posted 20 March 2008 - 05:57 PM
well, after small play with it its looks like standard cdTray open dont want to play under PE ) but i find other funny way to open it under pe
we have old utils call eject.exe and i take it compile in to me.exe, check drive name and open it
in attach you will find one cdo.exe just put it in windows\system32 or to own super dir in PE.iso and from console just type cdo.exe
Check it and let me know.
Btw about the script, hmm i dont have idea about this maybe we dont need script to add it to PE just test if its ok we can play with script
Cheers
Okay, when I run the ocd.exe in HOST-System my CD-Drive ejects.... but that could not work in VistaPE, because the OCD runs from CD, or do I not understand right?
#11
Posted 20 March 2008 - 07:15 PM
no no noOkay, when I run the ocd.exe in HOST-System my CD-Drive ejects.... but that could not work in VistaPE, because the OCD runs from CD, or do I not understand right?
i write cdo.exe and now its working under PE tested on VistaPE 2.0 from USB stick.
If you include cdo.exe to boot.wim its will be start from RAM so its will be ok.
Add it boot.wim and check.
Ragards
#12
Posted 20 March 2008 - 07:43 PM
...
I must not forget the CD in the PC....... ))
I know, that with BartPE-Builder an auto-eject-function works..... but I want to use Winbuilder and VistaPE........
This is very true - already lost count how many times I've forgot about the CD on the drive after working on some machine somewhere.
This would be a good feature indeed!
-----------
lxxl:
[portuguese]
Bem vindo aos fórums, se precisares de ajuda nalguma coisa avisa!
[/portuguese]
[english]
Welcome to the forums, if you need any help let me know!
[/english]
#13
Posted 21 March 2008 - 08:29 AM
running the cdo.exe from Ram ("Boot-Drive", I copied the EXE into system32-folder) the CD-Drive ejects........
And now?
How do we AUTO-eject it after pressing the Reboot / Shutdown - Button ??
#14
Posted 21 March 2008 - 09:43 AM
#15
Posted 21 March 2008 - 09:59 AM
now its time to digg in PE to add execute cdo.exe to some turn OFF script or something ;D
Okay.... I will try a little bit........ but I know that I am not good enough to find out that..... I' m not a programmer.... just a user.....
There are these buttons "shutdown" and "reboot" in VistPE-Startmenu...... I think they are in "Explorer-Vista-Shell-Script"....
But I think that I can not do that..... it is a little bit too difficult for me..... but I will try.....
#16
Posted 25 March 2008 - 11:25 AM
did you pass it ?Okay.... I will try a little bit........ but I know that I am not good enough to find out that..... I' m not a programmer.... just a user.....
There are these buttons "shutdown" and "reboot" in VistPE-Startmenu...... I think they are in "Explorer-Vista-Shell-Script"....
But I think that I can not do that..... it is a little bit too difficult for me..... but I will try.....
i just back from holidays, and i have better idea i can mix wpeutil shutdown command with cdo.exe and by starting cdo.exe you will have eject and shutdown
lxxl
#17
Posted 26 March 2008 - 08:17 AM
did you pass it ?
i just back from holidays, and i have better idea i can mix wpeutil shutdown command with cdo.exe and by starting cdo.exe you will have eject and shutdown
lxxl
Hello,
no I didn't....... I am not familiar enought with these things...
Because the Shutdown/Reboot Shortcuts are integrated in the "explorer-shell-script" I think...... I cant do that.....
Have you a solution?
#18
Posted 26 March 2008 - 02:55 PM
ok try this one shutdown.exe
auto open cd and after 1 sec shutdown system
Regards
Attached Files
#19
Posted 27 March 2008 - 10:21 AM
hi st-dv
ok try this one shutdown.exe
auto open cd and after 1 sec shutdown system
Regards
Hello,
I am sorry but the shutdown.exe does not work..... I copied it to "programs-folder" in "boot-partition" (RAM)...... made a shortcut to desktop..... the pc shuts down..... but no eject.....
Did I understand something wrong? I tried it with Virtualbox, VMware (with a real CD) and at my host-PC with a real burned CD........
#20
Posted 27 March 2008 - 10:25 AM
i test it on NB and i make small mistake on normal PC we need more time to open door
i will rewrite code to wait for CD door open and shutdown
give me a sec
#21
Posted 27 March 2008 - 10:30 AM
its normal desktop pc ? or notebook ?
i test it on NB and i make small mistake on normal PC we need more time to open door
i will rewrite code to wait for CD door open and shutdown
give me a sec
Okay.... it is a notebook.... could not try it on a desktop-pc........ I also think that the problem is, that VistaPE shuts down "too fast".....
#22
Posted 27 March 2008 - 10:39 AM
wait time before shutdown = 5sec
check and let me know
Attached Files
#23
Posted 27 March 2008 - 10:42 AM
check this one
wait time before shutdown = 5sec
check and let me know
Okay,
I am going to pause now stopping working for 20 minutes.... after that I will try out the file.... and tell you........ thank you till now....
#24
Posted 27 March 2008 - 11:48 AM
Okay,
I am going to pause now stopping working for 20 minutes.... after that I will try out the file.... and tell you........ thank you till now....
It did not work. The System shuts down after a few seconds.... but the CD does not eject..... on the other hand.... when executing your CDO.exe separatly the CD ejects......
A question: What did you do with that shutdown.exe? I just have to copy it to somewhere in ram, make a shortcut and execute it, or not?
#25
Posted 27 March 2008 - 12:38 PM
It did not work. The System shuts down after a few seconds.... but the CD does not eject..... on the other hand.... when executing your CDO.exe separatly the CD ejects......
A question: What did you do with that shutdown.exe? I just have to copy it to somewhere in ram, make a shortcut and execute it, or not?
No no no.... forget it...... I T W O R K E D !!!!!!!!!
super, thank you.... so the shutdown.exe worked.... now how do I realize the restart?
And how would it be possible to use different icons (the red and green ones) for my shortcuts?
Then I would be really really happy.....
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users