PowerShell – Sandbox Testing App Attach Apps – No WVD Required

Use these steps to test your MSIX VHD, without having to use Windows Virtual Desktop. It’s a great way to make sure your MSIX package and MSIX VHD are working properly, and simulate the installation of an app attach application.   Microsoft Magic The magic behind app attach is a mounted VHD (Mount-Diskimage), a file Read More …

PowerShell – Remove Built-in Administrator Account

To delete the built-in Administrator account, this is the process: #1 Take ownership HKEY_LOCAL_MACHINE\SAM\SAM #2 Grant reg rights HKEY_LOCAL_MACHINE\SAM\SAM #3 Delete HKEY_LOCAL_MACHINE\SAM\SAM\Builtin\Account\Users\Names\Administrator #4 Remove user account from Local Users and Groups     Notes PropagationFlags Enum InheritanceFlags Enum AccessControlType Enum Remove-Item -Path “HKLM:\SAM\SAM\Domains\Account\Users\Names\Administrator” HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\Names\Administrator

Batch – Create PFX Certificate – Sign Code or Package; MSIX

:: MrNetTek :: https://eddiejackson.net/blog :: 9/16/2020 :: free for public use :: free to claim as your own @echo off cd “%~dp0” :: STEP 1 :: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86 makecert.exe ^ -n “CN=CodeSign” ^ -r ^ -pe ^ -a sha512 ^ -len 4096 ^ -cy authority ^ -sv CodeSign.pvk ^ CodeSign.cer :: STEP 2 Read More …