I recently needed to look at some .wims and I hate pasting the commands one by one so decided to update this for Win 10. Had a very good time figuring this out. All the things from Win 7/8 would not work to elevate. Try any dism command and it tell you need admin privileges. So I use nircmd.exe from Nirsoft.
Right now only 64 bit. It will be easy to change for 32 bit. Let me know if you need help doing that.
http://www.mediafire.com/file/8g6mozfe45a15ta/WIMrightclick__Install_Win10_64bit.zip
; 10/23/2016
; Added reg scripts for Windows 10 with Windows Assessment and Deployment Kit (Windows ADK) for Windows 10 installed for 64 bit
; Windows ADK for Windows 10, version 1607 or 1511
; Install with this command >> adksetup.exe /features OptionId.DeploymentTools /norestart /q /ceip off
; C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit is only 54MB doing this
; You need nircmd from Nirsoft http://www.nirsoft.net/utils/nircmd.html
; I copy nircmd.exe to C:\Windows