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 1100583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:54:12+00:00 2026-05-17T00:54:12+00:00

I have virtual machine that has windows 7 + visual studio 2010 setup, and

  • 0

I have virtual machine that has windows 7 + visual studio 2010 setup, and my plan is to test some VS SDK development. Now I want to automate following tasks…

  1. Detach existing VHD
  2. Delete VHD
  3. Create a new Differencing VHD with base VHD as already good setup
  4. Attach it to the VM
  5. Start VM

I tried to look for any OCX or COM control to do these tasks automatically but no luck, I didn’t find any COM library to do this.

However, if I can only delete and recreate a differencing VHD that also should be fine…, I know I can write to batch file to copy a backup of new VHD and do all these kinds of things, but I am looking for much more sophesticated solution where I can program in scripts and do more with it.

  • 1 1 Answer
  • 3 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-17T00:54:13+00:00Added an answer on May 17, 2026 at 12:54 am

    There’s an extensive automation interface for Virtual Server, but not for Virtual PC. I don’t have it installed on my machine to help you find it. But you can probably find it yourself. Fire up regedit.exe and navigate through HKCR. There should be a ProgId named some similar to “VirtualMachine.Application”. Note the CLSID guid. Navigate to HKCR\CLSID\{guid} and note the InProcServer32 key value. That should be the DLL that you can browse to in the Browse tab of the Add Reference dialog.

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

Sidebar

Related Questions

I have a server that has several virtual machines running on it. I'm trying
I have a virtual machine running windows xp inside a vmware instance. How do
I have a virtual machine running Windows XP SP3 32-bit. On this machine I
I have a virtual machine running windows 2003 server. It is on a separate
I have a Windows Azure Virtual Machine. I am able to view my ASP.Net
I have Test controller and Test agent installed on a virtual machine VM1. Test
For decades, X11 has provided the possibility to have many virtual desktops that can
I am running TeamCity on a virtual machine. I have installed the new Visual
I have an app that I wrote using C# .NET 4.0 in Visual Studio
I'm trying to distribute a small windows application I made in Visual Studio 2010

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.