bluelou Posted August 25, 2004 Posted August 25, 2004 I wonder how i am supposed to run *.vbs files in PE. I have copied both cscript.exe and wscript.exe from an windows xp computer into the system32 on the PE source. It runs the csript.exe file, but when typeing; cscript.exe file.vbs I get that .vbs in an unknow extension???? This does not happen with the same file in Windows XP. What is the reason..Another question is. WHen PE loads is starts the Factory -winpe. Then I have to choose quit to get to the command promt. How can u automaticly go to command promt without choseing Quit?? BlueLou
likuidkewl Posted August 25, 2004 Posted August 25, 2004 To use .vbs files you need to run the buildoptionalcomponents.vbs, and to not load factory.exe you need to edit the statnet.bat and delete the factory switch if you want to for some reason. You need it for networking though.
bluelou Posted August 25, 2004 Author Posted August 25, 2004 Thnx for ur reply. But It must be possible to fully automate a winpe boot and still have a network connetion. I mean I want to skip the "quit" part of it to get to command promt.I need to be able to run .VBS based scripts to for instance read the certain values from the hardware. Like the computer modell type. The reason I need this is to created a major corp. deploy for win xp. ..( I need to create a variable in that is %machinetype% and use it to copy only those drivers to the local PnP Path. For instance if u have an toshiba Tecra M2, the modelltype would be tecra m2. and the PnP path would be \drivers\%modelltype%\.... It would be hopeless to manage a solution where u have like 100 different laptops and desktops. Just imagine the size of the dirver folder)
likuidkewl Posted August 25, 2004 Posted August 25, 2004 Seems to me like your factory settings are screwed up in the startnet.cmd. It should be factory -minintThe VBS support will be added when using buildoptionalcomponents.cmd look for the documentation in the OPK.chmAlso what version are you using?If you could ost up your startnet.cmd that would help and also have you modified the setupreg.hiv file in anyway?
bluelou Posted August 25, 2004 Author Posted August 25, 2004 I am useing version 1.2 Not modified any cmd files at all. Or any reg files eitherI am runnin PE over RIS server. (followed the ms blueprint)I am running with the -minint swith (which I belive is default).BlueLou
mbouchard Posted August 25, 2004 Posted August 25, 2004 I have used Factory -WinPE before with no prompting at all. What is the title of the window that you need to choose quit on to get to the command prompt?Mike
likuidkewl Posted August 25, 2004 Posted August 25, 2004 Have you tried rebuilding the PE iso. I honestly have not had any issues with it I rebuilt mine and it worked fine. What version have you built it with?
wrecklesswun Posted September 18, 2004 Posted September 18, 2004 try running the oc or oc2.bat files which will register the necessary dll files for vbs support and hta support...
Michael_W Posted September 18, 2004 Posted September 18, 2004 For the pop-up that asks you to quit, reboot etc, check out my tutorial earlier this month:http://www.msfn.org/board/index.php?showtopic=27313 Regards,Michael
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now