As shown in the image above to enter the WinPE system to open My computer to see the screen, we can find that the U disk has been occupied by the C disk, and the system disk (that is, the usual C-disk) of the letter is D. Today you start a small set to teach you how to prevent the U disk from consuming other disk letter.
Method One:
1. Create a new TXT text document in the U disk, and then enter the following two lines of characters in the document (the red word on the right is a comment and no input is required)
SUBJ%curdrv%//Delete the original USB disk letter
Show R:1,u//u disk new allocation letter for u:
2. Rename the text document to "Changeusb.ini" (the suffix must be. INI),
3. Open My Computer under the PE system, locate and open the Pecmd.ini file (this profile can usually be found in the SYSTEM32 folder). Add a line of the load command to the command statement and automatically load the "Changeusb.ini" file you have built in the U disk by using the leader of the load command. With the command:
The load directory Changeusb.ini, where the directory represents the storage path of the Changeusb.ini file, which is stored directly on the U disk instead of in a folder on the U disk, so the command entered is: Load removable disk (G:) Changeusb.ini
Method two: Using the U parameter of the init command
1. Enter the WinPE system to open My computer, find the WinPE kernel configuration file Pecmd.ini, open it and in the init command plus u parameters;
2. After the execution of the Inti command, enter the following two lines of command arguments (the red word on the right is a comment, no input is required)
Team SUBJ%usb%|show r:1,u//delete original U disk letter and reassign the letter to U
Team ENVI $USB =u:|envi $USB 1=u://Reset two environment variables related to U disk letter
Smart you see comparison of the above two methods, may be compared to which one will be relatively simple, in fact, the two methods used by the same principle, but must be in the WinPE system can identify u disk in the case can use OH.