Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7595655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:43:30+00:00 2026-05-30T21:43:30+00:00

I need to force Xen virtual machine to run a program. Thus, I’m looking

  • 0

I need to force Xen virtual machine to run a program. Thus, I’m looking for a way to make a script, which could be executed on the host machine and make VM to run the program

Also, there’s a question – is it possible to automate configuring VMs to have them already got the executable I need (before starting the VM actually or, maybe, make it copy the executable just after start)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T21:43:31+00:00Added an answer on May 30, 2026 at 9:43 pm

    There’s quite a challenge to what you’re asking here, and I don’t think there’s the easy answer you were hoping for. You’ll need to use different techniques under different circumstances – in particular, whether you’re running Windows in your VMs, or a particular Linux distribution or something else, and in addition, are you running XenServer, or some Linux-distribution version of Xen?

    One technique is to modify the filesystem image of the VM prior to booting it. In that way, you can drop in a script into a Linux VM’s init scripts which will run on boot; on Windows (which I’m less familiar with, sorry) you could add a registry key and a program to execute on startup, if you can find the tools to modify the Windows filesystem from your Linux dom0. A bit tricky.

    Another technique is to present a virtual CD-Rom image to the VM, with an auto-run script. With modern OSs no longer just running whatever they find inserted, you will probably have to get the user to click it to run it, but depending on your situation that might be OK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WPF user control for which I need to force rendering in
I need to force my Java application to run with a single instance. I
I need to force any time related operations to GMT/UTC, regardless the timezone set
I am programming an iPhone app, and I need to force it to exit
There's autocomplete , but it doesn't force the selection of an item. I need
I need a generic Criterion which forces the result to zero matches. Something like
Need a way to allow sorting except for last item with in a list.
I have a client project where I need to force HTTPS for a certain
I have a multiple select, and I need to force the user to choose
I have an editable WPF ComboBox with TextSearchEnabled. I need to force the user's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.