Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 7579

attach vhd access denied - but works in computer management

$
0
0

I'm running windows server 2008 r2 sp1. When I attach a VHD as read only via Computer Management. It works fine.

However when I do it via disk part, example:

select vdisk "vdisk location"
attach vdisk readonly

I get an access denied error.

Whats the difference between attaching it via computer management and attaching it via diskpart?

I'm trying to automate the process of attaching VHDs, hence why I was trying disk part. Would there be an alternative way?


Viewing all articles
Browse latest Browse all 7579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>