Sysprogs forums › Forums › WinCDEmu › Stay mounted after reboot
- This topic has 5 replies, 3 voices, and was last updated 14 years, 4 months ago by Fluxcored.
-
AuthorPosts
-
March 27, 2010 at 20:54 #175AnonymousParticipant
Hi,
First off, thanks for this amazing product.Quick and simple question with hopefully an equally quick and simple response:
Is there a way I can keep images mounted after a reboot? I’m running WXP SP3 and each time after a reboot, the mounted drives disappear from ‘my computer’.
Thank you for your time
March 30, 2010 at 14:29 #1352AnonymousParticipantAnyone?
April 3, 2010 at 11:53 #1353AnonymousParticipantGuess not 🙁
April 3, 2010 at 21:11 #1354danielkzaParticipantI think you could probably work around this.
1) Replace the file association with one running a custom script that would save the mounted ISO to the registry, and call the original executable afterwards.
2) Run another script on logon that loads the previously saved ISO list.In fact, it would be better if it was included in WinCDEmu itself: I’ll what I can do about it (isn’t free software great?) soon.
April 3, 2010 at 22:25 #1355AnonymousParticipant@danielkza wrote:
I think you could probably work around this.
1) Replace the file association with one running a custom script that would save the mounted ISO to the registry, and call the original executable afterwards.
2) Run another script on logon that loads the previously saved ISO list.In fact, it would be better if it was included in WinCDEmu itself: I’ll what I can do about it (isn’t free software great?) soon.
I’m not knowledgeable enough to create a script, but I appreciate your response and I’m glad to hear you’re going to look into it 🙂
May 29, 2010 at 07:15 #1356FluxcoredParticipantI do following to automatically mount images at specific user logon with WinCDEmu 3.3-1 and Windows 7 x86. For x64 installations just use the appropriate *64.exe files in place of the *.exe files mentioned:
0. Install some version of WinCDEMu which includes the UAC toggle and the /wait CLI argument.
1. Choose “WinCDEmu Settings” from the WinCDEmu Start Menu Program Group. Otherwise run vmnt.exe from the folder where you installed WinCDEmu.
2. Uncheck the box “Require administrative rights (UAC) to mount an image”.
3. Logon as the specific user.
4. Create batchmnt.bat in a text editor and save it (see below).
5. Navigate the Start Menu to All ProgramsStartup.
6. Right click Startup and choose Open.
7. Copy batchmnt.bat into the All ProgramsStartup directory.
8. Log out.(Alternate Method)
5. Navigate your registry to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun.
6. Add a new String Value named “batchmnt” and modify it’s value to be the full path to batchmnt.bat including filename. Double quotes surrounding the value shouldn’t be necessary on newer Windows OS, but everyone else still uses them here…
7. Log out.The next time that specific user logs in they will have the images mounted by WinCDEmu.
Example of batchmnt.bat:
:: Start batch
“C:Program FilesWinCDEmubatchmnt.exe” /unmountall /wait
“C:Program FilesWinCDEmubatchmnt.exe” “C:Some FolderAnother Folderfoo.iso” M /wait
“C:Program FilesWinCDEmubatchmnt.exe” “C:Some FolderAnother Folderbar.iso” N /wait
“C:Program FilesWinCDEmubatchmnt.exe” “C:Some FolderAnother Folderfoobar.iso” O /wait
:: End batchQuotes are required for any path with white space within the batchmnt.bat file. /wait is required to ensure that the specified drive letter is properly assigned.
-
AuthorPosts
- You must be logged in to reply to this topic.