Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to attach vhd files automatically at Windows 7 startup? I'm imagine it will be like batch script or powershell script. I've tried this solution before,but still wont work. Any guess guys?

share|improve this question
    
what exactly is the problem with the solution from the referenced question? –  fretje Aug 24 '09 at 21:38
    
I dont know where or when I have to execute it. any ideas? –  Funky81 Aug 28 '09 at 20:12
    
The recommendation in the linked question was to create this script as .cmd file that gets included in the "StartUp" folder under your Start Menu. Alternatively, you could register it as a "Run" item in the registry: msdn.microsoft.com/en-us/library/aa376977(VS.85).aspx. –  Reuben Sep 8 '09 at 0:36
    
note that you must run the diskpart.cmd file "as administrator". –  user126525 Apr 4 '12 at 10:25

2 Answers 2

It is possible with a CMD\ Bat command and Powershell. Both can be confusing for people. I made a very easy slim program to resolve this. Take a look at it and send me some feedback on it. The function is there to attach them in Windows 7, Vista and Server 2008. Hopefully in the next release they will set a function in the Console to allow it to attach at startup like a simple check box. This is really needed when you are BaremMetal booting or using a VHD as backup. you can download it and use it freely @ bmvhdloader.com "Love the VHD's"

share|improve this answer

It is definitely possible, you can even boot from a vhd. Scott Hanselman blogged about it previously.

But I think the solution from your linked question should do just fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.