This post covers automating the Netbook ‘Screen Hack’ using PowerShell. The screen hack enables Modern App (Metro App) to work on Netbooks with lower screen resolution by manipulating the registry key that handles screen resolution of the operating system.

This PowerShell script will actually work on any operating system with Metro, i.e. Windows 8, Windows 8.1 and Windows 10.

20141109 - ScreenHack

Below is the Script and a video of the process for visual learners.



The script in its entirety

#Screen Hack
#Hannel Hazeley
#Version 1.0

Set-ExecutionPolicy remotesigned -Force

#Backup current registry 
reg export HKLM\SYSTEM c:\RegBackup.reg /y

#Search for Registry key and update value
$keys = reg query "HKEY_LOCAL_MACHINE\SYSTEM\" /v Display1_DownScalingSupported /s | Findstr "HKEY_LOCAL_MACHINE\SYSTEM\"
foreach ($key in $keys)
#reg query $key /v Display1_DownScalingSupported
reg add $key /v Display1_DownScalingSupported /t REG_DWORD /d 1 /f
#reg query $key /v Display1_DownScalingSupported

#Rebooting Computer
Write-Host -ForegroundColor Red "The script will now Reboot PC, please save and close all your work."
#Write-Host -ForegroundColor Green "Done"
Shutdown -r -t 10 -c "Screen resolution Hack by Hannel"


One of numerous videos in my Two-Click (2C) series

2C YouTube Playlist:
Other 2C Article:
Other Windows 10 Article: