// archives

Archive for March, 2014

[WinPE] Autorun.dll is corrupt

When attempting to run setup.exe from Windows PE, you may get this error message The file ‘autorun.dll’ could not be loaded or is corrupt. Setup cannot continue. This will happen if you install the WinPE-Setup package without installing either the WinPE-Setup-Client package or the WinPE-Setup-Server package.  

Working with WIM files

Here are some of the dism commands I use most frequently. Mount a WIM file dism /mount-wim /wimfile:”D:\path\to\wim\file” /index:1 /mountdir:D:\mount Dismount a WIM file with commit dism /unmount-win /mountdir:D:\mount /commit Dismount a WIM file with discard dism /unmount-win /mountdir:D:\mount /discard Add a package to a WIM dism /Image:D:\mount /Add-Package /PackagePath:”C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment […]