Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to (1) automatically launch a VM and (2) not have minimized on the taskbar - Windows 7

Posted on 2010-11-09
8
Medium Priority
?
376 Views
Last Modified: 2012-05-10
Hello all,

We are migrating our Windows Virtual Server 2005 R2 setup into Hyper-V using the same hardware. There is one particular VM that MUST be on-line at all times and therefore we have it setup on a W7 Desktop.

We want this VM to be loaded when the machines boots (if it get re-started by any reason) not being a deal breaker having to login for it, and most importantly we wonder if there is way not to see it minimized to avoid potential accidents (like closing it).

Are those 2 wishes possible using Virtual Machines in W7 Ultimate?

Thanks in advanced.
0
Comment
Question by:phermi
  • 4
  • 4
8 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 34102694
What virtualization platform are you using on Windows 7? VMware Workstation 7.x or something else?
0
 

Author Comment

by:phermi
ID: 34102944
W7 Virtual PC out-of-the-box
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34103184
Take a look at http://www.howtonetworking.com/Windows/autostartvpc.htm for how to automatically start a vm in Virtual PC. It involves creating a shortcut and putting it in the startup folder. I expect you could set the shortcut properties to start minimized - but I haven't tried it. Let me know how you come out.

Good Luck
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:phermi
ID: 34103206
So, there is no way not to "see" the VM windows minimized while runing?
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34103249
You could maybe try running it as a service
0
 

Author Comment

by:phermi
ID: 34106119
cn you provide steps to do that?
0
 
LVL 28

Accepted Solution

by:
bgoering earned 2000 total points
ID: 34108569
There are a couple of options to install an application as a service. You can get SrvAny from the Windows 2003 resource kit (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en), or possibly a slightly easier to use nssm (http://iain.cx/src/nssm/)

Look at the doc that comes with them. It is not all that much different than setting up the shortcut. Be sure to leave the option to Interact with desktop disabled, otherwise the user will be able to interact with the vm.

To be honest though - perhaps your best bet would be Virtual Server or the free VMware server for this purpose.
0
 

Author Closing Comment

by:phermi
ID: 34108945
Thanks!
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question