New
#61
>>Whatever text editor is your favorite- it just needs to be able to pop open that file and write to it. I use Notepad++, but that's just me.
>>I don't think you'll have problems writing your script- for the most part you can literally just copy down the commands you typed in WinPE to the script (why I recommended writing them down as you went). Only a few things (like the disk formatting will need to be automated with a separate script). Refer back to my earlier posts where I posted some scripts. I *think* I put an example in there that has disk formatting, but I can't remember.
>>I'm generally going to say- I can help with this. There is some documentation out there, and allow me a few moments to go out and see if I can't find some websites out there that I used.
>>If you're out seeking information yourself, you might want to search 'writing a batch file' (since batch is the "scripting language"). Batch is fairly easy as it is generally just going to be what you typed in WinPE's command prompt.
You might also want to search 'How to <whatever you want to do> in a batch file'
True that. From what I can tell, the TechNet site seems to be geared more towards people using Microsoft developed products and the MSDN site seems to be geared towards those actually helping develop products and services using the Microsoft platform. Naturally, there's some overlap there I suppose.
Technet article about mounting and modifying WinPE:
(has a 'Add customizations ' section):
WinPE: Mount and Customize
Some basic stuff about writing batch files:
How To Write A Simple Batch (.bat) File
Diskpart in a batch:
Diskpart Batch File
Diskpart Scripts and Examples
I think that should be the basics in getting started with this. It should be fairly easy to get started, you'll probably just need to play around with it or whatever your way of learning new things is.
I can also answer questions regarding the script portion of this.
That's a great observation. MSDN is the Microsoft Developer's Network and is geared towards people trying to create new things for existing Microsoft products. This is for people like software developers, etc...
Technet is generally the documentation and whatnot geared towards 'IT professionals' (as Microsoft calls them). People who work somewhere and are using a Microsoft product or resource to accomplish something (more commonly in the business/ enterprise world) and need documentation or assistance in how to use that product or resource. Technet seems to be what I use the most at work when you're stuck with something.
Random, but still somewhat relevant question: I noticed that if I try to create a new working copy of WinPE by using the appropriate Dism copype command, it won't let me. It throws than error in the Deployment and Imaging Services Command Console that says "Error: Destination directory exists: <location of WinPE"
Does this mean that once you copy it once, the Deployment and Imaging Services stores it somewhere (like coping to a clipboard or something) so that you don't have to copy it again? Or does it only do this until I try to copy some other file and then it will overwrite it?
The main problem with not unmounting is file permissions to both the mount directory and the image itself. It is not all and entirely necessary to unmount- all you need to do to make sure your changes are saved is commit the changes to the image. I assume that when your doing this you wont be deleting or moving the WinPE files on your ADK computer until you're done. When you're totally done with this is when you'll want to unmount (or you can just un- and re- mount each time you modify the WinPE image). I feel its more convenient to just commit without unmounting when you're testing and repetitively modifying WinPE.
**>I've done this both ways and have had total success with both.