Skip to content

Instantly share code, notes, and snippets.

@Purp1eW0lf
Created March 15, 2023 20:01
Show Gist options
  • Save Purp1eW0lf/59de9a6ace3bb96246fcdf1e80345774 to your computer and use it in GitHub Desktop.
Save Purp1eW0lf/59de9a6ace3bb96246fcdf1e80345774 to your computer and use it in GitHub Desktop.
#run as Administrator, copy/paste the below
New-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Windows.IsoFile\shell\mount" -Name "ProgrammaticAccessOnly" -type string -verbose;
New-ItemProperty -Path "HKLM:\SOFTWARE\Classes\Windows.VhdFile\shell\mount" -Name "ProgrammaticAccessOnly" -type string -verbose
@cynlis90
Copy link

great script, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment