Skip to content

Instantly share code, notes, and snippets.

@paulczy
Forked from NickCraver/SSMS17and17-HiDPI.ps1
Created April 30, 2017 11:23
Show Gist options
  • Save paulczy/9bd4b19744b6f5dc0c85fc2d1803847b to your computer and use it in GitHub Desktop.
Save paulczy/9bd4b19744b6f5dc0c85fc2d1803847b to your computer and use it in GitHub Desktop.
PowerShell: SSMS 17 HiDPI Enable
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide" -Name PreferExternalManifest -Value 1 -Type DWord;
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"><asmv3:application><asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"><dpiAware>True</dpiAware></asmv3:windowsSettings></asmv3:application><dependency><dependentAssembly><assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /></dependentAssembly></dependency><dependency><dependentAssembly><assemblyIdentity type="win32" name="debuggerproxy.dll" processorArchitecture="X86" version="1.0.0.0"></assemblyIdentity></dependentAssembly></dependency></assembly>' | Out-File -FilePath "C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe.manifest" -Encoding UTF8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment