Jump to content











Photo
* * * * * 3 votes

Virtual Machine USB Boot

boot usb machine virtual

  • Please log in to reply
176 replies to this topic

#126 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 29 December 2013 - 09:35 PM

New version: 1.35 final

 

Changes from 1.35 Beta 2: small optimizations.

 

Download from here.



#127 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 07 January 2014 - 02:41 AM

Well, as some of you may have noticed, in the last few days this topic was locked and I wasn't online.
But before that I was the only one writing here in this topic lately so I guess it wasn't a big problem...
Another reason is: in the latest VMUB version the VBoxManage.exe job errors are rarely seen now (on my computer are 0% in XP/7/8.1, admin or normal user). The only condition is to be PROPERLY used.
I'm sorry Steve, but your video tutorial for VMUB is now outdated. If you can't make a new one I will try to do it. But it will be with no sound because: my spoken english is terrible + for medical reasons my voice is not so good lately + my microphone is low quality.
But it is necessary because the users will think those VBoxManage job errors are still common in VMUB...

For now I will lock the topic again and I will stop improving VMUB. But I will come back sometimes to adapt it to the new VBox/QEMU versions and/or to fix serious bugs.

Thank you those who helped making VMUB better, especially to Steve.

Bye everybody.



#128 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 07 January 2014 - 09:31 AM

I have added a Note to my YouTube video now. Thanks for all your hard work on VMUB, it is a great utility and is so useful :clap:



#129 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 16 May 2014 - 10:38 PM

New version: 1.37 final

Changes from 1.35:

It was adapted to the new VirtualBox 4.3.12 version. It seems they fixed the problem with the VirtualBox COM server (VBoxSVC.exe). So a new VBoxSVC session can be started without waiting for the previous to close.
Also, they changed the environment variable "VBOX_INSTALL_PATH" to "VBOX_MSI_INSTALL_PATH". VMUB checks now for both when it starts.

Download from here.

LE: source code removed, you can find newer version in the next posts.



#130 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 16 May 2014 - 10:45 PM

The Setup version says it;s 1.35 when I run it???



#131 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 16 May 2014 - 11:21 PM

Sorry, wrong file, corrected. Thank you.

It's 1 am, half asleep  :sleeping:


  • steve6375 likes this

#132 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 09 June 2014 - 05:11 PM

New version: 1.4

 

What's changed:

1. The state of the drives (plugged/unplugged/mounted/unmounted) is now constantly monitored and displayed in each entry (the drive column). This can be done also manually by choosing Refresh in the context menu or by pressing F5.
2. Added an option to list only USB drives or to list all drives.
3. It detects now the drive ID change inside the VM and automatically updates its entry.
4. Added option to set the list font.

 

Download from here

 

Edit: attachment removed, you can find the sources in the download section.


  • steve6375 likes this

#133 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 25 June 2014 - 10:00 AM

New version: 1.41

Changes:

The features implemented in the previous version were improved a bit. For example the drive detection is now faster and more accurate.
Added an option to set if pressing the Escape key in the main window will close the application (default on).
And a lot of small tweaks...

 

Download from here



#134 steve6375

steve6375

    Platinum Member

  • Developer
  • 7078 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 25 June 2014 - 10:28 AM

Thanks! Will test soon (sorry for not responding before).

 

P.S. When you run the Setup installer, after install it tries to run the app and under Win8 (+UAC) gives an error due to no admin rights which may be disconcerting to some users. Can you make it run with Admin elevation at end of install?

Might be good to add a post install Info window to tell the user it must be run with Admin rights.

If you download the easy2boot MPI toolPack you can see VBS code to create Desktop shortcuts with Admin rights if the installer cannot do it.



#135 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 25 June 2014 - 12:32 PM

It doesn't seem Inno setup can create such shortcut or modify the exe properties directly (using its commands/functions).
But it can be done indirectly by adding this to the VMUB Inno script:

