Jump to content

KenKightly

Member
  • Posts

    15
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by KenKightly

  1. Thanks for the info, I will try this tool tonight and see if there is a manufactures tool to correct the problem. I don't normally give up on a problem, but I look at this as a very low priority task. I still have the drive sitting on my desk at home, and will work on it from time to time, but I have much bigger fish to fry at the moment. Thanks again for the info, I will let you know if this works.
  2. Well I don't believe I reached a write/read limitation, I was trying to be funny with that statement. Its a weird problem, the controller seems to behave properly, but you cannot re format or delete files from the stick. Files can be read just fine. Some sort of corruption may have occured, but it is odd that it cannot be re formatted. I have tried every utility I could find. I am not worried about it though, as it is no big deal, I just went out and bought a few more sticks. It is almost as if there is a read only switch turned on somewhere, but this drive does not have a physical read only switch, so it must have happened in the controller somehow. Ken.
  3. Yes I can understand the number of experiments performed. I have done a lot of work with Winpe and Ghost/imagex on USB flash drives, I am surprised I have not reached a read write max on some of them. Ken.
  4. Thanks for pointing me to this post. I did see this post, but haven't yet had time to try everything. I did try HP USB formater, winpe and diskpart. I will try on a different computer some other time. Today I went out and bought 3 more sticks, although I haven't gotten the install to work properly yet, I have not had any issues with the sticks. It may be that the stick I am having problems with is just dead. These things are made so cheaply these days, it wouldn't surprise me if it did. Ken.
  5. It appears that winsetupfromusb has killed my usb key. I have a 4gb data travler usb stick. I used the winsetupfromusb 0.2.3, and it didnt work, so I tried to create the usb key again, and now it gives me a read 7 error. I have tried using winpe diskpart to clean the usb key and I get a semiphore timeout. I try to use windows disk manager, and I get the error that the format did not complete. I cannot add or remove files from the usb key. My USB has become useless and is not even heavy enough to be a paper weight.
  6. Thank you for your reply. It was very helpful. Ken.
  7. Does anyone have a link to the licensing information that states what is mentioned above? I am working on a project for the general public that uses winpe, and would like to verify that winpe can be distributed in this manner. I would not be selling winpe I would be selling a solution that happens to use winpe as part of its process. Thanks for any help you can provide. Ken.
  8. Thanks Geezery. I noticed the ability to select the drive letter after I posted, so I changed my post. Thanks again the the great work you have put in to this. Ken.
  9. geezery, The latest version is awsome. I had to make one minor change, I had to change line 644 If cmdpc > 1 Then I had to change this to 2 for my setup. I guess the command window that I enter the cmd.exe /c mshta.exe z:\imagex.hta and the window that is opened for the hta count as more than one and I was getting the error to close a command window. There werent any windows for me to close without the application closing. Keep up the good work! Ken.
  10. I have gotten a lot of use out of this script, and modified it heavily for my own use. I really appreciate the work that’s been done here. On that note, I would like to contribute to this group. I have seen several posts where people have had issues using USB drives due to the nature of there dynamic allocation of a drive letter. I have a script that will find the drive letter of your USB drive, and change it to the drive letter of your choice. I have created this so I can run this script from my USB drive with the drive letter assign as Z:. There are a couple of prerequisites that need to be followed first. They have to do with the setup of the USB drive initially. My USB drive has 2 partitions. The first partition is a 1GB partition that holds the boot files for WinPE. The second partition holds the script and image files, and is 460GB. The 1st partition should be formatted as Fat32, and should be setup to boot your WinPE. The following article is a good one for this. (hint look for creating a UFD boot disk) http://technet.microsoft.com/en-us/library/cc709665.aspx Once you have the WinPE boot created, format the second partition using NTFS, and label the volume IMAGE This is important because the script looks for this drive by its volume label and gets the drive letter. The attached zip file contains 4 files. startnet.bat (this is an example and should not be coppied to your winpe windows\system32 dir.) getUSBLetter.bat (copy this to your WinPE windows\system32 directory) chgletter.txt (copy this to your WinPE windows\system32 directory) image.bat (copy this to your WinPE windows\system32 directory) What are the scripts doing. The first script is getUSBLetter.bat. This script uses a filesystem object to look at all “hard disks” on your system, then find the volume with the label of “IMAGE” it also sets the drive letter in the variable USB, which can be used in scripts. The second task of the script is to change the drive letter that it finds using diskpart. In my case I have a chgletter.txt file that I pass to diskpart that changes the %USB% to Z The third part of the script is basically the same as the first, and queries the drive again and resets the variable USB to the new drive letter. At the end of this bat file it calls image.bat file that will cd to the drive letter %USB% and starts the wizard.hta. I am sure there are better ways to achieve this, but this works well for me, and I haven’t seen any post here to help those users who are looking for a solution. I hope this is useful. Ken. getusbletter.zip
  11. I have gotten a lot of use out of this script, and modified it heavily for my own use. I really appreciate the work that’s been done here. On that note, I would like to contribute to this group. I have seen several posts where people have had issues using USB drives due to the nature of there dynamic allocation of a drive letter. I have a script that will find the drive letter of your USB drive, and change it to the drive letter of your choice. I have created this so I can run this script from my USB drive with the drive letter assign as Z:. There are a couple of prerequisites that need to be followed first. They have to do with the setup of the USB drive initially. My USB drive has 2 partitions. The first partition is a 1GB partition that holds the boot files for WinPE. The second partition holds the script and image files, and is 460GB. The 1st partition should be formatted as Fat32, and should be setup to boot your WinPE. The following article is a good one for this. (hint look for creating a UFD boot disk) http://technet.microsoft.com/en-us/library/cc709665.aspx Once you have the WinPE boot created, format the second partition using NTFS, and label the volume IMAGE This is important because the script looks for this drive by its volume label and gets the drive letter. The attached zip file contains 4 files. startnet.bat (this is an example and should not be coppied to your winpe windows\system32 dir.) getUSBLetter.bat (copy this to your WinPE windows\system32 directory) chgletter.txt (copy this to your WinPE windows\system32 directory) image.bat (copy this to your WinPE windows\system32 directory) What are the scripts doing. The first script is getUSBLetter.bat. This script uses a filesystem object to look at all “hard disks” on your system, then find the volume with the label of “IMAGE” it also sets the drive letter in the variable USB, which can be used in scripts. The second task of the script is to change the drive letter that it finds using diskpart. In my case I have a chgletter.txt file that I pass to diskpart that changes the %USB% to Z The third part of the script is basically the same as the first, and queries the drive again and resets the variable USB to the new drive letter. At the end of this bat file it calls image.bat file that will cd to the drive letter %USB% and starts the wizard.hta. I am sure there are better ways to achieve this, but this works well for me, and I haven’t seen any post here to help those users who are looking for a solution. I hope this is useful. Ken. getusbletter.zip
  12. My initial guess (because I've not tried it) is to create a CMD script file that launches Ghost32 with the image info and switches and then runs GhWalk32 afterwards - but then that would happen on EVERY image (which might be what you want.) I added a "tool" button at the bottom for running GhWalk32 manually. The tool button would be fine with me, Could you share your syntax? I keep trying, but Im messing something up and cant get it to run. Thanks Ken.
  13. I was wondering if someone could give me a hand. I am trying to modify this script to include running ghwalk32.exe /AV=All /sure after the imaging is complete. I am a total noob to vbscript, so everything I have tried fails. If someone can give me a little assistance, it would be greatly appreciated. Thanks Ken.
  14. Ok, now I have a real question. I need to create the links for the images with the share path, but that path doesnt exist on my server, so when I try to create a link with z:\dell\dell.gho for instance, it compains that it doesnt exist. Do I need to create a share somewhere from my server, and map it as Z: to create these? Any advice would be apreciated. Thanks Ken BTW, this is an awsome script.
  15. Please ignore this post, I cant seem to delete it. I found my problem, I was missing the Scripting in my winpe. I had HTA and XML, but was missing Scripting. Ken. I am having a bit of trouble that I hope someone can help straighten out. I have manage to load the wizard.hta with winpe, but when I do, all I see are the buttons and no text. Also the buttons do not function. when I load this on my computer, everything works properly. I have verified the correct directory paths. actually I just made my share z: to match the script. I am using winpe 2.0 (Vista) I was wondering if there are any special permissions that need to be set somewhere. I am logging in to the share as administrator. Thanks for any help you can provide. Ken.
×
×
  • Create New...