Fluxcored

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Stay mounted after reboot #1356
    Fluxcored
    Participant

    I 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 batch

    Quotes 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.

Viewing 1 post (of 1 total)