[Registry]
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\"; ValueType: String; ValueName: "{app}\{#SetupSetting("AppName")}.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.0

However the "Launch Virtual Machine USB Boot" option can start VMUB as admin only if the setup exe file was started as admin.
So far I haven't found an workaround for this.



#136 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 25 June 2014 - 02:52 PM

Found a better way.
I included this manifest into the exe file:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.1.1.1"
processorArchitecture="X86"
name="Virtual_Machine_USB_Boot.exe"
type="win32"/>
<description>elevate execution level</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

This way it will start the exe as admin no matter where you move it.
On my computer works fine.

However the problem with "Launch Virtual Machine USB Boot" is still unsolved.

Later edit: links removed, you can find a better version in the next posts



#137 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 27 June 2014 - 12:47 PM

There is a computer application which can create some special shortcuts.
With such shortcuts you can open an application as admin but without the UAC prompt (even if UAC is on).
You can find it here http://winaero.com/c...omment.news.152
It's called "elevated shortcut".

Basically it will create a scheduled task (with "run as admin") and it will start it every time you use the shortcut.
It's the only way to avoid that UAC prompt without deactivating the UAC.
The downsides are:
1. it will start the application a little slower than usual;
2. it will not be focused.
3. the scheduled task needs to be changed every time you move the exe file in a different folder.



#138 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 06 July 2014 - 01:39 PM

New version: 1.42 RC1.

Improvements from 1.41:
1. Drag'n'drop implemented in the main window, Options and the Add/Edit window. Unfortunately, when UAC is on, the application from where you drag the file/volume/drive needs to be started as administrator too (Windows limitation).
2. In Windows 7/8/8.1 you won't have to set it to "Run as administrator" because it will start as administrator by default.
3. Many small tweaks to the code and to the interface.

Later edit: links removed, you can find a better version in the next posts



#139 smersh2

smersh2
  • Members
  • 2 posts
  •  
    Ukraine

Posted 06 July 2014 - 08:29 PM

When trying to download from page http://reboot.pro/fi...chine-usb-boot/ getting error

Sorry, we couldn't find that!

#140 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 06 July 2014 - 08:36 PM

http://reboot.pro/to...ip/#entry185468

 

That's why I released 1.42 RC1 in my previous post.



#141 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 07 July 2014 - 03:40 PM

New version: 1.42 final

Improvements from 1.41:
1. Drag'n'drop implemented in the main window, Options and the Add/Edit window. Small problem: when UAC is on, the application from where you drag the file/volume/drive needs to be started as administrator too (Windows limitation).
2. In Windows 7/8/8.1 you won't have to set it to "Run as administrator" because it will start as an administrator by default.
3. Many small tweaks to the code and to the interface.

Download from here


  • steve6375 likes this

#142 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 01 September 2014 - 04:03 PM

New version: 1.43

 

What's changed:

 

1. The USB stick/flash/card could not be removed while VMUB was started. Fixed.
2. The progressbar shown when waiting is now filling a little smoother.
3. In some rare situations it was waiting for VBox Com Server to close even if it was not necessary for that VBox version. Fixed.

Download from here


  • steve6375 likes this

#143 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 16 November 2014 - 12:07 PM

New version: 1.44

 

What's changed:

 

Better adaptation to the latest VirtualBox version.

 

Download from here



#144 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 22 November 2014 - 05:25 AM

Strange, the new VirtualBox version (4.3.20, released yesterday), fails to start any VM in my Windows XP SP3.

Clipboard02.png Clipboard03.png

However, in Windows 7 x64, it loads fine any VM.

Can anyone else confirm this...?

 

 

Later edit: seems this problem appears when using some security solutions.

https://forums.virtu...php?f=6&t=64777

https://forums.virtu...php?f=6&t=64111

For now I downgraded to 4.3.18 and I don't see errors anymore. 



#145 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 28 November 2014 - 05:25 PM

New version: 1.5 Beta 1

What's changed:

1. Added support for multiple translations.
The language files can be stored in a Languages folder near the exe file (for the portable version), in Application Data folder for the installed version or in the resources of the exe file.
They are in fact XML files and can be edited using any XML editor.
If you want to help by translating VMUB into your language you can use the english.lng file as template. Just rename the file and translate only the text values (not the names).
2. Some of the resources from the exe file could of been accessed only by OSs with a few codepages. Now they can be accessed by OSs with any codepage.
3. The exe file size was reduced by compressing the large icons.
4. Few small tweaks and optimizations.

 

LE: attached files removed, newer version in the next posts.



#146 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 01 December 2014 - 11:21 AM

New version: 1.5 Beta 2

What's changed: solved small bugs to the language code.
 

LE: attached files removed, you can find newer versions in the next posts.



#147 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 09 December 2014 - 03:59 AM

New version: 1.5 final

 

Changes from 1.5 Beta 2: the language code is now much stable and it requires less size in the exe file.

 

Download from here



#148 Blackcrack

Blackcrack

    Frequent Member

  • Advanced user
  • 412 posts
  •  
    Germany

Posted 05 January 2015 - 06:54 AM

Hi DavidB,

 

why upload you the sources not on GitHub ?

 

best regards

Blacky



#149 p060477

p060477
  • Members
  • 1 posts
  •  
    Italy

Posted 07 January 2015 - 05:50 PM

Hi David!

 

first so many thanks for yr tool!

 

apologize my very poor level and skill..

 

i got this error:

 

http://postimg.org/image/6jdmjvh6d/

 

i use yr 1.5 zip portable vers

 

and the -portable vers- of virtualbox 4.3.20-96997 last vers

 

http://postimg.org/image/r8xpeaxi3/

 

i got the same error trying with the 1st or the second virtual machine listed in my a/m screenshoot

 

where am iwrong..??

 

i've understood that yr tool was usable also with virtualbox -portable-..am i wrong..??

 

thanks so much again for yr kind patience!!

 

cheers! :)

 

PS..: i put a lot of smoke on my head..apologize me..now,only now, i've read that yr tool works ONLY

        with the -installed- virtualbox...

 

        i've a -portable- vers dl from vbox.me......

        so there is really NO WAY to use yr tool and able to add an usb drive to my VM..??..

 

here is my vers.:

http://www.vbox.me/

 

in a yr post you wrote..:

"But I'm willing to give it a try...

Just send me a link to your version so I can test it and make the appropriate modifications to VMUB (if necessary)..."..

 

 

   apologize me again and forever!!

 

            thanks so much for yr patience!!


Edited by p060477, 07 January 2015 - 06:14 PM.


#150 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 26 February 2015 - 08:09 AM

New version: 1.51 Beta 1

Changes:

1. The scan for (USB) disks is faster.
2. In the Add/Edit window the information about found disks is shown on columns (name/size/volume letter(s)).
3. Some small improvements to the language code.
4. Added german translation (lng file) sent by Blackcrack. For now is in the Languages folder near the exe (portable) file but in the final version all the lng files will be added in the exe file resources.
 

LE: download links removed, you can find a better version in the next posts.







Also tagged with one or more of these keywords: boot, usb, machine, virtual

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users