Content Type
Profiles
Forums
Events
Everything posted by mdes
-
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Hi Kamizoli, I would try start /wait "MapDrive or wathever" "C:\Install\MapDrive.cmd DEU %SystemDrive%\Temp >%SystemDrive%\Temp"because, in some case, a DOS box title is required with START. I hope this will solve your problem Michel. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Hi Aemetz, Sorry for the long delay to answer you, but the forum subscription does not seem to work I have no experience with this kind of installation (Win2K + WinXP) If at installation time, C: is the system partition, I think that creating a empty file DRIVE.F on the partition where WinXP has to be installed will solve the issue, but I am not sure this will solve the problem. Perhaps creating DRIVE-.F on the system partition, so MapDrive will not assign the lettre F:, then during the boot, Windows will perhaps take the letter F (which was not assigned by MapDrive) to assign your WinXP partition (so aiigning F: instead of J:). Yes, but nor the system partition, nor the partition with the page file cannot be reassign. You can run MapDrive in a normal DOS box. Booting on Win2K, you should be able to change the letter of your WinXP partition to F:; this is maybe THE solution...I hope to have wel understood and correctly reply to your questions,; in the opposite, ask again Michel. ps: MapDrive should be integrated in nLite as an addon; see htp://www.german-nlite.de for further informations. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Hi kamizoli, Could you run it as MapDrive.cmd DEU TEST LogPathand send me the resulting log file TMP_MAPDRIVE_date_time.LOG? (LogPath = C:\ or whatever) Michel -
Using folder, the selected folder should be ended with a "/". I had t edit "WUD.settings" file by changing [quote]<DownloadPath value="I:\WindowsUpdates" />[/quote]by [quote]<DownloadPath value="I:\WindowsUpdates\" />[/quote]
-
It could help a lot of non-English users if the page Windows XP updates for use with HFSLIP would contain an additional parameter: the Language IDs of the Hotfixes This could be done by replacing familyID= BY displaylang=<2_letters_language>&familyID= and ENU by <3_letters_language> ex: ...details.aspx?familyID=C717D943-7... replaced by ...details.aspx?displaylang=fr&familyID=C717D943-7...and ...d93b/ENU_Q832483_MDAC_x86.EXE... replaced by ...d93b/FRA_Q832483_MDAC_x86.EXE...
-
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
So, please post the corrected code -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
@ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION ECHO RESCAN >TMP_LISTVOL.TXT ECHO LIST VOLUME >>TMP_LISTVOL.TXT ECHO EXIT >>TMP_LISTVOL.TXT START "Listing volumes" /WAIT /MIN CMD /C "DISKPART /s TMP_LISTVOL.TXT | MORE | FINDSTR /R /C:"^ *Volume [0-9][0-9]*" >TMP_LISTVOL.LOG" DEL TMP_LISTVOL.TXT FOR /F "usebackq delims=:" %%V IN (TMP_LISTVOL.LOG) DO ( SET LINE=%%V SET VOLUME=!LINE:~2,9! SET TMP_OLD_LETTER=!LINE:~15,1! SET VOLTYPE=!LINE:~39,9! SET VOLINFO=!LINE:~71,8! SET VOLNAME=!LINE:~19,11! IF "!VOLTYPE!" == "REMOVABLE" ( ECHO SELECT !VOLUME! >TMP_TEST1VOL.TXT ECHO REMOVE NOERR ) ) ECHO EXIT >>TMP_TEST1VOL.TXT START "Deassign Removable Drives" /WAIT /MIN CMD /C "DISKPART /s TMP_TEST1VOL.TXT DEL >>TMP_TEST1VOL.TXTNote that some space could be inserted before REMOVABLE => " REMOVABLE" or " REMOVABLE" or ... Type in a DOX box: DISKPART LIST VOLUME EXITand see what to put... I've not tested it -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Did you try the last version (2005/11/04), I didn't deassign letters that don't need to be changed. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Yes, but I already added "/MIN" in the lastest version, so the DOS batch windows will be minimized: in case of problem, you will know where it occured!ps: I am also using CMDOW in my unattended installation, but not with MAPDRIVE.CMD! -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Oups Thanks, I just forgot to upload it -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
You're welcome Yes, as stated in the documentation which is at the .CMD beginning: :: Parameters: :: ---------- :: 1. Language ID (ENU, FRA, DEU,...). No default value, mandatory. :: 2. TEST to do everything except the drives de/re-assignment. The log file :: TMP_MAPDRIVE_date_time.LOG is created: you can display it to see the expected assignments. :: The environment variables TMP_VOLDESC- show the assignments to be done. :: 3. TempPath : Path where temporary files will be created. Default is current directory. :: Path could be enclosed in quotes and could terminated by a backslsh. :: This is the 2d parameter if the TEST is omitted as the 2d one.You can use %SYSTEMDRIVE%:\... ps: I jut downloaded a new version in the 1st post. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
New version (2005/10/28): DRIVE.?, DVD.? and CDR.? could be hidden. Try to keep the existing letters. Group deasignments and reassignments. See the first post of this thread to download it. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
All informations are in and all the characteristics of each drive is in the "readable" binary data "\DosDevices\...". But I would prefer to rewrite MAPDRIVE.CMD in a .VBS one to interpret them It's probably Unicode... -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
If there are no DVD.? on the system drive, then MAPDRIVE reassigns free letters to the DVD (same for CDR and HDD). In fact, currently, MAPDRIVE is assigning free letters (starting from the alphabet end) to drives that are not forced to be assigned a specific letter (via DRIVE.?, DVD.? and CDR.?). But you gave me a good idea: why do I reassign this kind of free letters instead of leaving the current letter if this one is not forced to be used? I will try to modify MAPDRIVE to do in such a way -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
The problem is coming from the fact that your DRIVE.? are Hidden. Here is a working version: please let me know if everithing is OK now MapDrive.cmd.txt -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Hi Tinnef, You should put the files DRIVE.x on the drives y if you want the drive y to be reassign to x. So, to reassign the drive E: to K:, you should create a file DRIVE.K in E:\ But, I see there is still an error in my script because of the "E: -> none" : I will correct it in a few hours. Could you send me the .log file after running MAPDRIVE.CMD with TEST as the 2d parameter to help me debugging. Thanks. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
New version: I left a bug in the last version (@drscouse: This is not for you, I gave you a bug-free command file) -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Here is a new version (see the first post of this thread for downloading): Many thanks to drscouse who helps me a lot to test this new version. Now the reassignments of multiple DVD/CD is fully working -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
[Deleted] -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Just try with a CD/DVD in all of your drives -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Before any further tests, reassign the unusable DVDRW by: DISKPART SELECT VOLUME 1 ASSIGN LETTER x EXITwhere "x" should be any letter. Then uppercase the drive letters by renaming all your "Drive.x" to "Drive.X" (same with the 2 DVD.x). I will correct this later. And before attempting reassigning really, call MAPDRIVE.CMD with a 2d parameter = to TEST, like in: MAPDRIVE.CMD ENU TEST. Latest, test it on your actual Windows (i.e. not during a new installation): this will bequicker to test. -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
Yes since: ...normally -
Reassigning drive letters automatically
mdes replied to mdes's topic in Unattended Windows 2000/XP/2003
You should call MAPDRIVE.CMD with at least one parameters as said in the script begining::: Parameters: :: ---------- :: 1. Language ID (ENU, FRA, DEU,...). No default value, mandatory. :: 2. TEST to do everything except the drives de/re-assignment. The log file :: TMP_MAPDRIVE.LOG is created: you can display it to see the expected assignments. :: The environment variables TMP_VOLDESC- show the assignments to be done. :: 3. TempPath : Path where temporary files will be created. Default is current directory. :: Path could be enclosed in quotes and could terminated by a backslsh. :: This is the 2d parameter if the 1st one (TEST) is omitted. Next to come