lakelesno.blogg.se

Ms settings display windows 10
Ms settings display windows 10








# Start-Process "$env:ProgramFiles\Internet Explorer\iexplore.exe" -NoNewWindow -Wait # $env:ProgramFiles = c:\program files (x86)

ms settings display windows 10

$WshShell = New-Object -com Wscript.Shell

ms settings display windows 10

Start-process "$env:windir\DesktopCmd64.exe" "save /f $env:userprofile\Desktop\DesktopIconLayout$a.dtr" Start-process "$env:windir\DesktopRestore64.exe" "/save /silent $env:userprofile\Desktop\DesktopIconLayout$a.dok" # if the app and / or settings windows are open the script will fail. ScreenCapture of the powershell script in action (1.22MB mp4)Ĭ:\Windows\System32\cmd.exe /c start /min "" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -Command "& "%userprofile%\desktop\1.ps1""Ĭ:\Windows\System32\cmd.exe /c start /min "" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -ExecutionPolicy Bypass -Command "& "%userprofile%\desktop\1.ps1"" # WINDOWS 10 64-BIT POWERSHELL 5 SCRIPT USING SENDKEYS TO CHANGE DISPLAY SCALE AND RESOLUTION, OPEN APP, AND RESTORE SCALE AND RESOLUTION WHEN APP CLOSES. WINDOWS 10 64-bit powershell 5 script using sendkeys to change display scale and resolution, open app, and restore scale and resolution when app closes. WITH MY COMMENTS ABOVE YOU COULD ALSO USE THIS POWERSHELL SCRIPT. If objWMIService.ExecQuery(strWMIQuery).Count > 0 then 64-bit command line version fails occasionally in Windows 10 64-bit? Put DesktopRestore64.exe somewhere in your PATH, add it to your PATH, or just put it in your windows folder.Ĭhange "PUT THE IMAGENAME OF YOUR APP HERE", "CHANGE THE FOLLOWING !\\" _ Save and restore desktop icon layout from the command line. Put DesktopCmd64.exe somewhere in your PATH, add it to your PATH, or just put it in your windows folder.ĭesktopRestore v1.6.3.031. Download, install, and learn how to use a command line desktop icon layout backup like:ĭesktopOK v4.24. ChangeDisplay.vbs), edit it, and run it.Ĭhanging the scaling and resolution will mess up your desktop icon layout.

ms settings display windows 10

No restart required.Ĭopy and paste the code into a new text document.

ms settings display windows 10

Windows 10 64-bit visual basic script using SendKeys to change display scale and resolution, open app, and restore scale and resolution when app closes. Here is a Windows 10 64-bit visual basic script and Powershell 5 script.










Ms settings display windows 10