Task Scheduler – Mount VHD and Mark Online Read/Write Mode – Powershell

Some helpful code. I needed to mount a VHDX on System Startup with a Scheduled Task, and have it automatically mount the drive into a writable state, since by default,  Mount-VHD mounts in read-only mode, and with disk status offline. Save the code into a .PS1 file, call it upon system startup. Code below. #######Mount […]

Crypto Ransomware Prevention – File Server Resource Manager – PowerShell

After spending the last five hours coding like crazy, I’ve got a deployable, reliable, persistent solution. This is one of many Crypto Ransomware prevention strategies. Others are locking down the AppData folder, which could easily break some programs, using AppLocker (Windows Enterprise only), or in this case, protecting file-shares. This strategy — is the file-share […]