adamedx / winbox

Chef recipe for developer workstation for Windows
39 stars 18 forks source link

Minor: Get-ChefDK fails if current drive is not writable #8

Open chefsalim opened 8 years ago

chefsalim commented 8 years ago

Noticed this during debugging. If install-workstation is called when local drive is not writable:, it fails with the following message: In this case, current drive is Z: which is not writable.

Cloning https://github.com/chef/pantry-chef-repo to C:\Users\salim\Documents\pantry-chef-repo ... Downloading ChefDK Get-ChefDK : System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() At C:\Users\salim\Documents\pantry-chef-repo\bin\pantry.ps1:80 char:3

PS Z:>