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 […]

Powershell – Checking for Pirated Windows and Office Licenses

Checking for Pirated Windows and Office Licensing with Powershell We just got a new non-profit client, and the old IT provider sold them hardware and charged for licenses, while using AutoKMS to falsely activate their Windows and Office licenses. Now I have to identify which machines are pirated and get new licenses purchased. The story of […]

ROM File Cleanup – Powershell – GoodMerge – NoIntro

ROM File Cleanup You just downloaded a massive ROM pack for emulation, could be NES, SNES, N64, Genesis, etc… In the pack you would expect the ~600 games that actually came out in stores. Instead you find 15,000 games containing every version and prototype cartridge imaginable from every corner of the world. Powershell can be the cure […]