+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
Thin Client and Virtual Machines Thread, Virtualbox - Remove network access in Technical; I disable the VM selector completely, then create a new shortcut to a VM via vboxsdl. Steve...
  1. #16

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    I disable the VM selector completely, then create a new shortcut to a VM via vboxsdl.

    Steve

  2. #17

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,069
    Thank Post
    592
    Thanked 1,039 Times in 797 Posts
    Blog Entries
    15
    Rep Power
    469
    Could I please trouble you for the command line you use for that?

  3. #18

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by synaesthesia View Post
    Could I please trouble you for the command line you use for that?
    Which bit?

    Steve

  4. #19

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,069
    Thank Post
    592
    Thanked 1,039 Times in 797 Posts
    Blog Entries
    15
    Rep Power
    469
    Sorry, the vboxsdl bit. Using "vboxsdsl --startvm "c:\VM\programming.vbox" and getting various errors.

    Just finished setting up our VM, really pleased with it - just a "Lite" version of windows 7, Netbeans with Python support and notepad++ on an immutable (non-persistent) drive. Just doing the "getting the UI locked down" bit done now, or trying to!

  5. #20

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Don't need all the gubbins if it's in the normal folder that'as assigned to virtualbox.

    Ignore the extra rubbish, I've got it in an exe launcher rather than direct shortcut, but:

    Code:
    Shell("""C:\Program Files\Oracle\VirtualBox\vboxsdl.exe"" -vm ""Python Ubuntu""", vbHide)
    so:

    Code:
    "C:\Program Files\Oracle\VirtualBox\vboxsdl.exe" -vm "Python Ubuntu"
    Steve

  6. Thanks to Steve21 from:

    synaesthesia (12th July 2013)

  7. #21

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,069
    Thank Post
    592
    Thanked 1,039 Times in 797 Posts
    Blog Entries
    15
    Rep Power
    469
    Ours is now complete and I'm over the moon

    My startup shortcut for it is a batch file as follows, if anyone is interested:

    Code:
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" registervm "C:\VM\Programming\Programming.vbox"
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/SuppressMessages remindAboutAutoCapture,remindAboutMouseIntegrationOn,showRuntimeError.warning.HostAudioNotResponding,remindAboutGoingSeamless,remindAboutInputCapture,remindAboutGoingFullscreen,remindAboutMouseIntegrationOff,confirmGoingSeamless,confirmInputCapture,remindAboutPausedVMInput,confirmVMReset,confirmGoingFullscreen,remindAboutWrongColorDepth
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata global GUI/RestrictedGlobalSettingsPages General,Input,Update,Language,Display,Network,Extensions,Proxy
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/RestrictedRuntimeMenus Machine,View,Devices,Help,Debug
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/RestrictedStatusBarIndicators HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Features,Mouse,Keyboard
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/RestrictedCloseActions SaveState,PowerOff,Restore
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" startvm "C:\VM\Programming\Programming.vbox"
    In a nutshell, first command registers the virtual machine with the local install of virtual box.
    Second command suppresses all the warning messages (warnigns about colour depth, auto capture yadda yadda)
    Third hides all the global settings pages
    Fourth hides all the menus from the top bar
    Fifth hides the status bar icons
    Sixth removes any unwanted shutdown options (so the kids don't forcibly power it off - I know the drive is immutable but reduces risk and stops them saving/restoring snapshots)
    Last starts the VM

  8. Thanks to synaesthesia from:

    peterp (18th July 2013)

  9. #22
    gmj
    gmj is offline

    gmj's Avatar
    Join Date
    Mar 2009
    Posts
    289
    Thank Post
    98
    Thanked 49 Times in 22 Posts
    Rep Power
    157
    Hi All.

    On a RM CC4 network here, Packaged Virtual Box with the RM application wizard, and allocates out fine to my test workstation. However, the shortcut I'm allocating out is "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "C:\VM\XP VM.vbox" so that clickview clicked with will fire up the virtual machine. This works fine for an admin account, but fails under student and staff account, the cmd promt window pops up briefly and then closes. Have added the locations and files to Software Restriction Polices, but still no joy.

    Anyone got any ideas?

    Why oh why couldn'y Microsoft Virtual PC 2007 support USB drives? Would be sorted then and not have to go down this route....grr....

  10. #23

    Join Date
    May 2011
    Location
    United Kingdom
    Posts
    508
    Thank Post
    124
    Thanked 18 Times in 18 Posts
    Rep Power
    11
    Quote Originally Posted by gmj View Post
    Hi All.

    On a RM CC4 network here, Packaged Virtual Box with the RM application wizard, and allocates out fine to my test workstation.
    Hi

    When you made the package did you install virtual box and make the image then do the second scan with application wizard?

    Cheers

  11. #24

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,069
    Thank Post
    592
    Thanked 1,039 Times in 797 Posts
    Blog Entries
    15
    Rep Power
    469
    As a precautionary method with CC4 try another package but install the VM into the program files folder. CC4 can be picky - software restriction should sort it out but if it's in program files there's no excuse not to work if the package is OK.

  12. #25


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,065
    Thank Post
    232
    Thanked 2,717 Times in 2,005 Posts
    Rep Power
    795
    Quote Originally Posted by gmj View Post
    packaged Virtual Box with the RM application wizard
    When you run the main VirtualBox installer (VirtualBox-4.2.16-86992-Win.exe), it extracts an .msi and .cab to "%TEMP%\VirtualBox". I would use this instead of repackaging it.

    Quote Originally Posted by gmj View Post
    Anyone got any ideas?
    You could create an AutoIt script to launch VirtualBox with the correct parameters, compile it to an EXE and then create a shortcut to that e.g.

    Code:
    #NoTrayIcon
    $VBoxDir =  @ProgramFilesDir & "\Oracle\VirtualBox"
    $VBoxManage = $VBoxDir & "\VBoxManage.exe"
    $VM = EnvGet("SystemDrive") & "\VMs\XP.vbox"
    
    If FileExists($VM) Then
        Run($VBoxManage & ' startvm "' & $VM & '"', $VBoxDir, @SW_HIDE)
    Else
        MsgBox(4096, "VM", "Cannot find " & $VM, 60)
    EndIf
    Last edited by Arthur; 3rd August 2013 at 08:46 AM.

  13. #26
    gmj
    gmj is offline

    gmj's Avatar
    Join Date
    Mar 2009
    Posts
    289
    Thank Post
    98
    Thanked 49 Times in 22 Posts
    Rep Power
    157
    Thanks for all the advice people, will try what has been suggested .

  14. #27
    Divaldo's Avatar
    Join Date
    Feb 2008
    Location
    Leicestershire
    Posts
    81
    Thank Post
    25
    Thanked 4 Times in 4 Posts
    Rep Power
    14
    Are students granted permission to run batch files or launch command prompts?

  15. #28

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,069
    Thank Post
    592
    Thanked 1,039 Times in 797 Posts
    Blog Entries
    15
    Rep Power
    469
    Why not - in the VM, if there's no network access and immutable discs let them do what on earth they like. Gives them a far more "real world" feel than IDE's on locked down systems.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. 3Com wireless network access points?
    By tosca925 in forum Wireless Networks
    Replies: 12
    Last Post: 13th July 2010, 03:58 PM
  2. Replies: 16
    Last Post: 24th July 2009, 10:49 PM
  3. Network Access Control Solutions
    By Simcfc73 in forum Network and Classroom Management
    Replies: 5
    Last Post: 23rd October 2007, 01:37 PM
  4. MySQL Network access
    By _Bob_ in forum *nix
    Replies: 5
    Last Post: 6th April 2006, 01:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •