styxx_78 Posted November 8, 2006 Share Posted November 8, 2006 Hi guys,I have been using previous versions of WinPE for a while in our corporate environment but am now looking into upgrading our deployment tools to WinPE 2.0Currently we have a .hta that launches and provides a menu of choices where a technician may log on to the domain and launch installs of XP SP2 and additional applications.I have created a basic WinPE 2.0 from the Winpe.wim as per the following instructions:Customizing WinPE 2.0I was successful in creating a ISO image with no extra drivers or packages that booted without error. I then tried creating a WinPE disc with the following packages: HTA, SRT, Scripting. This ISO also booted without error.On my 3rd try I re-created the disc with the above packages and added my .hta menu to the STARTNET.CMD. When my disc booted up the menu launched but did not have the proper menu button names and I received multiple error windows with no error information in it.The dialoague was to say "Yes" or "Cancel" but neither option would close the window. At this point, non of the other windows were accesible even though they were tiled and you could see them. Basically it was frozen and nothing could be done.Has anyone else tried adding a .hta to your disc and were you successful? I am going to try and adding all of the other available pack-in packages and see if that helps.Any other suggestions?styxx Link to comment Share on other sites More sharing options...
SoultakerPT Posted November 28, 2006 Share Posted November 28, 2006 (edited) I'm having a different problem. After WinPE launch, I map a network drive and when trying to lauch HTA I get an "Access Denied" error.When launching a vbs from that network drive I get de "Access Denied" error again. But...if I try to launch the vbs using the command wscript vbs than it works!Any ideas about this "Access Denied" error?[EDITED]Sorry, my mistake, after launching the HTA using mshta.exe htafile the problem is solved. Edited November 28, 2006 by SoultakerPT Link to comment Share on other sites More sharing options...
styxx_78 Posted November 30, 2006 Author Share Posted November 30, 2006 I was able to load my local HTA that I put on my WinPE CD. But after mapping a drive on the network and trying to load another HTA I also get the "Access is denied" error.I tried to use the command mshta.exe <htaname> but nothing happened, although there was no "Access is denied" was not returned either.Any other thoughts? Link to comment Share on other sites More sharing options...
SoultakerPT Posted November 30, 2006 Share Posted November 30, 2006 It may be happening because the lack of additional packages in the winpe.wim file.Because of the code I had on my HTA file I needed to install WinPE-WMI-Package and WinPE-XML-Package.And then everything worked just fine. Link to comment Share on other sites More sharing options...
mlody11 Posted February 2, 2007 Share Posted February 2, 2007 I've noticed that Win PE 2.0 doesn't like to execute files in diffrent locations other than it's own windows directory. Try copying the file to the local windows directory first and then run it. Link to comment Share on other sites More sharing options...
ubernerd Posted February 2, 2007 Share Posted February 2, 2007 If you try to execute the HTA using an UNC path, you'll most likely get an access denied error, but if you map a drive letter to the path it will work. Link to comment Share on other sites More sharing options...
Jazkal Posted February 3, 2007 Share Posted February 3, 2007 (edited) removed Edited February 3, 2007 by Jazkal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now